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: tizonia stalls when trying to open a playlist #490

Closed
dxlight opened this issue May 31, 2018 · 6 comments
Closed

Spotify: tizonia stalls when trying to open a playlist #490

dxlight opened this issue May 31, 2018 · 6 comments
Assignees
Labels
Milestone

Comments

@dxlight
Copy link

@dxlight dxlight commented May 31, 2018

Description

When I try to play a playlist from spotify tizonia stalls after connecting to spotify

Steps to Reproduce

  1. tizonia -s --spotify-playlist "playlist"

Expected behavior:

tizonia should start playing the playlist

Actual behaviour:

tizonia stalls after the following steps:

[Spotify] [Connecting] : 'user@email.com'.
[Spotify] : Spotify cache location: '/var/tmp/tizonia-root-spotify-user@mail.com'
[Spotify] : 09:55:59.768 I [ap:1752] Connecting to AP ap.spotify.com:4070
[Spotify] : 09:55:59.769 I [user_cache:135] UserCache::initiateGetUsers() will query for 1 users
[Spotify] : 'ldsfdurhnfdushrndiisnwiuhfn' logged in
[Spotify] : 09:55:59.774 I [offline-mgr:2084] Storage has been cleaned
[Spotify] : 09:55:59.795 I [ap:1226] Connected to AP: 104.199.64.94:4070

Reproduces how often:

Always

Versions

0.13.0
0.14.0

Installation Method Used

Bintray debs

Additional Information

Everything worked until a few days ago.

@tizonia
Copy link
Collaborator

@tizonia tizonia commented May 31, 2018

Hi!, thanks for taking the time to report this issue.

Unfortunately, it looks like a problem that comes from Spotify itself. Tizonia relies on the deprecated 'libspotify', which Spotify stopped maintaining back in 2015.

Other people are also experiencing the breakage in libspotify's playlist support.
https://github.com/volumio/Volumio2/issues/1552
https://github.com/mopidy/mopidy-spotify/issues/182

Unfortunately, there is not an easy replacement right now. I will keep my eyes open for an alternative. Or perhaps we are lucky and Spotify decides to restore the playlist feature. Fingers crossed!

Loading

@dxlight
Copy link
Author

@dxlight dxlight commented Jun 3, 2018

so this makes tizonia completely broken for spotify, right? :(

Loading

@tizonia
Copy link
Collaborator

@tizonia tizonia commented Jun 3, 2018

That's correct for now, but only (fingers crossed) until a solution is implemented.

That solution appears to exist (https://github.com/kingosticks/mopidy-spotify/pull/1/commits). It seems libspotify is just unable to retrieve the playlist contents anymore. But it's still possible to retrieve a list of tracks in a playlist using the web API (e.g. using https://github.com/plamere/spotipy). Then, each individual track can still be streamed individually using libspotify.

Loading

@tizonia
Copy link
Collaborator

@tizonia tizonia commented Jun 14, 2018

@dxlight : FYI, Tizonia's Spotify capabilities are being restored (and actually augmented). I'm currently using the Spotify Web API to replace the search functionality that appears to be broken now in libspotify.

So the current plan is to add the following new search functions to Tizonia:

$ tizonia --spotify-tracks
$ tizonia --spotify-album
$ tizonia --spotify-artist

Also, the playlist search capability will be restored (at least partially).

$ tizonia --spotify-playlist

Let's hope that the audio streaming capabilities in libspotify continue to work for the foreseeable future!

Loading

@tizonia
Copy link
Collaborator

@tizonia tizonia commented Jun 14, 2018

#492, #493 and #494 are tracking the integration of Spotify Web API in Tizonia.

Loading

@tizonia
Copy link
Collaborator

@tizonia tizonia commented Jun 15, 2018

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

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants