guilhermesad / rspotify

A ruby wrapper for the Spotify Web API
MIT License
717 stars 290 forks source link

Playlist find response does not match Spotify App #180

Open entertainment-inteligence opened 5 years ago

entertainment-inteligence commented 5 years ago

Firstly, apologies if this isn't actually an issue with your Gem, however, I'm seeing some strange behaviour in the tracklisting response being returned with RSpotify::Playlist.find that I hope you might have some insight to.

In 99.9% of cases, the tracklisting response I see from this call matches what I see on screen in the Spotify app, but for playlist ID '37i9dQZF1DX3YSRoSdA634' the tracklisting response I see completely differs to the on-screen version. I have tried changing the market to GB (where I am based) but it makes no difference.

As I am sure you are aware, in relation to GDPR Spotify have changed the format of the playlist URIs to no longer include the 'owner'. The owner for this playlist is 'spotify', however, setting owner to this or nil also makes no difference.

Any guidance you can offer would be much appreciated.

a17levine commented 5 years ago

Following, have the same problem.

I think Spotify has a bad caching strategy. Would be great if we could force Spotify to bust their cache.

a17levine commented 5 years ago

ref: https://github.com/spotify/web-api/issues/1225