In Spotify Free, for on-demand playback and shuffle play - you have to support two types of layouts for track lists when showing a playlist/album entity:
For on-demand playback, the user will be able to see and play all tracks in the playlist/album.
For shuffle play the user will only be able to see a content summary of the playlist/album and then start shuffle playback. The user can’t pick a particular song to play, it will start playback in shuffle.
I am building an application integration which fetches the JSON from the below Web API endpoints.