spotify / ios-sdk

Spotify SDK for iOS
https://developer.spotify.com/documentation/ios/
659 stars 187 forks source link

PlayerAPI enqueue track problem #112

Open sorrelj opened 5 years ago

sorrelj commented 5 years ago

I am trying to enqueue songs using...

self.appRemote.playerAPI?.enqueueTrackUri(trackURI, callback: nil)

and the songs are added in First in Last Out order rather than First in First Out which is expected from a queue.

Any help is appreciated. Thanks

gilmarcsf commented 5 years ago

+1

sorrelj commented 5 years ago

Any updates on this issue?

ChopinDavid commented 4 years ago

I'm sure you all are smart enough to figure this out, but I figured I'd suggest reversing whatever array of song ids you are passing into the enqueueTrackUri function.

marcinwlodarczyk commented 4 years ago

I'm sure you all are smart enough to figure this out, but I figured I'd suggest reversing whatever array of song ids you are passing into the enqueueTrackUri function.

@ChopinDavid can you please elaborate on that? does the enqueueTrackUri method work for you?