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

iPhone app with Spotify crashes after resigning .ipa file

When I try to resign .iPA file with different key and mobile provisioning profile my App crashes due to Spotify. Is that because of "appkey.c" file or is there any relation between Spotify credentials and Apple provisioning profiles and keys which…
ios
  • 6,134
  • 20
  • 71
  • 103
0
votes
1 answer

Is there any option for collections in Cocoalibspotify(Spotify IOS)?

i can add tracks into playlist from the following code [[SPSession sharedSession] playlistForURL:playList.spotifyURL callback:^(SPPlaylist *playlist) { [SPAsyncLoading waitUntilLoaded:playlist timeout:kSPAsyncLoadingDefaultTimeout…
Mani murugan
  • 1,792
  • 2
  • 17
  • 32
0
votes
1 answer

Get user meta (cocoaLibSpotify)

I need to get hold of a user's profile image. Can't seem to find anything that points me in the right direction. And also, how can I get the full name of the user (not the username)? Thanks!
billgert
  • 66
  • 6
0
votes
1 answer

Crash in CocoaLibSpotify without any Log

I am using Cocoalib spotify in my app..its getting crash without any log..Please see the attached image here message was "06:46:42.789 I [offline-mgr:2032] 0 files are locked. 0 images are locked" about to print....
abymathew
  • 115
  • 1
  • 1
  • 11
0
votes
2 answers

On ios7, Spotify Login with Facebook View shown below Navigation Item

So, I have this problem, basically the view controller appears below the navigation controller. This happens a lot in iOS 7, however, in this case I haven't been able to fix it with just self.edgesForExtendedLayout = UIRectEdgeNone, because I don't…
Alex
  • 7,432
  • 20
  • 75
  • 118
0
votes
1 answer

Getting CocoaLibSpotify error in SPPlaylist.m

When I try to build my project i get the following error on line 827 /PATH_TO_PROJECT/Libs/CocoaLibSpotify/Model/SPPlaylist.m:827:25: Implicit conversion of Objective-C pointer type 'AVAssetTrack *' to C pointer type 'sp_track *' (aka 'struct…
Hannes
  • 3,752
  • 2
  • 37
  • 47
0
votes
1 answer

CocoaLibSpotify playback crashes after a few seconds

I followed the SimplePlayer example project while integrating it in my own test project. Logging in and searching for tracks already works perfectly, but when I try to play a song like SimplePlayer it crashes after 1-2 seconds of playback with…
Hannes
  • 3,752
  • 2
  • 37
  • 47
0
votes
1 answer

Playlist loaded property is YES but playlist.items have null items inside

I'm using the following code to load a playlist -(void)loadPlaylist:(NSString *)playlistURI withCompletionBlock:(spotifycompletionWithData)completionBlock andfailed:(failedBlock)failedBlock { NSURL *playlistURL = [NSURL…
Gilad
  • 43
  • 9
0
votes
1 answer

cocoalibspotify: Crash when loading multiple playlists

I´m using cocoalibspotify(great stuff) for streaming Spotify music in my project. After choosing a playlist this code runs: [[SPSession sharedSession] playlistForURL:myPlaylistUrl callback:^(SPPlaylist *playlist) { if(playlist != nil){ …
marsrover
  • 715
  • 11
  • 27
0
votes
1 answer

How can i load an image from a playlist without loading the whole playlist?

i wanted to know if there is another way i could load the playlist image instead of loading the whole playlist and then fetch the image, i know that on the web platform you have a function that called imageFor and you can insert a playlist URI and…
Gilad
  • 43
  • 9
0
votes
1 answer

Cocoalibspotify Ad Hoc build fails

I am running into an issue when building an Ad Hoc build of my app with cocoalibspotify. I have followed the instructions for iOS: https://github.com/spotify/cocoalibspotify#building---ios I don't have any issues running the app with the Spotify…
runmad
  • 14,846
  • 9
  • 99
  • 140
0
votes
1 answer

Error when logging in using SPLoginViewController

I'm building an iOS application which implements the Spotify API (and am using CocoaLibSpotify). I'm using SPLoginViewController for login so the user can perform an SPSearch. The SPLoginViewController presents itself correctly and the SPSession is…
Alex W.
  • 202
  • 2
  • 9
0
votes
1 answer

How to resume spotify player playback after interrupt when app is in background?

I have an app which plays Spotify track. It works perfectly when app moves to background but when it get interrupted by 'call' or 'iOS pop-ups' it stops playing. I have added Required background modes to App plays audio in .plist. How to resume…
Rahul Mane
  • 1,005
  • 18
  • 33
0
votes
1 answer

Is there any way to download('make available offline') an SPTrack/SPAlbum without it being in a Playlist?

This is just a very basical question, because I try to implement a library in my app. So is there any way to download('make available offline') an SPTrack/SPAlbum without it being in a Playlist and if yes, how? Will I have to make a kind of…
user2456014
  • 355
  • 1
  • 4
  • 13
0
votes
1 answer

Offline playlists using CocoaLibSpotify

I am using CocoaLibSpotify in an iOS application. When I set markedForOfflinePlayback to YES on an instance of SPPlaylist the offlineStatus almost immediately changes to SP_PLAYLIST_OFFLINE_STATUS_YES for the playlist and the tracks in the playlist.…
simonbs
  • 7,932
  • 13
  • 69
  • 115