Commit Graph

3 Commits

Author SHA1 Message Date
Timothy Rae
383e2078fd Update to tidalapi v0.7 + other minor improvements
* Speed improvements erasing playlists
* Fix progress bar when erasing playlists
* Potentially more useful error logs from repeat_on_exception
2022-12-10 14:20:24 +13:00
Timothy Rae
2967820650 Fix bug where a new Tidal playlist was created everytime sync.py run with --uri argument
I was passing (playlist, None) in the case where the --uri argument was used,
and None means create a new playlist.

I've fixed it to look for the Tidal playlist if it exists like the other
code paths do, and only pass None when it doesn't exist.

Unfortunately this will mean that your Tidal collection might have been polluted with
duplicate playlists. I've added a delete playlist function to tidalapi_patch to help
with deleting these programmatically, which some people might find useful.

Fixes #8
2022-02-12 14:45:46 +13:00
Timothy Rae
f2e5e202c7 Various refactoring, improvements, fixes 2022-02-10 13:16:47 +13:00