spotify/cocoalibspotify — Issue #41: SPSession.playing is still YES when sessionDidEndPlayback is called
Author: mxcl
Created: 2012-02-01 16:37:46+00:00
State: open

When `sessionDidEndPlayback` has been called on the `playbackDelegate`, `session.playing` is still YES. Then when you attempt to start a new track it fails.

Possibly I am wrong and my code is too complicated for me to see what else was failing. But provided I set the SPSession.playing to NO before attempting to get the session to play a new track, it started working. Otherwise I had to pause/unpause my app to cause playing to be set to NO and then YES so that playback would commence.