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 to play track using cocoalibspotify when app is in the background?

Is it possible to play a track when the app has exited/gone into a background state? For example: - (void)applicationDidEnterBackground:(UIApplication *)application { NSURL *trackURL = [NSURL…
Daniel Hakimi
  • 1,153
  • 9
  • 16
0
votes
1 answer

What is the proper way of retrieving all SPTracks of an playlist in Cocoalibspotify?

I'm writing an iPhone app that uses cocoalibspotify. In one of my views I want to be able to display all the SPTracks of a playlist in a table view. Each cell should display the Artist, the Album and the Name of the track. I have implemented a…
cbbcloud
  • 479
  • 5
  • 15
0
votes
1 answer

Extremely high CPU usage with SPSearch Cocoalibspotify

I'm using CocoaLibSpotify in my iPhone app. At one point the user has the option to search for artists/songs etc on Spotify. Once the search completes, a UITableView is populated with the search results. I've noticed that the app starts to lag a lot…
cbbcloud
  • 479
  • 5
  • 15
0
votes
1 answer

Mostly SPArtistBrowse's firstPortrait is nil

I'm doing a search to the Spotify service and receiving all artists for that search. Then I'm making SPArtistBrowse objects from the artists-objects I'm receiving and want to use the firstPortrait property as cover images for the artists, the…
catabol
  • 23
  • 3
0
votes
1 answer

How to handle spotify player interruption in iPhone

I am implementing Spotify in my application. How can I handle the interruptions like phone call, play song from iPod player etc.
Tinku George
  • 195
  • 2
  • 11
0
votes
1 answer

Getting the name and other properties of SPAlbum

Just a quick question about SPTrack and SPAlbum Say I have an array of SPTracks stored in myTracks I can get the name of this track by doing [[myTracks objectAtIndex:0] name]; However; when I try to get the name of the album like this [myTracks…
davis
  • 1,911
  • 6
  • 26
  • 50
0
votes
1 answer

Get notified when a playlist is added or removed through cocoalibspotify

I use cocoalibspotify in an application and would like to get notified when a playlist is added or deleted. I have tried adding an observer for the key path userPlaylists on the shared session but this does not seem to get called. I have also tried…
simonbs
  • 7,932
  • 13
  • 69
  • 115
0
votes
1 answer

NULL Objects in Received Playlists

Since recently, among the fetched playlist objects is a NULL object is contained in the resulting array. It looks like a nasty bug, as in the debugger a memory address is given, but no object type could be resolved. It crashes within Cocoalibspotify…
fabb
  • 11,660
  • 13
  • 67
  • 111
0
votes
1 answer

Can login with attemptLoginWithUserName: on Simulator, but not on iPhone

I have a strange problem. After I logged in with the standard SPLoginViewController, I save the username and the credential. After I startup again, I try to call: [[SPSession sharedSession] attemptLoginWithUserName: existingCredential: On the…
Jelle
  • 284
  • 3
  • 13
0
votes
1 answer

How can I obtain the mosaic image for a playlist using CocoaLibSpotify?

From the header documentation of SPPlaylist for it's image property: Returns the custom image for the playlist, or nil if the playlist hasn't loaded yet or it doesn't have a custom image I have an array of loaded SPPlaylists however the image…
followben
  • 9,067
  • 4
  • 40
  • 42
0
votes
1 answer

load playlist for every spotify user which is created by only one user

In my app based on spotify, I don't want to load user specific playlist, instead I want every user to enjoy playlist, which I have created in my account. how can I achieve this. Below is the short summary regarding my query. I've developed app…
Niru Mukund Shah
  • 4,637
  • 2
  • 20
  • 34
0
votes
1 answer

Linker error in iPhone5 for Spotify

I am implementing Spotify in my iPhone app. In iPhone4 and 4S, it builds and runs fine. But when I connected iPhone5 device and builds, it shows linker error. After disconnecting the device, the build is again success. What may be the reason. Please…
Tinku George
  • 195
  • 2
  • 11
0
votes
1 answer

Spotify iPhone API search by BPM

I am implementing Spotify in my iPhone app. I want to search tracks by BPM. In Spotify, is there any API to search by BPM. Please help.
Tinku George
  • 195
  • 2
  • 11
0
votes
1 answer

How to get spplaylist id?

How do I have id of spplaylist ? currently it returns return [NSString stringWithFormat:@"%@: %@ (%@ items)", [super description], [self name], [NSNumber numberWithUnsignedInteger:[[self valueForKey:@"items"] count]]]; because of [self name]…
Niru Mukund Shah
  • 4,637
  • 2
  • 20
  • 34
0
votes
1 answer

Crashes in SPTrack dealloc

Occasionally, I'm seeing crashes originating from the -dealloc in SPTrack: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0xb1e8ded2 Crashed Thread: 13 Thread 0 name: Dispatch queue:…
Kristofer Sommestad
  • 3,061
  • 27
  • 39
1 2 3
9
10