music-kraken-core/src/goof.py

15 lines
387 B
Python
Raw Normal View History

2022-11-24 13:13:55 +00:00
import music_kraken as mk
print(mk.__file__)
from music_kraken.audio_source import (
fetch_sources,
fetch_audios
)
print(fetch_sources)
cache = mk.database.temp_database.temp_database
print(cache, len(cache.get_tracks_without_src()))
fetch_sources(cache.get_tracks_without_src(), skip_existing_files=False)
fetch_audios(cache.get_tracks_to_download(), override_existing=True)