documented more

This commit is contained in:
Hellow
2022-11-23 19:15:55 +01:00
parent ee042c9805
commit eb1791bf9e
2 changed files with 148 additions and 26 deletions

View File

@@ -17,7 +17,6 @@ from .audio_source import (
)
from .lyrics import lyrics
logging.getLogger("musicbrainzngs").setLevel(logging.WARNING)
musicbrainzngs.set_useragent("metadata receiver", "0.1", "https://github.com/HeIIow2/music-downloader")
@@ -30,6 +29,7 @@ def get_existing_genre():
return valid_directories
def help_search_metadata():
msg = """
- - - Type the command you want to execute - - -
@@ -59,14 +59,15 @@ def execute_input(_input: str, search: metadata_search.Search) -> bool:
print()
print(search.choose(int(_input)))
return False
if _input == ".." :
if _input == "..":
print()
print(search.get_previous_options())
return False
print()
print(search.search_from_query(_input))
def search_for_metadata():
search = metadata_search.Search()