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

Does CocoaLibSpotify work on 5s?

For some reason I can get the test application (LSTests) to work, but cannot seem to get my app which uses cocoalibspotify to work (despite the fact that my app works on all previous iphones i've tried). Any suggestions?
Michael
  • 2,973
  • 1
  • 27
  • 67
0
votes
1 answer

Get user's "Your Music" on Spotify

Is it possible to get "Your Music" which contains playlists, songs, and albums from Spotify using Cocoalibspotify? Right now I am only able to get playlists from "Your Music" using: [SPSession sharedSession].userPlaylists.flattenedPlaylists.
SleepNot
  • 2,982
  • 10
  • 43
  • 72
0
votes
1 answer

Cocoalibspotify how to call method when SPPlaylist changes

I'm creating an a Spotify iOS app using Cocoalibspotify that essentially allows for live playlist sharing. I do this by having the user add a playlist and set it as collaborative. So I have 2 questions: 1) I want the app to notify the user when a…
Jacob D
  • 229
  • 2
  • 5
0
votes
1 answer

Can't retrieve all user playlists

I am trying to retrieve the user's playlists. I referred to the sample Guess The Intro from cocoalibspotify, however I am only getting 2 tracks of which are from the starred tracks. Is there anything that I missed? Also, can api/toplists be an…
SleepNot
  • 2,982
  • 10
  • 43
  • 72
0
votes
1 answer

CocoaLibSpotify storyboard error? App breaks when presenting loginviewcontroller

I am using CocoaLibSpotify in my app, the app uses storyboard. When I try to present the loginviewcontroller like this: [self presentViewController:[SPLoginViewController loginControllerForSession:[SPSession sharedSession]] animated:YES…
jona jürgen
  • 1,789
  • 4
  • 22
  • 31
0
votes
1 answer

cocoalibspotify SPTrack to NSData

I need to send an SPTrack to another device via an Bonjour connection. But the bonjour library I am using(DTBonjour) requires an encodeWithCoder implementation to send objects across a network. But it seems like SPTrack does not include the…
jona jürgen
  • 1,789
  • 4
  • 22
  • 31
0
votes
1 answer

I can't run cocoalibspotify's sample code properly

I got cocoalibspotify at https://github.com/spotify/cocoalibspotify When I run the project, an alert come up saying "Login Details Missing. The username, password or both are missing. Please consult the testing part of the readme file." Before alert…
Cocominap
  • 3
  • 2
0
votes
1 answer

about playing songs by Cocoalibspotify, does app download the cache of songs like mp3, DRM format that I can do some remix of it?

about playing songs by Cocoalibspotify, does app download the cache of songs like mp3, DRM format that I can do some remix of it ? If the answer is NO, what kind of streaming format send while playing Spotify's song from Cocoalibspotify ?
Bruce
  • 3
  • 1
0
votes
1 answer

CocoaLibSpotify waitUntilLoaded rarely returns loaded items

I've been building an ios app using cocoalibspotify for some time without any problems, but since yesterday both of my apps don't get any loaded data when calling the waitUntilLoaded method. Here is a code example of how I call it: [[SPSession…
0
votes
1 answer

SPPlaylist items as SPTracks not loading (consistently)

I've been struggling with this for a while now and was looking around for some advice from anyone who's worked with CocoaLibSpotify on iOS (iOS 7 to be exact). I'm trying to load all the (SPTrack) items in a SPPlaylist. I've looked though the…
Baza207
  • 2,123
  • 1
  • 22
  • 40
0
votes
1 answer

cocoalibspotify - didencounterstreamingerror not called when there is no internet connection

I'm just trying to have my UI update when the stream stops due to a connectivity issue, but didencounterstreamingerror is not called when there is no connection. I know the delegate is setup properly because other playback delegate methods are…
davis
  • 1,911
  • 6
  • 26
  • 50
0
votes
1 answer

Cache Playlists using CocoaLibSpotify IOS

I am loading all the playlists for a user at startup and i would like to cache the playlist tracks after the playlists are done loading. Does CocoaLibSpotify already cache the playlists or is there something else i would need to do? I am not looking…
Tony
  • 656
  • 8
  • 20
0
votes
1 answer

Enable sharing Spotify listening activity on Facebook via API?

Is it possible to enable sharing listening activity with Facebook from the Spotify API? SPSession seems to have functions around scrobbling: -(void)setScrobblingState:(sp_scrobbling_state)state forService:(sp_social_provider)service…
Mark
  • 39,169
  • 11
  • 42
  • 48
0
votes
1 answer

CocoaLibSpotify crashes the app immediately after Login. NSURL Extensions seem to be missing?

I'm building a new spottily app using cocoaLibSpotify. Immediately after instantiating the session with initializeSharedSessionWithApplicationKey, I call attemptLoginWithUserName with a valid username/password pair. The app then immediately crashes…
Kenny
  • 1,083
  • 2
  • 8
  • 23
0
votes
1 answer

Spotify EXC_BAD_EXE while second time tap on Login Button after dismiss LoginViewController

Hi i Intigrate SpotifyLib CocoaLibSpotify iOS Library 17-20-26-630 into my Project. I open its SPLoginViewController using Bellow Method:- -(void)OpenSpotify { NSError *error = nil; [SPSession…
Nitin Gohel
  • 49,482
  • 17
  • 105
  • 144