Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spotify: unable to play some playlists #471

Closed
haylinmoore opened this issue Mar 26, 2018 · 3 comments
Closed

spotify: unable to play some playlists #471

haylinmoore opened this issue Mar 26, 2018 · 3 comments

Comments

@haylinmoore
Copy link

Description

I am trying to play a spotify playlist I followed

Steps to Reproduce

  1. tizonia --spotify-playlist "Chill Hits"

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

Versions

tizonia 0.11.0. Copyright (C) 2017 Juan A. Rubio
This software is part of the Tizonia project http://tizonia.org
Debug Info:
* [Boost 1_66]
* [TagLib 1.11.1]
* [MediaInfoLib - v17.12]
NAME="Anarchy Linux"
PRETTY_NAME="Anarchy Linux"
ID=anarchy
ID_LIKE=anarchylinux
ANSI_COLOR="0;36"
HOME_URL="https://anarchy-linux.org/"

Installation Method Used

Pacaur iirc

@tizonia
Copy link
Collaborator

tizonia commented Mar 27, 2018

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.

@tizonia tizonia changed the title Play followed spotify playlist spotify: unable to play some playlists Mar 29, 2018
@juanrubio
Copy link
Member

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.

@tizonia tizonia added this to the v0.15.0 milestone Jun 15, 2018
@tizonia
Copy link
Collaborator

tizonia commented Jun 15, 2018

Closing this now. Spotify Web API functionality has now been merged to master.

@tizonia tizonia closed this as completed Jun 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants