Add isort pre-commit hook
Sort import statement in python files See https://github.com/PyCQA/isort
This commit is contained in:
parent
b75d9e5c59
commit
01fbd1e8b9
75 changed files with 282 additions and 232 deletions
|
@ -1,4 +1,5 @@
|
|||
import os
|
||||
|
||||
from configobj import ConfigObj
|
||||
from kombu import Exchange, Queue
|
||||
|
||||
|
|
|
@ -2,21 +2,21 @@ from future.standard_library import install_aliases
|
|||
|
||||
install_aliases()
|
||||
|
||||
import os
|
||||
import json
|
||||
import requests
|
||||
import cgi
|
||||
import json
|
||||
import os
|
||||
import posixpath
|
||||
import shutil
|
||||
import tempfile
|
||||
import traceback
|
||||
import mutagen
|
||||
from io import StringIO
|
||||
from celery import Celery
|
||||
from celery.utils.log import get_task_logger
|
||||
from contextlib import closing
|
||||
from io import StringIO
|
||||
from urllib.parse import urlsplit
|
||||
|
||||
import mutagen
|
||||
import requests
|
||||
from celery import Celery
|
||||
from celery.utils.log import get_task_logger
|
||||
|
||||
celery = Celery()
|
||||
logger = get_task_logger(__name__)
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
from pathlib import Path
|
||||
from setuptools import setup
|
||||
from subprocess import call
|
||||
import os
|
||||
import sys
|
||||
from pathlib import Path
|
||||
from subprocess import call
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
# Change directory since setuptools uses relative paths
|
||||
script_path = os.path.dirname(os.path.realpath(__file__))
|
||||
|
|
|
@ -2,15 +2,16 @@
|
|||
"""
|
||||
import logging
|
||||
import logging.handlers
|
||||
import sys
|
||||
import signal
|
||||
import sys
|
||||
import traceback
|
||||
from . import config_file
|
||||
from functools import partial
|
||||
|
||||
from . import config_file
|
||||
from .message_listener import MessageListener
|
||||
from .metadata_analyzer import MetadataAnalyzer
|
||||
from .replaygain_analyzer import ReplayGainAnalyzer
|
||||
from .status_reporter import StatusReporter
|
||||
from .message_listener import MessageListener
|
||||
|
||||
|
||||
class AirtimeAnalyzerServer:
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
""" Analyzes and imports an audio file into the Airtime library.
|
||||
"""
|
||||
import logging
|
||||
import threading
|
||||
import multiprocessing
|
||||
from queue import Queue
|
||||
import configparser
|
||||
from .metadata_analyzer import MetadataAnalyzer
|
||||
from .filemover_analyzer import FileMoverAnalyzer
|
||||
import logging
|
||||
import multiprocessing
|
||||
import threading
|
||||
from queue import Queue
|
||||
|
||||
from .cuepoint_analyzer import CuePointAnalyzer
|
||||
from .replaygain_analyzer import ReplayGainAnalyzer
|
||||
from .filemover_analyzer import FileMoverAnalyzer
|
||||
from .metadata_analyzer import MetadataAnalyzer
|
||||
from .playability_analyzer import *
|
||||
from .replaygain_analyzer import ReplayGainAnalyzer
|
||||
|
||||
|
||||
class AnalyzerPipeline:
|
||||
|
|
|
@ -2,10 +2,11 @@
|
|||
Main CLI entrypoint for the libretime-analyzer app.
|
||||
"""
|
||||
|
||||
import daemon
|
||||
import argparse
|
||||
import os
|
||||
|
||||
import airtime_analyzer.airtime_analyzer as aa
|
||||
import daemon
|
||||
|
||||
VERSION = "1.0"
|
||||
LIBRETIME_CONF_DIR = os.getenv("LIBRETIME_CONF_DIR", "/etc/airtime")
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
import subprocess
|
||||
import logging
|
||||
import traceback
|
||||
import json
|
||||
import datetime
|
||||
import json
|
||||
import logging
|
||||
import subprocess
|
||||
import traceback
|
||||
|
||||
from .analyzer import Analyzer
|
||||
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
import errno
|
||||
import logging
|
||||
import os
|
||||
import time
|
||||
import shutil
|
||||
import os, errno
|
||||
import time
|
||||
import uuid
|
||||
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
import sys
|
||||
import pika
|
||||
import json
|
||||
import time
|
||||
import select
|
||||
import signal
|
||||
import logging
|
||||
import multiprocessing
|
||||
import queue
|
||||
import select
|
||||
import signal
|
||||
import sys
|
||||
import time
|
||||
|
||||
import pika
|
||||
|
||||
from .analyzer_pipeline import AnalyzerPipeline
|
||||
from .status_reporter import StatusReporter
|
||||
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
import time
|
||||
import datetime
|
||||
import mutagen
|
||||
import magic
|
||||
import wave
|
||||
import hashlib
|
||||
import logging
|
||||
import os
|
||||
import hashlib
|
||||
import time
|
||||
import wave
|
||||
|
||||
import magic
|
||||
import mutagen
|
||||
|
||||
from .analyzer import Analyzer
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
__author__ = "asantoni"
|
||||
|
||||
import subprocess
|
||||
import logging
|
||||
import subprocess
|
||||
|
||||
from .analyzer import Analyzer
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
import subprocess
|
||||
import logging
|
||||
from .analyzer import Analyzer
|
||||
import re
|
||||
import subprocess
|
||||
|
||||
from .analyzer import Analyzer
|
||||
|
||||
|
||||
class ReplayGainAnalyzer(Analyzer):
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
import requests
|
||||
import collections
|
||||
import json
|
||||
import logging
|
||||
import collections
|
||||
import pickle
|
||||
import queue
|
||||
import threading
|
||||
import time
|
||||
import traceback
|
||||
import pickle
|
||||
import threading
|
||||
from urllib.parse import urlparse
|
||||
|
||||
import requests
|
||||
|
||||
# Disable urllib3 warnings because these can cause a rare deadlock due to Python 2's crappy internal non-reentrant locking
|
||||
# around POSIX stuff. See SAAS-714. The hasattr() is for compatibility with older versions of requests.
|
||||
if hasattr(requests, "packages"):
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
from setuptools import setup
|
||||
import os
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
# Change directory since setuptools uses relative paths
|
||||
os.chdir(os.path.dirname(os.path.realpath(__file__)))
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from nose.tools import *
|
||||
import airtime_analyzer
|
||||
from nose.tools import *
|
||||
|
||||
|
||||
def setup():
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
from nose.tools import *
|
||||
import datetime
|
||||
import multiprocessing
|
||||
import os
|
||||
import shutil
|
||||
import multiprocessing
|
||||
from queue import Queue
|
||||
import datetime
|
||||
from airtime_analyzer.analyzer_pipeline import AnalyzerPipeline
|
||||
|
||||
from airtime_analyzer import config_file
|
||||
from airtime_analyzer.analyzer_pipeline import AnalyzerPipeline
|
||||
from nose.tools import *
|
||||
|
||||
DEFAULT_AUDIO_FILE = u"tests/test_data/44100Hz-16bit-mono.mp3"
|
||||
DEFAULT_IMPORT_DEST = u"Test Artist/Test Album/44100Hz-16bit-mono.mp3"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from nose.tools import *
|
||||
from airtime_analyzer.analyzer import Analyzer
|
||||
from nose.tools import *
|
||||
|
||||
|
||||
def setup():
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from nose.tools import *
|
||||
from airtime_analyzer.cuepoint_analyzer import CuePointAnalyzer
|
||||
from nose.tools import *
|
||||
|
||||
|
||||
def check_default_metadata(metadata):
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
from nose.tools import *
|
||||
import multiprocessing
|
||||
import os
|
||||
import shutil
|
||||
import multiprocessing
|
||||
import time
|
||||
import mock
|
||||
from pprint import pprint
|
||||
|
||||
import mock
|
||||
from airtime_analyzer.filemover_analyzer import FileMoverAnalyzer
|
||||
from nose.tools import *
|
||||
|
||||
DEFAULT_AUDIO_FILE = u"tests/test_data/44100Hz-16bit-mono.mp3"
|
||||
DEFAULT_IMPORT_DEST = u"Test Artist/Test Album/44100Hz-16bit-mono.mp3"
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
from __future__ import print_function
|
||||
|
||||
import datetime
|
||||
import mutagen
|
||||
|
||||
import mock
|
||||
from nose.tools import *
|
||||
import mutagen
|
||||
from airtime_analyzer.metadata_analyzer import MetadataAnalyzer
|
||||
from nose.tools import *
|
||||
|
||||
|
||||
def setup():
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from nose.tools import *
|
||||
from airtime_analyzer.playability_analyzer import *
|
||||
from nose.tools import *
|
||||
|
||||
|
||||
def check_default_metadata(metadata):
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
from __future__ import print_function
|
||||
from nose.tools import *
|
||||
|
||||
from airtime_analyzer.replaygain_analyzer import ReplayGainAnalyzer
|
||||
from nose.tools import *
|
||||
|
||||
|
||||
def check_default_metadata(metadata):
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
import json
|
||||
import datetime
|
||||
import json
|
||||
import logging
|
||||
import socket
|
||||
|
||||
import requests
|
||||
from requests.auth import AuthBase
|
||||
|
||||
|
|
|
@ -6,17 +6,18 @@
|
|||
# probably want to create a script on your server side to automatically
|
||||
# schedule a playlist one minute from the current time.
|
||||
###############################################################################
|
||||
import base64
|
||||
import json
|
||||
import logging
|
||||
import sys
|
||||
import time
|
||||
import urllib.parse
|
||||
import requests
|
||||
import logging
|
||||
import json
|
||||
import base64
|
||||
import traceback
|
||||
import urllib.parse
|
||||
|
||||
import requests
|
||||
from configobj import ConfigObj
|
||||
|
||||
from .utils import RequestProvider, ApiRequest, get_protocol
|
||||
from .utils import ApiRequest, RequestProvider, get_protocol
|
||||
|
||||
AIRTIME_API_VERSION = "1.1"
|
||||
|
||||
|
|
|
@ -7,10 +7,13 @@
|
|||
# schedule a playlist one minute from the current time.
|
||||
###############################################################################
|
||||
import datetime
|
||||
from dateutil.parser import isoparse
|
||||
import logging
|
||||
import sys
|
||||
|
||||
from configobj import ConfigObj
|
||||
from .utils import RequestProvider, time_in_seconds, time_in_milliseconds, fromisoformat
|
||||
from dateutil.parser import isoparse
|
||||
|
||||
from .utils import RequestProvider, fromisoformat, time_in_milliseconds, time_in_seconds
|
||||
|
||||
LIBRETIME_API_VERSION = "2.0"
|
||||
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
from __future__ import print_function
|
||||
from setuptools import setup
|
||||
from subprocess import call
|
||||
import sys
|
||||
|
||||
import os
|
||||
import sys
|
||||
from subprocess import call
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
script_path = os.path.dirname(os.path.realpath(__file__))
|
||||
print(script_path)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import unittest
|
||||
from api_clients.utils import ApcUrl, UrlBadParam, IncompleteUrl
|
||||
|
||||
from api_clients.utils import ApcUrl, IncompleteUrl, UrlBadParam
|
||||
|
||||
|
||||
class TestApcUrl(unittest.TestCase):
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
import unittest
|
||||
import json
|
||||
from mock import MagicMock, patch
|
||||
import unittest
|
||||
|
||||
from api_clients.utils import ApcUrl, ApiRequest
|
||||
from mock import MagicMock, patch
|
||||
|
||||
|
||||
class ResponseInfo:
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
import unittest
|
||||
import json
|
||||
from mock import patch, MagicMock
|
||||
from configobj import ConfigObj
|
||||
from api_clients.version1 import api_config
|
||||
import unittest
|
||||
|
||||
from api_clients.utils import RequestProvider
|
||||
from api_clients.version1 import api_config
|
||||
from configobj import ConfigObj
|
||||
from mock import MagicMock, patch
|
||||
|
||||
|
||||
class TestRequestProvider(unittest.TestCase):
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import datetime
|
||||
import configparser
|
||||
import datetime
|
||||
import unittest
|
||||
|
||||
from api_clients import utils
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import shutil
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
if os.geteuid() != 0:
|
||||
|
|
|
@ -17,18 +17,18 @@ Main case:
|
|||
|
||||
"""
|
||||
|
||||
from optparse import OptionParser
|
||||
import sys
|
||||
import logging.config
|
||||
import json
|
||||
|
||||
# additional modules (should be checked)
|
||||
from configobj import ConfigObj
|
||||
import logging.config
|
||||
import sys
|
||||
from optparse import OptionParser
|
||||
|
||||
# custom imports
|
||||
# from util import *
|
||||
from api_clients import version1 as api_client
|
||||
|
||||
# additional modules (should be checked)
|
||||
from configobj import ConfigObj
|
||||
|
||||
LOG_LEVEL = logging.INFO
|
||||
LOG_PATH = "/var/log/airtime/pypo/notify.log"
|
||||
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
""" Runs Airtime liquidsoap
|
||||
"""
|
||||
import argparse
|
||||
import os
|
||||
from . import generate_liquidsoap_cfg
|
||||
import logging
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
from pypo import pure
|
||||
|
||||
from . import generate_liquidsoap_cfg
|
||||
|
||||
PYPO_HOME = "/var/tmp/airtime/pypo/"
|
||||
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ import os
|
|||
import sys
|
||||
import time
|
||||
import traceback
|
||||
|
||||
from api_clients.version1 import AirtimeApiClient
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
from api_clients import version1 as api_client
|
||||
import sys
|
||||
|
||||
from api_clients import version1 as api_client
|
||||
|
||||
api_clients = api_client.AirtimeApiClient()
|
||||
|
||||
dj_type = sys.argv[1]
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
from configobj import ConfigObj
|
||||
import telnetlib
|
||||
import sys
|
||||
import telnetlib
|
||||
|
||||
from configobj import ConfigObj
|
||||
|
||||
try:
|
||||
config = ConfigObj("/etc/airtime/airtime.conf")
|
||||
|
|
|
@ -3,6 +3,7 @@ Python part of radio playout (pypo)
|
|||
"""
|
||||
|
||||
|
||||
import importlib
|
||||
import locale
|
||||
import logging
|
||||
import os
|
||||
|
@ -11,19 +12,20 @@ import signal
|
|||
import sys
|
||||
import telnetlib
|
||||
import time
|
||||
from datetime import datetime
|
||||
from optparse import OptionParser
|
||||
|
||||
from api_clients import version1 as api_client
|
||||
from configobj import ConfigObj
|
||||
from datetime import datetime
|
||||
from optparse import OptionParser
|
||||
import importlib
|
||||
|
||||
try:
|
||||
from queue import Queue
|
||||
except ImportError: # Python 2.7.5 (CentOS 7)
|
||||
from queue import Queue
|
||||
|
||||
from threading import Lock
|
||||
|
||||
from . import pure
|
||||
from .listenerstat import ListenerStat
|
||||
from .pypofetch import PypoFetch
|
||||
from .pypofile import PypoFile
|
||||
|
@ -32,8 +34,6 @@ from .pypomessagehandler import PypoMessageHandler
|
|||
from .pypopush import PypoPush
|
||||
from .recorder import Recorder
|
||||
from .timeout import ls_timeout
|
||||
from . import pure
|
||||
|
||||
|
||||
LOG_PATH = "/var/log/airtime/pypo/pypo.log"
|
||||
LOG_LEVEL = logging.INFO
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
from threading import Thread
|
||||
import urllib.request, urllib.error, urllib.parse
|
||||
import defusedxml.minidom
|
||||
import base64
|
||||
from datetime import datetime
|
||||
import traceback
|
||||
import logging
|
||||
import time
|
||||
import traceback
|
||||
import urllib.error
|
||||
import urllib.parse
|
||||
import urllib.request
|
||||
from datetime import datetime
|
||||
from threading import Thread
|
||||
|
||||
import defusedxml.minidom
|
||||
from api_clients import version1 as api_client
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import re
|
||||
|
||||
from packaging.version import Version, parse
|
||||
|
||||
|
||||
|
|
|
@ -1,21 +1,22 @@
|
|||
import os
|
||||
import sys
|
||||
import time
|
||||
import logging.config
|
||||
import json
|
||||
import telnetlib
|
||||
import copy
|
||||
import subprocess
|
||||
import signal
|
||||
from datetime import datetime
|
||||
import json
|
||||
import logging.config
|
||||
import mimetypes
|
||||
from . import pure
|
||||
import os
|
||||
import signal
|
||||
import subprocess
|
||||
import sys
|
||||
import telnetlib
|
||||
import time
|
||||
from datetime import datetime
|
||||
from queue import Empty
|
||||
from subprocess import PIPE, Popen
|
||||
from threading import Thread, Timer
|
||||
from subprocess import Popen, PIPE
|
||||
|
||||
from api_clients import version1 as v1_api_client
|
||||
from api_clients import version2 as api_client
|
||||
|
||||
from . import pure
|
||||
from .timeout import ls_timeout
|
||||
|
||||
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
from threading import Thread
|
||||
from queue import Empty
|
||||
from configparser import NoOptionError
|
||||
|
||||
import configparser
|
||||
import hashlib
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
import shutil
|
||||
import stat
|
||||
import sys
|
||||
import time
|
||||
import traceback
|
||||
import os
|
||||
import sys
|
||||
import stat
|
||||
from configparser import NoOptionError
|
||||
from queue import Empty
|
||||
from threading import Thread
|
||||
|
||||
import requests
|
||||
import configparser
|
||||
import json
|
||||
import hashlib
|
||||
from requests.exceptions import ConnectionError, HTTPError, Timeout
|
||||
from api_clients import version2 as api_client
|
||||
from requests.exceptions import ConnectionError, HTTPError, Timeout
|
||||
|
||||
CONFIG_PATH = "/etc/airtime/airtime.conf"
|
||||
|
||||
|
|
|
@ -1,15 +1,11 @@
|
|||
from threading import Thread
|
||||
from collections import deque
|
||||
from datetime import datetime
|
||||
|
||||
import traceback
|
||||
import signal
|
||||
import sys
|
||||
import time
|
||||
|
||||
|
||||
import traceback
|
||||
from collections import deque
|
||||
from datetime import datetime
|
||||
from queue import Empty
|
||||
|
||||
import signal
|
||||
from threading import Thread
|
||||
|
||||
|
||||
def keyboardInterruptHandler(signum, frame):
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
from .pypofetch import PypoFetch
|
||||
from .telnetliquidsoap import TelnetLiquidsoap
|
||||
|
||||
from datetime import datetime
|
||||
from datetime import timedelta
|
||||
import time
|
||||
from datetime import datetime, timedelta
|
||||
|
||||
from . import eventtypes
|
||||
import time
|
||||
from .pypofetch import PypoFetch
|
||||
from .telnetliquidsoap import TelnetLiquidsoap
|
||||
|
||||
|
||||
class PypoLiquidsoap:
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
import json
|
||||
import logging
|
||||
import traceback
|
||||
import os
|
||||
import sys
|
||||
from threading import Thread
|
||||
import time
|
||||
import traceback
|
||||
from threading import Thread
|
||||
|
||||
from amqp.exceptions import AMQPError
|
||||
|
||||
# For RabbitMQ
|
||||
from kombu.connection import Connection
|
||||
from kombu.messaging import Exchange, Queue
|
||||
from kombu.simple import SimpleQueue
|
||||
from amqp.exceptions import AMQPError
|
||||
import json
|
||||
|
||||
from kombu.mixins import ConsumerMixin
|
||||
from kombu.simple import SimpleQueue
|
||||
|
||||
logging.captureWarnings(True)
|
||||
|
||||
|
|
|
@ -1,24 +1,20 @@
|
|||
from datetime import datetime
|
||||
from datetime import timedelta
|
||||
from configobj import ConfigObj
|
||||
|
||||
import sys
|
||||
import time
|
||||
import logging.config
|
||||
import telnetlib
|
||||
import calendar
|
||||
import logging.config
|
||||
import math
|
||||
import traceback
|
||||
import os
|
||||
|
||||
from .pypofetch import PypoFetch
|
||||
from .pypoliqqueue import PypoLiqQueue
|
||||
|
||||
import sys
|
||||
import telnetlib
|
||||
import time
|
||||
import traceback
|
||||
from datetime import datetime, timedelta
|
||||
from queue import Empty, Queue
|
||||
|
||||
from threading import Thread
|
||||
|
||||
from api_clients import version1 as api_client
|
||||
from configobj import ConfigObj
|
||||
|
||||
from .pypofetch import PypoFetch
|
||||
from .pypoliqqueue import PypoLiqQueue
|
||||
from .timeout import ls_timeout
|
||||
|
||||
logging.captureWarnings(True)
|
||||
|
|
|
@ -1,25 +1,21 @@
|
|||
import logging
|
||||
import json
|
||||
import time
|
||||
import datetime
|
||||
import os
|
||||
import sys
|
||||
import pytz
|
||||
import signal
|
||||
import json
|
||||
import logging
|
||||
import math
|
||||
import traceback
|
||||
import os
|
||||
import re
|
||||
|
||||
from configobj import ConfigObj
|
||||
|
||||
from subprocess import Popen
|
||||
from subprocess import PIPE
|
||||
import signal
|
||||
import sys
|
||||
import time
|
||||
import traceback
|
||||
from subprocess import PIPE, Popen
|
||||
from threading import Thread
|
||||
|
||||
import mutagen
|
||||
|
||||
import pytz
|
||||
from api_clients import version1 as v1_api_client
|
||||
from api_clients import version2 as api_client
|
||||
from configobj import ConfigObj
|
||||
|
||||
|
||||
def api_client(logger):
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
import telnetlib
|
||||
from .timeout import ls_timeout
|
||||
import traceback
|
||||
|
||||
from .timeout import ls_timeout
|
||||
|
||||
|
||||
def create_liquidsoap_annotation(media):
|
||||
# We need liq_start_next value in the annotate. That is the value that controls overlap duration of crossfade.
|
||||
|
|
|
@ -1,15 +1,12 @@
|
|||
from .pypoliqqueue import PypoLiqQueue
|
||||
from .telnetliquidsoap import DummyTelnetLiquidsoap, TelnetLiquidsoap
|
||||
|
||||
|
||||
import logging
|
||||
import signal
|
||||
import sys
|
||||
from datetime import datetime, timedelta
|
||||
from queue import Queue
|
||||
from threading import Lock
|
||||
|
||||
import sys
|
||||
import signal
|
||||
import logging
|
||||
from datetime import datetime
|
||||
from datetime import timedelta
|
||||
from .pypoliqqueue import PypoLiqQueue
|
||||
from .telnetliquidsoap import DummyTelnetLiquidsoap, TelnetLiquidsoap
|
||||
|
||||
|
||||
def keyboardInterruptHandler(signum, frame):
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import threading
|
||||
|
||||
from . import pypofetch
|
||||
|
||||
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
from __future__ import print_function
|
||||
from setuptools import setup
|
||||
from subprocess import call
|
||||
import sys
|
||||
|
||||
import os
|
||||
import sys
|
||||
from subprocess import call
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
script_path = os.path.dirname(os.path.realpath(__file__))
|
||||
print(script_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue