diff --git a/.gitignore b/.gitignore index 13791a7..84d717b 100755 --- a/.gitignore +++ b/.gitignore @@ -110,3 +110,5 @@ keys/ *.m4a *.mp3 *.ogg +*.jpg +*.png diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de0f81b..7e1fb62 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ cache: before_script: - python -V # Print out python version for debugging - apt update - - apt install -y libchromaprint-tools ffmpeg --install-recommends + - apt install -y libchromaprint-tools ffmpeg - git clone https://github.com/beetbox/pyacoustid.git && cd pyacoustid - python setup.py install - cd .. && rm -rf pyacoustid/ diff --git a/YouTubeMDBot/__init__.py b/YouTubeMDBot/__init__.py index 9111ff0..ea5b0d9 100755 --- a/YouTubeMDBot/__init__.py +++ b/YouTubeMDBot/__init__.py @@ -13,6 +13,14 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . +from .logging_utils import LoggingHandler +from .logging_utils import setup_logging + +from .constants import * + +from .errors import EmptyBodyError +from .errors import FinishedException + from .api import YouTubeAPI from .api import YouTubeVideoData @@ -24,24 +32,16 @@ from .multiprocess import ThreadPoolBase -from .commands import StartHandler - -from .constants import * - from .decorators import restricted from .decorators import send_action -from .errors import EmptyBodyError -from .errors import FinishedException +from .commands import StartHandler -from .downloader import MultipleYouTubeDownloader -from .downloader import YouTubeDownloader +from .utils import get_yt_video_id -from .logging_utils import LoggingHandler -from .logging_utils import setup_logging +from .downloader import YouTubeDownloader +from .downloader import MultipleYouTubeDownloader from .metadata import AudioMetadata from .metadata import MetadataIdentifier from .metadata import YouTubeMetadataIdentifier - -from .utils import get_yt_video_id