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

20 lines
372 B
Python
Raw Normal View History

2022-11-21 11:25:40 +00:00
import music_kraken as mk
print(mk.__path__)
2022-11-22 13:25:01 +00:00
# mk.cli()
mk.fetch_source.Download()
# db = mk.utils.shared.database
# if len(db.get_custom_track([])) == 0:
mk.target.set_target.UrlPath(genre="test")
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()