Questions tagged [cocoalibspotify-2.0]

CocoaLibSpotify is an Objective-C wrapper around Spotify's libspotify library. It provides easy access to libspotify's features in a friendly, KVC/O compliant Objective-C wrapper.

CocoaLibSpotify is a wrapper of libspotify for Objective-C.

The library provides a base implementation that takes care of a great deal of boilerplate for you, including with memory management of libspotify pointers and maintaining a background thread to keep your application running responsively.

148 questions
0
votes
1 answer

How does SP_CONNECTION_STATE_DISCONNECTED work?

A question on the connectionState in SPSession: when does the session change to and from SP_CONNECTION_STATE_DISCONNECTED, i.e.: SP_CONNECTION_STATE_LOGGED_IN --> SP_CONNECTION_STATE_DISCONNECTED and SP_CONNECTION_STATE_LOGGED_IN <--…
Kristofer Sommestad
  • 3,061
  • 27
  • 39
0
votes
1 answer

Does SPSession ever time out?

When having logged in to Spotify and having an SPSession initialized; does it ever time out? I.e. do I have to (attempt) re-login again when the user loads the app again?
Kristofer Sommestad
  • 3,061
  • 27
  • 39
0
votes
1 answer

Spotify load Track using Playlist

I'm working with cocoalibspotify. I want know how to have SPPlaylistItem from SPPlaylist? I've my own playlist. How can I obtain playlistitem using playlist(by name)?
Niru Mukund Shah
  • 4,637
  • 2
  • 20
  • 34
0
votes
1 answer

Cocoalibspotify, how to trigger an action when playlist plays the next track

I have a playlist, and I want to sequentially play through the tracks, but every time a new track is loaded, I want to call a function. How would I go about listening for this event?
user379468
  • 3,989
  • 10
  • 50
  • 68
0
votes
1 answer

Can't register/login with new FB account

In order to test the user registration in CocoaLibSpotify, I created a new Facebook account. After creating the account (and validating the email address), I tried to log in to my app (using CocoaLibSpotify) but got the following error: "General…
Kristofer Sommestad
  • 3,061
  • 27
  • 39
0
votes
1 answer

How come SPPlaylistFolder doesn't conform to SPAsyncLoading?

I'm using CocoaLibSpotify 2.0 for my app. With the 2.0 version of CLS, a bunch of objects conform to the SPAsyncLoading protocol, allowing you to use ´-waitUntilLoaded:...´. But SPPlaylistFolder doesn't conform to the protocol – does that mean that…
Kristofer Sommestad
  • 3,061
  • 27
  • 39
0
votes
1 answer

SPPlaylistCallbackProxy playlist: message sent to deallocated instance

I'm using cocoalibspotify for a Spotify iOS app. At one point in my app, I'm creating a new playlist and add a number of tracks to the playlist. When doing so, I'm getting a crash since the created playlist instance seem to have been deallocated.…
Kristofer Sommestad
  • 3,061
  • 27
  • 39
0
votes
1 answer

Problems with SPAsyncLoading waitUntilLoaded

I have issues with loading playlists using the SPAsyncLoading class. Sometimes the call does not return at all, sometimes after a long time. I use the following code to load a playlist from a url: NSString *playlistUrl = [Config…
Emiel
  • 144
  • 4
0
votes
1 answer

importing Cocoalibspotify

I'm trying to import the cocoalibspotify into my Xcode project. https://github.com/spotify/cocoalibspotify However I am completly lost to what files need to be imported and how. I'm still a beginner and the sparse info on the spotify website doesn't…
-1
votes
1 answer

Getting an odd refresh token when authenticating via Spotify App Remote's SPTSession on iOS

When I authenticate with Spotify's iOS App Remote SDK (using SPTSession), the refresh token string I get back from the following didInitiate delegate method is very odd: sessionManager(manager: SPTSessionManager, didInitiate session: SPTSession) It…
Evan Kaminsky
  • 695
  • 10
  • 23
-1
votes
3 answers

Convert ios4 app into ios5

I have already created an app compatible with ios<5. Which already exists at Workout DJ FREE for Spotify Now in next version I want this app compatible with ios5 too. For that what do I need to do? I have planned to go with either of these two…
Niru Mukund Shah
  • 4,637
  • 2
  • 20
  • 34
-1
votes
1 answer

Playlist loading issues after upgrading to Xcode 4.5 and iOS Simulator 6

Having issues with the callback from spotify when I'm trying to load my playlists in my iOS app. It worked out well before the upgrade. When I'm receiving the callback it's only a handful of the playlists that is getting loaded, some of them doesn't…
catabol
  • 23
  • 3
-2
votes
1 answer

Spotify error message display in iPhone app

I am implementing spotify in my iPhone app using CocoaLibSpotify library. I need to show the error messages specified in the guideline https://developer.spotify.com/technologies/libspotify/guidelines-ios/. Should I need to check the error codes in…
Tinku George
  • 195
  • 2
  • 11
1 2 3
9
10