VolkerL / nowplaying

NowPlaying is a simple application to retrieve your current playing song.
GNU General Public License v3.0
0 stars 0 forks source link

HypeMachine integration #1

Open VolkerL opened 10 years ago

VolkerL commented 10 years ago

When scrobbling song data from HypeMachine to Last.fm, Last.fm does not mark tracks as nowplaying=true. Actually, it seems HypeMachine only scrobbles songs that stopped playing.

Either way, this means I can't find the current playing song when people scrobble from HypeMachine. As there is no HypeMachine API that I am aware of I managed to obtain the info programmatically by parsing the actual HypeMachine website. This however leads to a 403 error after a while, even when I query only once every 30 seconds. I personally believe this is already too big of an interval for a NowPlaying application.

Any help or ideas are appreciated.

VolkerL commented 8 years ago

I decided to create a Chrome browser extension to fix this problem. The extension only scrobbles the current track from HypeMachine to Last.fm. It works in sync with the current HypeMachine scrobbling, so you don't get any duplicate entries in your Last.fm history if you have that turned on.

See https://github.com/VolkerL/nowplaying-hypemachine.