From f121ab99cc99900a8089b8e9d1a2f258f55ad36a Mon Sep 17 00:00:00 2001 From: Hellow Date: Mon, 28 Nov 2022 21:08:20 +0100 Subject: [PATCH] works --- src/music_kraken/__init__.py | 4 ++-- src/music_kraken/__main__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/music_kraken/__init__.py b/src/music_kraken/__init__.py index 50736b1..3744a77 100644 --- a/src/music_kraken/__init__.py +++ b/src/music_kraken/__init__.py @@ -19,14 +19,14 @@ from .utils.shared import ( from .lyrics import lyrics - +""" # try reading a static file: print("TEST") import pkgutil data = pkgutil.get_data(__name__, "temp_database_structure.sql") print(data) - +""" """ At the start I modify the garbage collector to run a bit fewer times. This should increase speed: diff --git a/src/music_kraken/__main__.py b/src/music_kraken/__main__.py index 6990647..19dc143 100644 --- a/src/music_kraken/__main__.py +++ b/src/music_kraken/__main__.py @@ -2,6 +2,6 @@ import music_kraken if __name__ == "__main__": - music_kraken.cli(start_at=2, only_lyrics=False) + music_kraken.cli(start_at=0, only_lyrics=False) # Youtube.fetch_audio({'title': 'dfas', '': '', 'isrc': ''}) # Youtube.fetch_audio({'title': 'dfas', 'url': '', 'file': 'dasf', 'isrc': ''})