This commit is contained in:
Hellow2 2023-05-23 10:55:44 +02:00
parent 2a00735f72
commit da0fa2c8dc
8 changed files with 5 additions and 13 deletions

View File

@ -6,7 +6,7 @@ from typing import List
import gc
import musicbrainzngs
from . import objects, pages
from . import objects, pages, download
from .utils import exception, shared, path_manager
from .utils.config import config, read, write, PATHS_SECTION
from .utils.shared import MUSIC_DIR, MODIFY_GC, NOT_A_GENRE_REGEX, get_random_message
@ -176,7 +176,7 @@ def cli(
if verification in agree_inputs:
return new_genre
def next_search(_search: pages.Search, query: str) -> bool:
def next_search(_search: download.Search, query: str) -> bool:
"""
:param _search:
:param query:
@ -234,7 +234,7 @@ def cli(
print(f"Downloading to: \"{genre}\"")
print()
search = pages.Search()
search = download.Search()
# directly download url
if direct_download_url is not None:

View File

@ -0,0 +1,2 @@
from .search import Search
from .download import Download

View File

@ -3,8 +3,3 @@ from .musify import Musify
EncyclopaediaMetallum = EncyclopaediaMetallum
Musify = Musify
from . import download_center
Search = download_center.Search

View File

@ -1,5 +0,0 @@
from . import search
from . import download
Download = download.Download
Search = search.Search