spotify: unable to play some playlists #471
I am trying to play a spotify playlist I followed
Steps to Reproduce
Expected behavior: Play the playlist
Actual behaviour: Plays a random playlist
Reproduces how often: 100% I have never gotten it to play the followed playlist
tizonia 0.11.0. Copyright (C) 2017 Juan A. Rubio
Installation Method Used
The text was updated successfully, but these errors were encountered:
Hi!, thanks for taking the time to report this issue.
Yes, this is a genuine problem. It occurs with some of my playlists as well. I don't know why this is happening. I always attributed it to my poor understanding of libspotify, which is used by tizonia's Spotify plugin. The thing is that I decided not to invest a lot of time in libspotify because it has been officially deprecated by Spotify some time ago (see #395).
I think the best solution here is to ditch the existing spotify_source OMX component and add a spotify role in the http_source component. For that Spotify role, pyspotify sounds like the only option available right now. It also uses libspotify but probably it has this problem resolved plus it would allow tizonia to do spotify searches of other things than just playlists.
Just as a note, libspotify does not seem to allow Spotify-made playlists to be played like it does with the playlists created by the user. I have not verified this with pyspotify, but I believe this is a shortcoming in the underlying (and unmaintained) libspotify.