nice
This commit is contained in:
parent
35905ea942
commit
99cd872227
13 changed files with 630 additions and 190 deletions
4
Flow.py
4
Flow.py
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue