Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Playing songs with Spotify play api

Playing songs with Spotify play api

 

Plan

Premium

Country

India

 

 

Device

(Samsung Galaxy 9)

Operating System

(Android Oreo)

 

Hi am developing a flutter app to integrate with Spotify web api. Am getting all the data via Spotify web apis , the issue is i cant play the audio with  audio player package of flutter but a preview url which is getting from the response of 30 second is playing. I have noticed we can play the audio with play api by passing the device id (the unique id for identifying in which device the music is currently streaming) . But it"s not listing my device , when i login via Spotify app with same credentials the my device is listing in the response. When i redirect  my app to  webview of Spotify in that case also my device is listing but not listing in case of within my app. So how can i Implement this to play the audio  stream with in my app . 

 

Reply
2 Replies

If the device corresponds to the iOS or Android Spotify App, then it must be either the foreground app or playing music for it to be available for playback commands using the web API.

can you provide detailed description about it

Suggested posts