spotify/cocoalibspotify — pull request #87 by mAu888 (2012-08-07 12:02:15+00:00)
Title: Offline sync not working properly

I'm trying to sync a playlist for offline playback. When setting the `markedForOfflinePlayback` property to `YES` I get a `Offline license server error (36)` when calling the `offlineSyncError` method of `SPSession`.

When looking at the `offlineStatus` property of the playlist, it is set to `SP_PLAYLIST_OFFLINE_STATUS_YES` but the `offlineDownloadProgress` keeps being `0.0`.

I don't know why I keep getting this error. Offline syncing with the original Spotify app works pretty fine on my device.

I created a failing test case showing the problem. Please feel free to improve the test, it's the first unit test I wrote on iOS.