Questions tagged [spotify-queue]

9 questions
5
votes
3 answers

Add a song to the current play queue in a Spotify App

How can I add a track to the current play queue in a Spotify app?
user507410
  • 512
  • 4
  • 12
3
votes
1 answer

What data structure should I use for a music play queue?

I am making a music streaming application. One of the features is a play queue much like Spotify's where songs will automatically play from the artist, album, or playlist you started from or play songs you have queued if there are any. I am…
joshreesjones
  • 1,934
  • 5
  • 24
  • 42
2
votes
1 answer

Is it possible to get the most popular artist per city with the Spotify API?

I am wondering if it is possible to get the most popular artist of my city with the Spotify API.
user007
  • 1,557
  • 3
  • 16
  • 24
2
votes
1 answer

spotify apps javascript crossfading

How to achieve crossfading on a Spotify javascript based app? I'm creating a temp playlist and adding songs to it on the fly, the added song plays but doesn't crossfade. EDIT: I guess the real question is how to cause Spotify to do a refresh of the…
Lassi Kinnunen
  • 448
  • 4
  • 10
1
vote
1 answer

Spotify SDK for iOS, How to clear playerQueue

I'm new to the Spotify SDK. I just implemented auth, login and getting some track URIs. That works. However I can't find reset or clear music queue that is currently playing. I think [SPTAudioStreamingController queueURIs: clearQueue: callback:]; is…
fladdict
  • 11
  • 2
0
votes
1 answer

Get next tracks from queue through Spotify App API

Is there anyway to get the next tracks from the player queue? I get the current track using: var player = models.player; var playerTrackInfo = player.track; But I can't find the way to get the context, or the next track.
user1182379
  • 21
  • 1
  • 4
0
votes
1 answer

Adding songs to Spotify queue Android won't play next song automatically

I am using the spotify sdk in order to search and play songs. I have my own way of searching for songs since the sdk is not finished. The sdk does provide a player object which allows you to pass a song uri to it in order to play a song. There is…
Michael
  • 3,093
  • 7
  • 39
  • 83
0
votes
1 answer

How can I control spotify music from a different app and pull information such as playlist and track currently playing? (ANDROID)

How can I control Spotify (for example) music from a different app (the one I'm making) and pull information such as playlist and track currently playing? (Android) I want to build a prototype app to control spotify's MusicPlayer (play, pause,…
Tomas
  • 27
  • 2
0
votes
2 answers

Spotify Preview API: player.change event not fired on queued tracks

When playing from a playlist in Spotify, if I queue a track from somewhere else than the playlist currently playing (for example from a search result), the player's change event is not fired when the queued track starts playing. Are anyone else…
Magnar Myrtveit
  • 2,432
  • 3
  • 30
  • 51