24190

Spotify cocoalibspotify offline status set to 1 but all tracks stuck at waiting

Question:

I'm trying to allow tracks from Spotify to be played offline in my iOS app. I've read several posts about this problem, but none of the suggestions work for me.

The issue is a playlist marked for download gets stuck with all tracks "waiting" to be downloaded. I can recreate it regularly in a fresh app install by creating a playlist, adding a few tracks, and mark playlist for download. Tracks download as expected. Then I background the app by tapping the home button and kill the app in the app tray. Then I start the app and successfully login with – attemptLoginWithUserName:existingCredential: I create another playlist, add some more tracks and mark for offline. The new playlist's offline status shows downloaded, but all the tracks are waiting.

I've tried:

1) flushCaches: after playlists are downloaded

2) flushCaches: in applicationDidEnterBackground

3) logout in applicationDidEnterBackground:

4) logout in applicationWillTerminate:

5) setting badly behaving playlist markedforofflineplayback to off, flush caches and set markedforofflineplayback to off again.

So far, once a playlist has gotten stuck, the only way to get another playlist downloaded has been to delete the app and reinstall.

Does anyone have other suggestions for how to solve this problem?

Answer1:

This is a known issue that an update will fix soon. In the meantime, if a playlist gets stuck you can delete the cache folder that CocoaLibSpotify creates which is one step short of reinstalling, but not exactly a useful workaround.

Recommend

  • Unable to change switch color
  • Dart - Base64 string is not equal to python
  • Can't uninstall Python 3.4.2 from Windows 7 after system restore
  • Get input value in JavaScript without using jQuery? [closed]
  • Move an 8 bit image using VHDL
  • JavaScript - object's functions referencing its fields
  • How to redirect to next page by passing Id and show details in angular2
  • Fingerprint SDK for Linux [closed]
  • MySQL long running query in 5.5 is very fast in 5.6
  • Chaining Requests using BlueBird/ Request-Promise
  • Binding a combobox in subform Access
  • Variable amount of columns returned in mysqli prepared statement
  • Bounding csv data to topojson path - cloropleth
  • Encoding/decoding PDP-11 assembly language to binary and hex?
  • How to use grep to output unique lines of code from a file?
  • Spring batch pause/resume vs stop/restart
  • Javascript getting the value of an input in a table [duplicate]
  • C++ Time measurement of functions
  • Using one probability set to generate another [duplicate]
  • Using PHP & Tornado
  • Adding custom message on Thank You page by shipping method
  • wxPython UltimateListCtrl check (tick) listitem programatically
  • Why clearfsimport command adds file to source control with a size zero?
  • async GET request with body from browser
  • Python ctypes: Prototype with LPCSTR [out] parameter
  • How to move to lines with the same indentation in Visual Studio Code
  • How do I set the logging properties in a spring java configuration?
  • How does the dispatcher work when mixing sync/async with serial/concurrent queue?
  • Unable to run testNG tests from maven
  • Adding native code to an existing Worklight hybrid app
  • Admob in ListView not clickable
  • I am consuming a WCF service that requires headers from a .NET 2 website. How can I programmatically
  • How to call jQuery function in HTML returned by AJAX