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

Bug with Remove track from Playlist #112

vdesabou opened this Issue Feb 16, 2016 · 0 comments


1 participant

vdesabou commented Feb 16, 2016

Thanks to Brandon A, reporting this bug via email:

I found a bug a couple days ago when trying to remove a track from a playlist -- when this option was selected, nothing would occur.

Luckily I found a solution.
In the functions.php file there is a function "removeTrackFromPlaylist" --
inside of which is a call to the "deletePlaylistTracks" contained within the spotify API.
For this feature to work, the function call should be changed to "deleteUserPlaylistTracks".

Here's the working example:

$api->deleteUserPlaylistTracks(urlencode($userid), $tmp[4], array(
        id' => $track_uri

@vdesabou vdesabou added the bug label Feb 16, 2016

@vdesabou vdesabou self-assigned this Feb 16, 2016

@vdesabou vdesabou added this to the 6.2.5 milestone Feb 16, 2016

vdesabou added a commit that referenced this issue Feb 16, 2016

@vdesabou vdesabou closed this Feb 16, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment