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

CocoaLibSpotify - receiving remote control events and setting now playing info

There's not much to my question I guess. I'm just curious about how CocoaLibSpotify works with AVFoundation and if it's compatible with how Apple needs me to register for remote control events and to set the now playing info in…
Matt Egan
  • 809
  • 1
  • 10
  • 16
0
votes
1 answer

Custom Airplay button with cocoalibspotify

I'm using SPPlaybackManager and i saw that there is support in Airplay , but i can't find any function that activate the airplay , the only support i see is when i press the home button twice swiping right till i see the airplay button. is there any…
Gilad
  • 43
  • 9
0
votes
1 answer

How can i make a function using cocoalibspotify that checks if track is starred and display the star next to the starred track (TABLE)

I want to add an option to my spotify application which using Cocoalibspotify (iOS) that will mark all the Starred song with some image that i'v made, the problem is that: for checking if SPTrack is starred or not i should load the track using…
Gilad
  • 43
  • 9
0
votes
1 answer

Spotify playback manager returns incorrect timeposition

When my iOS app plays a Spotify track that has not been off-lined, there is sometimes a short lag before play beings. The occasional delay in play is understandable. But the timeposition property on SPPlaybackManager starts advancing when the track…
Dave Norfleet
  • 409
  • 3
  • 14
0
votes
1 answer

How to deal with 2-step authentication for Facebook on Spotify login?

I've integrated the cocoalibspotify framework into my application, and at some point I ask the user to log in to Spotify. The login view controller presents a Facebook login, but does not switch to the Facebook application. However, I have tested…
Alex
  • 7,432
  • 20
  • 75
  • 118
0
votes
2 answers

Setting up CocoaLibSpotify correctly?

I´m using the Spotify API for my new iOS project and just finished the setup, but not sure I did this the right way. I created a new project and added the CocoaLibSpotify iOS Library.xcodeproj by right clicking my project -> "Add Files...". So the…
0
votes
1 answer

CocoalibSpotify how to monitor playback rate change due to network lost

I'm using cocoalibspotify and I'm trying to monitor the playback stop/pause due to temporary network lost. In that case the spotify will stop playing. I tried to observe "playbackManager.isPlaying" key change, but it only changes when i manually…
wao813
  • 468
  • 1
  • 5
  • 14
0
votes
1 answer

Using Spotify API to know how many times an artist is played

Can you use the Spotify API to know how many times an artist is played each hour or day?
0
votes
1 answer

cocoalibspotify SPPlaylistContainer Vs SPPlaylist - can i load the container only to get the flattenplaylists?

I wrote a program that fetch the userplaylist, the problem is with the loading time which is very high (around 20sec) is there another approach about loading those playlist(userplaylists) ? i used SPASYNCLOAD to load the container then another…
Gilad
  • 43
  • 9
0
votes
1 answer

Searching spotify user's music library for particular genre

I am developing third party app on spotify platform. In that, user have to select spotify user's music library playlist (top 100 songs by Spotify user). So, I am trying to search spotify library for particular genre. I am using SPSearch with Query…
Rahul Mane
  • 1,005
  • 18
  • 33
0
votes
1 answer

How to play next track from array

I'm building an app and using spotify. I managed to start and pause a song....But i can't get my head around the playnext button and playprevious button. can some please tell me how to handle these events with the libspotify playbackmanager. I have…
0
votes
1 answer

Trying to call a second table view with the items of de selected playlist in the first view

Maybe there's someone outthere who can help me fiure out my problem. I cant seem to display the playlistItems using cocoalibspotify. I have set up my playlistview and the first ableviewcontroller shows the playlist but when i try to call the items…
0
votes
1 answer

Where's the documentation on building a CocoaLibSpotify CLI app?

I can swear I've seen documentation on how to build a command line application utilizing CocoaLibSpotify, but now I cannot find it. It's not in the CocoaLibSpotify Github repo's documentation. Where is it? Edit: There's some info on how to use…
Niklas Berglund
  • 3,563
  • 4
  • 32
  • 32
0
votes
1 answer

CocoaLibSpotify Create playlists ending

I'm creating an IOS App based on cocoaLibSpotify. In some point, I'm creating a Spotify playlist from an array of songs. I have previously obtained all the Spotify URIs and then I create the playlist and add all the tracks one by one. The code below…
Pablo Blanco
  • 69
  • 10
0
votes
1 answer

Use Built-in Audio Controls with cocoalibspotify on iOS

How can I make my cocoalibspotify app for iOS respond to the built-in pause/play and next/previous controls? I see no documentation of this.
matt3141
  • 4,303
  • 1
  • 19
  • 24