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
1
vote
1 answer

Why starred list contains zero song when here is more?

After executing request starred list I am getting zero tracks count when in reality it contains 26 tracks (image attached). Why it returns zero tracks? SPTAuth *auth = [SPTAuth defaultInstance]; [SPTPlaylistSnapshot…
Ramis
  • 13,985
  • 7
  • 81
  • 100
1
vote
1 answer

Where can I get or generate appkey.c for Spotify?

I am trying to run the examples for CocoaLibSpotify, but I need the file appkey.c with the API credentials. Where can I get this, or how do I generate it?
Elliot Chance
  • 5,526
  • 10
  • 49
  • 80
1
vote
1 answer

Spotify playbackmanager volume is very low

I am developing one iOS app which is using the Spotify API . I have an issue regarding the SPPlaybackManager volume. The sound is very low when I am playing the Spotify song. Could any one please tell me how to increase the sound.(In original…
Tendulkar
  • 5,550
  • 2
  • 27
  • 53
1
vote
0 answers

Using SPSearch to retrieve playlists/artists/etc?

I am attempting to accessing related artists/playlists, etc using the SPSearch class as follows, but upon examining the logs it appears that the search never finishes loading: self.search = [SPSearch searchWithSearchQuery:self.artist…
Brent Hronik
  • 2,357
  • 1
  • 27
  • 43
1
vote
1 answer

Get audio data with Spotify iOS SDK 2.0

I need to stream music from iOS device to another device. In previous SDK there was SPSessionAudioDeliveryDelegate protocol which has been provided this functionality but it worked too slowly. Is there a way to get audio data with Spotify iOS SDK…
1
vote
1 answer

CocoaLibSpotify - Library not loaded

I've created a simple mac app that uses the Cocoa wrapper for libspotify. When I export the project as an Application and try to run it, it crashes immediately. Crash report: Application Specific Information: dyld: launch, loading dependent…
Backslash
  • 343
  • 5
  • 12
1
vote
1 answer

SPPlaybackManager - latency and loading

I'm using SPPlaybackManager to play tracks, but am having a difficult time with some small but important aspects of playback. Tracks are loading and streaming, but often begin playing .25 - 1.25 seconds after the callback function of SPAsyncLoading…
Alex W.
  • 202
  • 2
  • 9
1
vote
1 answer

CocoaLibSpotify streaming_error: SP_ERROR_OTHER_PERMANENT

When playing any track from the app I get this terrifying error message after a while (which causes the track to stop playing until I restart the playTrack: method): Error Domain=com.spotify.CocoaLibSpotify.error Code=10 "General permanent…
billgert
  • 66
  • 6
1
vote
1 answer

Cocoalibspotify searching for specific song

I'm trying to use the Spotify objective-c library to search for a specific song that belongs to an artist, album. I don't want to use the searchWithSearchQuery method (which works ok) because I want to be more specific. There is a method called…
NickDK
  • 999
  • 10
  • 24
1
vote
0 answers

CocoaLibSpotify OfflineStatus of Track added to 'markedForOfflinePlayback' Playlist after application restart always SP_TRACK_OFFLINE_WAITING

So I have a problem with CocoaLibSpotify a lot of developers used to have(but that 'has been fixed with updates' and I am on the newest version). There are a lot of posts about this on the web, e.g.: Spotify cocoalibspotify offline status set to 1…
user2456014
  • 355
  • 1
  • 4
  • 13
1
vote
1 answer

Initialisation of device_id in CocoaLibSpotify

Our app uses Spotify Wrapper CocoaSpotifyLib. We have been rejected by Apple's MFI team because the spotify library tries to access the device_id We have searched inside the CocoaLibSpotify xcode project and found that there is a declaration like…
prabhu
  • 684
  • 11
  • 27
1
vote
0 answers

Attempt to login in CocoaLibSpotify with stored credentials fails

I've integrated CocoaLibSpotify in my iOS app and I am developing user login. By the first time, the login controller is shown, and if the login is successful, user credentials are generated and stored in NSDefaults, as Rich Able explains in…
Pablo Blanco
  • 69
  • 10
1
vote
0 answers

CocoaLibSpotify Download/Cache Playlist Tracks Issue

I'm having some difficulty with CocoaLibSpotify, I'm trying to cache/download a playlist to my IPad thorough my app but I cant seem to be able to get it to download. I could do with a step by step if possible I've had a look at these links to no…
John Richard Salt
  • 1,003
  • 8
  • 11
1
vote
1 answer

SPAlbumBrowse - Getting an Accurate List Of An Artist's Albums

Okay. This is getting crazy. I've been working on this for a few days trying different weird things. I think I had a nightmare last night about libSpotify, might be a product of my sleeping habits, but, I digress. Anyway. Let's look up the artist…
Matt Egan
  • 809
  • 1
  • 10
  • 16
1
vote
1 answer

Massive Memory Leak - CocoaLibSpotify

I'm using the CocoaLibSpotify library to load album art for Spotify search results. Instruments reports no leaks, and static analysis isn't helping out either, and I've manually reviewed all of my code that deals with keeping track of loading the…
Matt Egan
  • 305
  • 1
  • 4
  • 10
1 2
3
9 10