Commit Graph

66 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
7efecad56b Fix bug in last commit due to missing variable 2022-02-17 20:31:54 +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
Tim Rae
83b692b0fd Change license from GPL to Affero GPL 2022-02-10 16:08:11 +13:00
Timothy Rae
7045d34e70 Update to latest url for spotify developer docs
Fixes #7
2022-02-10 13:18:54 +13:00
Timothy Rae
f2e5e202c7 Various refactoring, improvements, fixes 2022-02-10 13:16:47 +13:00
Tim Rae
e2ead013ad Merge pull request #2 from vkolotov/fix/retying-if-spotify-returns-none
Fix an issue when Spotify returns None as track, which leads to retri…
2022-02-07 11:17:57 +13:00
Timothy Rae
15c72b3431 Bump tidalapi version to 0.6.9
Fixes #4
2022-02-01 22:20:16 +13:00
Vlad Kolotoff
ba1b651601 Fix an issue when Spotify returns None as track, which leads to retries and a failure eventually. 2021-11-03 22:01:41 +00:00
Timothy Rae
d2239f747e Remove outdated comment 2021-07-22 01:04:08 +12:00
Timothy Rae
2e69f1d28c Use results from previous runs as a cache to improve performance 2021-07-22 00:56:40 +12:00
Timothy Rae
db8eb4e60f Reduce chunk size when writing playlists to avoid potential errors? 2021-07-22 00:53:31 +12:00
Timothy Rae
57a74f6b13 Use unidecode to escape weird names 2021-07-22 00:52:51 +12:00
Timothy Rae
ab9337edce Recover from errors loading previous tidal session 2021-06-16 18:29:34 +12:00
Timothy Rae
f73805711f Remove unused parameters and dependencies 2021-06-01 11:04:25 +12:00
Timothy Rae
0c6b9798d3 Add script to copy playlists from spotify to tidal 2021-05-31 19:35:31 +12:00