2023-03-28 12:04:15 +00:00
|
|
|
from music_kraken import pages
|
|
|
|
|
|
|
|
|
2023-03-29 11:39:55 +00:00
|
|
|
def cli():
|
|
|
|
search = pages.Search()
|
|
|
|
|
|
|
|
while True:
|
|
|
|
search.next_input(input(">> "))
|
|
|
|
print(search)
|
|
|
|
|
|
|
|
|
2023-03-28 12:04:15 +00:00
|
|
|
def search_pages():
|
2023-03-29 11:39:55 +00:00
|
|
|
search = pages.Search()
|
2023-03-28 12:04:15 +00:00
|
|
|
print("metadata", search.pages)
|
|
|
|
print("audio", search.audio_pages)
|
2023-03-28 12:40:59 +00:00
|
|
|
|
|
|
|
print()
|
2023-03-28 16:40:56 +00:00
|
|
|
print(search)
|
2023-03-29 09:53:55 +00:00
|
|
|
|
2023-03-29 10:00:40 +00:00
|
|
|
search.choose(pages.Musify)
|
|
|
|
|
|
|
|
print()
|
|
|
|
print(search)
|
|
|
|
|
|
|
|
search.choose(0)
|
2023-03-29 09:53:55 +00:00
|
|
|
print(search)
|
2023-03-28 12:04:15 +00:00
|
|
|
|
|
|
|
|
2023-03-29 11:39:55 +00:00
|
|
|
|
|
|
|
|
2023-03-28 12:04:15 +00:00
|
|
|
if __name__ == "__main__":
|
2023-03-29 11:39:55 +00:00
|
|
|
cli()
|