spotify2tidal / spotify_to_tidal

A command line tool for importing your Spotify playlists into Tidal
GNU Affero General Public License v3.0
241 stars 44 forks source link

AttributeError: 'NoneType' object has no attribute 'split' #30

Closed RobinHirst11 closed 2 months ago

RobinHirst11 commented 2 months ago

just this error here image

timrae commented 2 months ago

It's failing to find an artist name for that track's album. What's the spotify id for the track that's failing? If you paste the spotify id of the album that the failing track belongs to here and look at the json, you should be able to see why album['artists'][0]['name'] is returning None

RobinHirst11 commented 2 months ago

i made a really crude fix using the beloved and all hated GPT. i think it was a local file that i favorited so i can get it on my liked songs, (on my phone)

sync.txt

although its a bit... messy... and there's no end either, but it did the job!