added cli to __init__.py
This commit is contained in:
parent
ef41d8a72c
commit
927c2766d7
@ -7,7 +7,6 @@ import os
|
|||||||
|
|
||||||
from . import (
|
from . import (
|
||||||
objects,
|
objects,
|
||||||
database,
|
|
||||||
pages
|
pages
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -17,8 +16,6 @@ from .utils.shared import (
|
|||||||
NOT_A_GENRE
|
NOT_A_GENRE
|
||||||
)
|
)
|
||||||
|
|
||||||
# from .lyrics import lyrics
|
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
At the start I modify the garbage collector to run a bit fewer times.
|
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():
|
def cli():
|
||||||
print("HelloWorld")
|
search = pages.Search()
|
||||||
|
|
||||||
|
|
||||||
|
while True:
|
||||||
|
search.next_input(input(">> "))
|
||||||
|
print(search)
|
||||||
|
@ -2,6 +2,5 @@ import music_kraken
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
music_kraken.cli(start_at=0, only_lyrics=False)
|
music_kraken.cli()
|
||||||
# Youtube.fetch_audio({'title': 'dfas', '': '', 'isrc': ''})
|
|
||||||
# Youtube.fetch_audio({'title': 'dfas', 'url': '', 'file': 'dasf', 'isrc': ''})
|
|
||||||
|
Loading…
Reference in New Issue
Block a user