Questions tagged [spotify]

Spotify is a streaming music service for multiple platforms. This tag covers Spotify's various developer libraries and public APIs, including Web API, mobile SDKs, and Web Playback SDK.

The Spotify Platform allows developers to integrate Spotify in their applications using Spotify's Web API, iOS SDK, Android SDK, and Web Playback SDK. Read more about these and other tools on the Spotify for Developers website.

What Questions should I ask?

Questions using this tag should be about how to use one of these platforms. You may find that in some cases, a question that arises whilst developing for these platforms is not Spotify specific; e.g. a common JavaScript question whilst creating a Spotify Web API Application, or an Android question whilst using the Android SDK. In these cases, you should tag your question with the or tag instead.

Platforms

Web API

The Web API provides developers with an interface to query Spotify's extensive music catalogue through a REST interface, using OAuth 2.0 for authentication.

Useful Resources

Web Playback SDK

The Spotify Web Playback SDK makes it possible to add audio streaming to your website. You can use it in conjunction with the Spotify Web API to build rich applications on top of the Spotify platform.

Useful Resources

iOS SDK

The Spotify iOS SDK makes it easy to add audio streaming, playlist manipulation, metadata lookup and other Spotify features to iOS apps.

Useful Resources

Android SDK

Similarly to the iOS SDK, the Spotify Android SDK enables developers to do things like music playback, playlist manipulation, and metadata lookup.

Useful Resources

libspotify [DEPRECATED]

This C library allows third-party developers to write applications that utilize the Spotify music streaming service. Please note that this library is considered deprecated.

3397 questions
1
vote
1 answer

How to resume a song?

Possible Duplicate: Is there a way to pause with the spotify api? I'm working on Spotify in-app application. I like to implement play, pause, and resume functionalities. I can stop a song using playing(false) setter as indicated on…
Moon
  • 20,835
  • 65
  • 174
  • 263
1
vote
3 answers

Can Typekit be used in Spotify apps?

Spotify's Integration Guidelines (casually) mentions that Typekit can be used for introducing web fonts, but their auto-generated documentation makes no mention of what configuration needs to happen. Typekit, out of box, rejects the usual suspects…
Carson
  • 14,915
  • 19
  • 60
  • 82
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,796
  • 6
  • 31
  • 33
1
vote
1 answer

Spotify get user's playlists

Developping a spotify App, and I wanted to add dynamic playlist to user but I need to be sure that it's not already the case. Is there a way to get the playlist of the current user using Spotify javascript API ? Thanks
1
vote
0 answers

How to tell if back/forward buttons triggered argumentsChanged event in Spotify apps?

I am using application URIs and the argumentsChanged event to trigger page renders in my Spotify app. The pages are rendered afresh, scolled to the top of the page. For just browsing around using links and the sidebar and so on, this makes…
bfirsh
  • 63
  • 3
1
vote
2 answers

How to get only playable songs in US?

I'm working on a spotify app with facebook api. I have the following query. me/music.listens?limit=5&util=1 week ago or [friend id]/music.listens?limit=5&util=1 week ago when i get tracks from the above api, I get songs that're not playable in US.…
Moon
  • 20,835
  • 65
  • 174
  • 263
1
vote
2 answers

Grabbing Spotify playlist of an authenticated user

I want to grab users playlist and inbox. for an authenticated my app on spotify. same like we grab data from facebook api. Thanks EDIT: i found only tried https://developer.spotify.com/technologies/web-api/ but this provides only lookup and searcg…
Asghar
  • 2,288
  • 8
  • 42
  • 79
1
vote
1 answer

How to get sp_track* from URI?

there is a track uri like (spotify:track:14fmbvjYLqRZEXz1VZdM2M). we want to find the sp_track* from the uri. But there is a problem that we can not know where it is from, maybe it is from a playlist, a search result, or some where else. Currently I…
1
vote
1 answer

Spotify Web Apps - limit results to 50 instead of the default 100

Spotify Web XML/JSON (i'm using XML) makes you default to 100. Is there something I can add to the xml file i'm calling to limit the result to another number?
Jake
  • 1,399
  • 3
  • 16
  • 39
1
vote
1 answer

Canvas element with Spotify API

I am currently playing (test developing) an application that can be run on Spotify software platform. On the official website for Spotify Developers, the description clearly says that: JavaScript, HTML5, and CSS3 are the languages may be used for…
Boris Mocialov
  • 3,219
  • 1
  • 23
  • 51
1
vote
2 answers

Android: JSON or XML, caching

I'm working on a little Android project in java, I'm using the webapi of spotify to get me so data to play around with. First thing I notice when visiting: https://developer.spotify.com/technologies/web-api/ is that a developer can choose to use xml…
Tobrun
  • 17,781
  • 10
  • 62
  • 78
1
vote
3 answers

Spotify Tutorial App not found

I know very similar questions have been asked before. Like here: Spotify apps / home directory location (Windows local development)? But the solutions suggested in that thread have not worked for me. Here's what I've done: 1) Enabled developer…
Christofer Ohlsson
  • 2,987
  • 4
  • 36
  • 54
1
vote
1 answer

Can't develop apps on latest Spotify build

I've been developing a Spotify app for a while but a new version came out that doesn't allow for app development (can't find the local app anymore). I reverted back to the older build that used to be available on the Previews section of Spotify but…
Charbarred
  • 21
  • 2
1
vote
2 answers

Spotify API Drag & Drop playlists

I want to create a drag and droppable playlist using the Spotify API. var tracks = models.library.tracks; var playlist = new models.Playlist(); // loop through all tracks and add them to the playlist for (var i = 0; i < 25; i++) { var track =…
alex
  • 4,684
  • 6
  • 35
  • 50
1
vote
1 answer

Spotify Play Button track set limit?

I'm playing with the spotify play button and try to make it display an arbitrary set of tracks, that I'm giving as a comma-separated list of IDs. It works well most of the time, but it can happen that the button is not properly rendered, and…
jackj4ck
  • 13
  • 3
1 2 3
99
100