spotify / web-api

This issue tracker is no longer used. Join us in the Spotify for Developers forum for support with the Spotify Web API ➡️ https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer
983 stars 79 forks source link

Retrieve User's Currently Playing Track #12

Closed sanjams2 closed 7 years ago

sanjams2 commented 9 years ago

Is there a way/plans of an update to the web-api that provides a way to get the song a user is currently listening to?

mathie commented 8 years ago

It strikes me that there are good technical reasons why this API isn't available yet -- it's the sort of thing that a client is going to want to get timely updates for, so a traditional polling API request would have to be quite frequent, which would take a fair bit of resource to scale to the sorts of traffic y'all would throw at it. 😉 Some sort of eventsource/websocket API would probably work better, but that's a pattern that isn't (as far as I can see) implemented elsewhere in the API, so will require a bit of engineering effort to build out.

Personally, I don't mind if there's a public API for getting an up to date current track. What I really want is a @zapier trigger when the track I'm listening to changes, so I can hook it up without writing any code. But I'll take a 👍 here as a fallback. 😄

micahco commented 8 years ago

I wrote this bash script that lets you get information on the current Spotify. It uses the dbus message from the Spotify app to get the metadata.

cristianomad commented 8 years ago

+1

Swipe650 commented 8 years ago

+1

perlboy commented 8 years ago

+1

amaurymedeiros commented 8 years ago

+1

felipevieira commented 8 years ago

+1

daniloaf commented 8 years ago

+1

perlboy commented 8 years ago

A firehose would be most useful but I suspect this wouldn't be in Spotify's best commercial interests (understandably). For what it's worth you can connect scrobbles to Last.fm and use their API. Also, the DBUS solution is an "ok" local solution but personally I'm looking for a RESTful method.

barreyro commented 8 years ago

+1

kandros commented 8 years ago

+1

tobi1220 commented 8 years ago

+1 definitely!

DatDucati commented 8 years ago

I would love this. +1

wnvuong commented 8 years ago

+1

guido4000 commented 8 years ago

Actually the last.fm API is a good workaround for certain use cases. http://www.last.fm/api/show/user.getRecentTracks

scharfstein-dev commented 8 years ago

+1

mxwllco commented 8 years ago

+1

christoph-kluge commented 8 years ago

+1

ghost commented 8 years ago

+1

malonehedges commented 8 years ago

@thelinmichael any updates on this feature?

davericher commented 8 years ago

I swear I waited a year before searching this down again, very disappointed it is not a thing.

dirkjanfaber commented 8 years ago

+1

druvisc commented 8 years ago

How is this not a thing

davericher commented 8 years ago

How about we all put our subscriptions on hold until this is in fact a thing... Github is not working, time to vote with wallets

djdavidvera commented 8 years ago

+1

tomquirk commented 8 years ago

+1

marcusjwhelan commented 8 years ago

yes please +1

xavierhb commented 8 years ago

+1

malonehedges commented 8 years ago

@davericher I'm for sure unsubscribing from this issue on GitHub, just keep getting +1 notifications.

timothyjamesjensen commented 8 years ago

+1

ghost commented 8 years ago

+1

jokkon commented 8 years ago

+1

jakehardy commented 8 years ago

+1 Chop Chop..... ;)

blaster151 commented 8 years ago

+1

jaredbaszler commented 8 years ago

+1

AlexGustafsson commented 8 years ago

+1

tjhillard commented 8 years ago

+1

abernerus commented 8 years ago

+1

ghost commented 8 years ago

+1 @thelinmichael any news on that topic? I run a small Startup and we really looking forward to this 👍

Serdiev commented 8 years ago

+1

gabrieljaquish commented 8 years ago

+1 I would love to show what is currently playing on my "whats on tap" screen for my kegarator

joelr commented 8 years ago

+1

aurukas commented 8 years ago

+1

CryoBrown commented 8 years ago

Wanted to create an easy way to basically assign a hotkey to save the currently playing track, half of which is easy as saving a track is an endpoint, the other half of which should also be easy as getting the currently playing track should be an endpoint, but isn't.

hughrawlinson commented 8 years ago

Hi @CryoBrown, are you using a Mac? If so, you can grab the currently playing Spotify track using our Applescript API. Hope that helps!

CryoBrown commented 8 years ago

Yeah, I discovered that after a bit more digging, a bit annoying that I have to mix and match APIs and use platform specific features, but I can make it work.

Khrotan commented 8 years ago

+1

AlicanGultekin commented 8 years ago

still waiting for this

aaronapple commented 8 years ago

+1

limex commented 8 years ago

+1