music-kraken-core/src/goof.py

20 lines
414 B
Python
Raw Normal View History

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