added cli to __init__.py

This commit is contained in:
Hellow2 2023-03-29 17:24:02 +02:00
parent ef41d8a72c
commit 927c2766d7
2 changed files with 7 additions and 9 deletions

View File

@ -7,7 +7,6 @@ import os
from . import (
objects,
database,
pages
)
@ -17,8 +16,6 @@ from .utils.shared import (
NOT_A_GENRE
)
# from .lyrics import lyrics
"""
At the start I modify the garbage collector to run a bit fewer times.
@ -39,6 +36,8 @@ musicbrainzngs.set_useragent("metadata receiver", "0.1", "https://github.com/HeI
def cli():
print("HelloWorld")
search = pages.Search()
while True:
search.next_input(input(">> "))
print(search)

View File

@ -2,6 +2,5 @@ import music_kraken
if __name__ == "__main__":
music_kraken.cli(start_at=0, only_lyrics=False)
# Youtube.fetch_audio({'title': 'dfas', '': '', 'isrc': ''})
# Youtube.fetch_audio({'title': 'dfas', 'url': '', 'file': 'dasf', 'isrc': ''})
music_kraken.cli()