Laharah / redlist

Convert Spotify playlists to local m3u's and fill the gaps!
33 stars 5 forks source link

some playlist are failing #6

Closed lbesnard closed 3 years ago

lbesnard commented 3 years ago

Some spotify pl are failing with redlist, such as

redlist -y https://open.spotify.com/playlist/37i9dQZF1DX82GYcclJ3Ug
redlist -y https://open.spotify.com/playlist/37i9dQZF1DX186v583rmzp

I put a quick fix which seems to work for me https://github.com/Laharah/redlist/blob/master/redlist/matching.py#L92

         if track['track']:
             kwargs['artist'] = track['artists'][0]['name']
         else:
             return #cls(**kwargs)
Laharah commented 3 years ago

Thanks for the report, I've implemented a fix in the new release.