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
2
votes
1 answer

How do I make sure my static library has the right architectures for CocoaLibSpotify?

I get this error when I try to build a project using CocoaLibSpotify. ld: warning: directory not found for option '-FLibrary/libspotify-12.1.64-iOS-universal' ld: warning: ignoring file…
Michael
  • 2,973
  • 1
  • 27
  • 67
2
votes
1 answer

App crashes on launch due to Spotify issue

We are working on a project where we are fetching feeds from Spotify. We have integrated Spotify library in the same. The app was rejected by MFI approval process due to app launch crash issue. We are stuck here. Its really urgent and we appreciate…
Achal
  • 29
  • 3
2
votes
1 answer

Xcode refuses to see appkey.c

I am attempting to include a Spotify player (to play a playlist) as part of my app. I have imported and successfully linked cocoalibspotify and it compiles fine, but as soon as I do the line #include "appkey.c" I get the compiler error…
Bongeh
  • 2,300
  • 2
  • 18
  • 30
2
votes
1 answer

cocoalibspotify: Crash during playback callback under music_delivery

We have crashes when playing using cocoalibspotify: The problem looks like that in the callback function music_delivery() under SPSession.m, the instance initiated callback is not a SPSessionAudioDeliveryDelegate compatible instance. However, the…
wao813
  • 468
  • 1
  • 5
  • 14
2
votes
1 answer

Is there any way to obtain a Spotify Premium account for testing?

I'm developing an iOS app using Cocoalibspotify. Last week I submitted it to the App Store. A few days later I received a message saying that they cannot test my app without a test account. Is there any way that I can obtain a test premium spotify…
cbbcloud
  • 479
  • 5
  • 15
2
votes
1 answer

Cocoalibspotify, Cover art not loading with rest of metadata

In the sample project, Guess the Intro, there is a method called waitAndFillTrackPool that gets all the tracks from a user's playlists. Inside this method, a call is made using SPAsyncLoading to get all the tracks' metadata. [SPAsyncLoading…
2
votes
1 answer

CocoaLibSpotify fails to compile in XCode 4.6 / iOS 6.1

CocoaLibSpotify fails compilation in XCode 6.5 Preview 2 / iOS 6.1 SDK with this error: /LibSpotify/spotify-cocoalibspotify-a6c2579/iOS Library/../common/SPImage.m:55:65: error: strong property 'session' may not also be declared…
avive
  • 361
  • 2
  • 10
2
votes
1 answer

All playlists seem to lack subscribers

All playlists that I have checked so far has returned 0 subscribers. Am I doing something wrong? Do you need special rights to do this? I am using cocoalibspotify 2.2.0. Here's the code: playlistURL = [NSURL…
pierrovic
  • 338
  • 4
  • 6
2
votes
1 answer

Star a song in spotify from an external source?

I'm looking for a way to star a song in Spotify without having to go to the app itself. For instance: I'm playing a game on fullscreen, or I'm working on something and Spotify is on for music. I hear a great song and I want to star it. Now instead…
2
votes
1 answer

libspotify and local MP3 files

With the desktop version of Spotify, it's possible to add local MP3 files to playlists and play them. Is this also possible with libspotify?
Ward Bekker
  • 6,316
  • 9
  • 38
  • 61
2
votes
1 answer

cocoalibspotify error when attempting to play certain tracks

I'm attempting to play the top tracks from the result of an SPArtistBrowse using cocoalibspotify. Most of the time this works flawlessly, but occasionally I get the following error: Error Domain=com.spotify.CocoaLibSpotify.error Code=3 "The track…
Matt Bridges
  • 48,277
  • 7
  • 47
  • 61
1
vote
1 answer

How to lower or higher the volume of music in Spotify SDK Swift

I'm working on a simple app that allows a user to sign in with his/her spotify account and then plays a song after user authentication. I tried following the spotify-provided tutorial, but i am really confused how to get volume and how to set low or…
Sham Dhiman
  • 1,348
  • 1
  • 21
  • 59
1
vote
0 answers

Spotify track is not playing after I stopped `MPMusicPlayerController.systemMusicPlayer` track

In my application, I am using MPMusicPlayerController.systemMusicPlayer for the playing song of Apple music, it's working fine. But when I play back Spotify track using playSpotifyURI it's not working. I have checked logs but not showing error…
Ilesh P
  • 3,940
  • 1
  • 24
  • 49
1
vote
2 answers

Spotify play full tracks workaround?

I am trying to build an application that plays Spotify songs, among other features. I am well aware that the Spotify API doesn't provide web access to full tracks on desktop. However, I'd still like to explore other workarounds or options. My web…
1
vote
1 answer

SPTAudioStreamingController stop playURIs short buffer

If the Spotify stream was stopped by the user and then another Spotify stream is played, there's a short "buffer" where the old stream is playing before it switches to the new one. How to avoid short buffer to be played? Code example: // User taps…
Ramis
  • 13,985
  • 7
  • 81
  • 100
1
2
3
9 10