music-kraken-core/src/try-programming-interface.py

16 lines
322 B
Python
Raw Normal View History

2022-11-21 11:25:40 +00:00
import music_kraken as mk
print(mk.__path__)
# mk.fetch_source.Download()
db = mk.utils.shared.database
if len(db.get_custom_track([])) == 0:
mk.cli()
mk.fetch_audio.Download()
if __name__ == "__main__":
2022-11-21 11:25:40 +00:00
db = mk.utils.shared.database
for elem in db.get_custom_track([]):
print(elem)
print()