This commit is contained in:
Шурупов Илья Викторович 2026-02-07 00:48:46 +03:00
parent 35905ea942
commit 99cd872227
13 changed files with 630 additions and 190 deletions

View file

@ -96,6 +96,10 @@ class Flow:
self.spotify_library = LibraryLoader().load(work_dir / "spotify_library.json")
self.local_library = LibraryLoader().load(work_dir / "local_library.json")
def save_libraries(self):
LibrarySaver(self.spotify_library).save(work_dir / "spotify_library.json")
LibrarySaver(self.local_library).save(work_dir / "local_library.json")
def map_local_to_spotify(self):
resolve_remote_tracks(client_id, client_secret, self.local_library, self.spotify_library, work_dir)