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

cocoaLibSpotify to manage playlists and containers

I am using cocoaLibSpotify to get the user playlists and relative containers. I managed successfully the user connection but I am struggling to get the user playlists and relative folders/containers. Also attempt to create a playlist have…
cescofry
  • 3,706
  • 3
  • 26
  • 22
1
vote
1 answer

CocoaLibSpotify - SPSearch Returns 0 Artists via KVO for @"a"

SPSearch was working as expected, initialized as: SPSearch* new_search = [[SPSearch alloc] initWithSearchQuery: search_string pageSize: 50 …
Asher
  • 1,195
  • 1
  • 11
  • 19
1
vote
1 answer

Array not showing in Table View

Can anyone tell me why my code isn't showing any results in my table view. Here is my code. I already tried to change the @"@" into indexPath.row without any luck. I 'm looking for any answer into the right direction. I'm fairly new to xcode and…
1
vote
1 answer

approval for iOS app using Spotify API

I have a Spotify developers key and have been preparing an iOS app for release that uses cocoalibspotify. Before I submit to Apple, I want to verify my account details and double check Spotify's approval process. But I can't find the info on…
Dave Norfleet
  • 409
  • 3
  • 14
1
vote
0 answers

Spotify: Client Upsell URL returns AccessDenied

Today, while testing logon and logoff to Spotify via CocoaLibSpotify 2.4.2 (with libspotify-12.1.51-iOS), I have observed errors after entering user and password in SPLoginViewController: Usually a upsell page is shown, but now there is only an…
x24
  • 11
  • 1
1
vote
1 answer

SPSearch key-value-observing and blocks

I'm working on a cross-source solution for playing music (see project on Github). Every so called 'content source' has methods which fetch tracks, albums and artists by a search query (defined in SMKContentSource protocol). The methods work…
miho
  • 11,765
  • 7
  • 42
  • 85
1
vote
1 answer

spotify player plays old track for some moments in iphone

I implemented Spotify in my application using CocoaLibSpotify library. I am playing spotify songs from different pages of my app. The problem is, after I played a song then when I try to play another song from another page, it plays the old song for…
Tinku George
  • 195
  • 2
  • 11
1
vote
1 answer

Spotify cocoalibspotify offline status set to 1 but all tracks stuck at waiting

I'm trying to allow tracks from Spotify to be played offline in my iOS app. I've read several posts about this problem, but none of the suggestions work for me. The issue is a playlist marked for download gets stuck with all tracks "waiting" to be…
Dave Norfleet
  • 409
  • 3
  • 14
1
vote
1 answer

Downloading cover art URL from Spotify and key-value observing

I'm displaying a list of Spotify tracks in a table view in my application, and I'd like to download the cover art for the albums that these tracks belong to. I'm logged in to CocoaLibSpotify, and I can play all the tracks, so that part is fine. What…
Hank
  • 25
  • 4
1
vote
1 answer

sessionDidEndPlayback not being called

I've included the SPSessionPlaybackDelegate and have included the method: -(void)sessionDidEndPlayback:(SPSession *)aSession { NSLog(@"song ended"); } Yet this is not called when the song ends its playback naturally. Is there something I should be…
joshb
  • 63
  • 4
1
vote
1 answer

CocoaLibSpotify login through Spotify app?

I've integrated CocoaLibSpotify with my iOS app, and I wonder if there's a way to save the user from having to enter credentials if they've already signed in to the Spotify app on their phone. I know Spotify doesn't support OAuth, but I did want to…
Hank
  • 25
  • 4
1
vote
1 answer

Save Spotify logged in user session in iPhone

I am implementing Spotify in iPhone. After the user is logged in to the Spotify in my application, I want to keep the user as logged in until he click logout button, ie, even after the application terminate and relaunch, I should get the session.…
Tinku George
  • 195
  • 2
  • 11
1
vote
1 answer

Spotify iPhone API to search playlists

I am implementing Spotify service in iPhone. I want to search playlists in Spotify. Is there any API in Spotify to get it. Please help.
Tinku George
  • 195
  • 2
  • 11
1
vote
1 answer

Spotify Simple Player example and libspotify

I have downloaded libspotify for iOS programming and I'm trying to run the Simple Player example. However, I keep getting the following error: Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool…
user1874064
  • 263
  • 1
  • 3
  • 10
1
vote
1 answer

Spotify app crashes with no crash log

I'm working with cocoalibspotify. My app is about finished but I'm stuck with some weird issue. When I try to login again after logging out, the app crashes leaving with no crash log and later on my debug point goes to the line…
Niru Mukund Shah
  • 4,637
  • 2
  • 20
  • 34