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

Support 'automatic track replacement' in Spotify playlists #34

Closed
jodal opened this issue Nov 9, 2010 · 3 comments
Closed

Support 'automatic track replacement' in Spotify playlists #34

jodal opened this issue Nov 9, 2010 · 3 comments
Assignees
Milestone

Comments

@jodal
Copy link
Member

jodal commented Nov 9, 2010

As of the April 2010 releases of Spotify they support "automatic track replacement":

Automatic track replacement: Spotify will now automatically try to find a replacement for any track you can’t play. So if a friend in another country sends you a playlist with tracks you can’t play or a local file, we’ll search our catalogue and link to a playable track when possible. A ‘link’ icon next to the track name represents replaced tracks.

Currently, Mopidy cannot play these tracks and just prints e.g.:

WARNING  Play spotify:track:6R81HhHxetvaWqQoM9K4Ll failed: The track cannot be played

As far as I can see from the API docs, libspotify can tell us that this is a autolinked to another track: http://developer.spotify.com/en/libspotify/docs/group__track.html#g4eeb86de13187697cd9dfe0b0934988d

@jodal
Copy link
Member Author

jodal commented Jan 19, 2011

This can be implemented by turning on autolinking in each libspotify playlist as it is loaded. See http://developer.spotify.com/en/libspotify/docs/group__playlist.html#g16481ebc3ea46d0e57e650ca7bf335b5 for details.

@ghost ghost assigned knutz3n Jun 9, 2011
@jodal
Copy link
Member Author

jodal commented Jun 9, 2011

The develop branch of pyspotify now supports this. Will be in 1.3 release.

@knutz3n
Copy link
Contributor

knutz3n commented Jun 9, 2011

This is fixed in pyspotify by always have it enabled. The feature is available when v1.3 of pyspotify is released.

@jodal jodal closed this as completed in 4090c14 Jun 12, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants