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

Expectations on loading tracks

Are there any guidelines, benchmarks or similar on what you can expect in terms of loading times, when you're loading a number of tracks (using SPAsyncLoading waitUntilLoaded:timeout:then)? The reason for me asking is that I've tried loading ~20…
Kristofer Sommestad
  • 3,061
  • 27
  • 39
1
vote
0 answers

SPTrack states it's loaded, but metadata isn't

At one point, I'm loading a number of SPTracks in an NSArray. When on a sketchy internet connection (i.e. connecting/disconnecting during load), I'm experiencing some unexpected (?) loading results: tracks are included in the loadedItems array, but…
Kristofer Sommestad
  • 3,061
  • 27
  • 39
1
vote
1 answer

Get facebook friends that also use spotify

I'm building an iOS app using the Spotify API that requires communication with my Spotify friends. I've come to realize that it's really facebook friends that also use Spotify and that to do that, you need to authenticate with facebook in order to…
GKeps
  • 456
  • 5
  • 6
1
vote
1 answer

Spotify Open Audio Player

Currently I can play spotify tracks. I'm able to listen tracks. But what if I want to open an audio player just like spotify does & want to see the player with its controls along with listening? My code goes here : // Invoked by clicking the Cell in…
Niru Mukund Shah
  • 4,637
  • 2
  • 20
  • 34
1
vote
1 answer

Spotify Playlist URl

I'm working with Spotify. I've Spotify playlist with me. Now the question is how to obtain the url from that playlist in order to play the song??
Niru Mukund Shah
  • 4,637
  • 2
  • 20
  • 34
1
vote
1 answer

Can the cocoalibspotify metatdata methods be used without a Spotify account?

This appears to have been last addressed a year ago here: Accessing Spotify Metadata API from within a Spotify app? It seems that the cocoalibspotify API has been worked on a lot since then, but can someone confirm that we still have to fall back to…
Gareth
  • 13
  • 2
1
vote
1 answer

Callbacks on SPPlaylist are not called

I'm having problems with receiving changes on a playlist (added, removed, and moved tracks). I have the following flow: create SPSession login create Playlist from URI Then I change the playlist in the Spotify desktop app by adding, removing and…
Emiel
  • 144
  • 4
1
vote
1 answer

Obtaining a lists of artists using cocoalibspotify for iOS

I'd like to quickly get a list of artist names in a user's "library" or playlists. Is there an easy / asynchronous way to do this?
devinross
  • 2,816
  • 6
  • 34
  • 34
0
votes
0 answers

How to manipulate (slow down/change pitch) audio from Spotofy?

From what I've found online so far, it seems as though the Spotify SDK does not allow developers to manipulate audio (by slowing down songs/changing their pitch); all it allows you to do is simply play the audio at its original pitch/speed. What I'm…
spitchay
  • 89
  • 1
  • 10
0
votes
1 answer

Getting a user's playlists and being able to pick a song from it

Here's what I've tried so far: - (IBAction)getPlaylistsButtonTapped:(id)sender { NSURLRequest *playlistrequest = [SPTPlaylistList createRequestForGettingPlaylistsForUser:@"charleshyowonkang" withAccessToken:_accessToken error:nil]; [[SPTRequest…
0
votes
1 answer

Error in Spotify's iOS SDK tutorial

I am currently following Spotify's tutorial on the iOS SDK. I am also converting the Objective-C code t Swift. Spotify wants me to run this code: -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url …
iProgram
  • 6,057
  • 9
  • 39
  • 80
0
votes
1 answer

Spotify Streaming - Wireless Bluetooth Codec

As I understand it, streaming via bluetooth is handled via the A2DP profile. While the SBC codec is default, A2DP supports AAC, MP3, and a few other Codecs. My question is, since spotify files are in the OGG VORBIS format (OGG Container, Vorbis…
0
votes
1 answer

CocoaLibSpotify get five most recently starred songs

I am trying to get the last 5 songs that a Spotify user has starred. After looking at the Guess the Intro example that Spotify provides, I was able to pull the entire playlist, but I was wondering if there is a way in cocoaLibSpotify for me to only…
0
votes
1 answer

Shared Authentication between Spotify Libraries

After the new update to the Spotify iOS SDK and Web API I have been working with the new libraries (they're great!) However I am wondering how does one authenticate a user once, say on iOS, and then share this authentication token to the other…
0
votes
1 answer

Check if Spotify playlists and tracks failed to load

How can I detect if spotify has failed to load. If the device does not have internet connection, I understand that SPAsyncLoad can still get the tracks that were cached. But is there a way to detect a failure of loading in SPAsyncLoad if there is no…
SleepNot
  • 2,982
  • 10
  • 43
  • 72