Skip to content

Fix/tidal edge cases#177

Open
CptBananaCanon wants to merge 3 commits into
spotify2tidal:mainfrom
CptBananaCanon:fix/tidal-edge-cases
Open

Fix/tidal edge cases#177
CptBananaCanon wants to merge 3 commits into
spotify2tidal:mainfrom
CptBananaCanon:fix/tidal-edge-cases

Conversation

@CptBananaCanon
Copy link
Copy Markdown

Fix additional edge cases in Spotify → Tidal sync

  • Handle None values in Spotify metadata (prevents crashes in simple() and artist formatting)
  • Prevent crash when Tidal rejects tracks (HTTP 412)
  • Fallback to adding tracks individually if batch add fails
  • Skip problematic tracks instead of aborting sync

Result:

  • Sync no longer crashes on malformed Spotify data
  • Sync no longer stops when Tidal rejects specific tracks
  • More robust full-library migration

Tested on large real-world library with mixed content (music, spoken word, restricted tracks)

@aanzolaavila
Copy link
Copy Markdown

You saved me a lot of time to make it work, thanks a lot mate!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants