Spotify - Skip to next/previous song buttons are greyed out

Is there a way I can programmatically enable/disable the skip to next/previous buttons in the Spotify interface?

Right now, they both appear as greyed out. I would like the give the user the ability to move to the next song.

Any info would be appreciated. Thanks!


The reason the buttons are greyed out is because there is no next song — when you tell the client to play a singe track in the Apps API, it really means just that single track.

The state of the playback control buttons cannot be controlled directly from the Apps API - when there are more tracks to play, the buttons will be enabled.

Need Your Help

Hide cells in a UITableView with static cells - and no autolayout crash

ios xcode uitableview interface-builder

I have a table view form created using Static Cells in IB/Storyboard. However, I need to hide some of the cells at runtime depending on certain conditions.

Creating Pie chart / progressbar like arc in andorid

android progress-bar pie-chart android-progressbar

I am working on a project where I want to show a pie chart like the image added. Already have searched google and other posts in stackoverflow, but could not find a solution. any solution is apprec...