thorpelawrence / alexa-spotify-connect

Control Spotify Connect devices with Alexa
MIT License
97 stars 53 forks source link

Add current song to your library #32

Open gebv opened 5 years ago

gebv commented 5 years ago

Add current song to library. Any plans to implement?

thorpelawrence commented 5 years ago

I suppose it would be possible if you can obtain the ID for the current track and add that to the library. I'm not sure if that would require any more authentication scope or anything though.

Do you know if the official Spotify support already provides this feature?

gebv commented 5 years ago

it is what needed?

GET | /v1/me/player/currently-playing | Get the User's Currently Playing Track | currently playing object

PS I not had researched deeply on the theme

thorpelawrence commented 5 years ago

I think that would be it yeah, I'm not sure how difficult it would be to implement but it's unlikely I will have the time to implement it soon unfortunately

gebv commented 5 years ago

I'll see what I can do. I hope you will accept my PR.

thorpelawrence commented 5 years ago

That sounds great, thanks for the help! If you notice anything about 'authentication scopes' I might need to add please let me know, but otherwise it should be fine