Error trying to play songs from Local Files (Updated for v1.2.0)
I am able to read and retrieve a song from a user's playlist that is from their Local Files. I have the URI: spotify:local:::Organ+1:25 (a 25 second mp3 titled Organ 1).
Is it possible to play these songs through the iOS SDK? Initial attempts have resulted in the following error output as a part of the error object created in the play(trackURI) closure:
Spotify Error: Optional(Error Domain=com.spotify.app-remote Code=-2001 "The request failed." UserInfo={NSLocalizedDescription=The request failed., NSUnderlyingError=0x280b89bf0 {Error Domain=com.spotify.app-remote.wamp-client Code=-3000 "(null)" UserInfo={error-identifier=Unable to start playback., message-type=8}}, NSLocalizedRecoverySuggestion=, NSLocalizedFailureReason=Unable to start playback.})
Using the new iOS framework v1.2.0, attempting to obtain the track as a SPTAppRemoteContentItem described above which is a Local File via the new fetchContentItem(forURI) method I receive the following error:
Error Domain=com.spotify.app-remote.wamp-client Code=-3000 "(null)" UserInfo={error-identifier=error.not_available, message-type=8}
Could use some direction on how to best access a user's tracks that are part of Spotify's Local Files music collection.
Any suggestions Spotify? It's been several months.
@WickedChicken42 Did you find a solution? I met a similar problem when I tired to use the seek method.