twolfson / google-music-electron

Desktop app for Google Music on top of Electron
The Unlicense
262 stars 40 forks source link

Feature request: last.fm scrobbling support #11

Open jck opened 9 years ago

jck commented 9 years ago

This can be used as a reference: https://github.com/cgravolet/scroblr

twolfson commented 9 years ago

I don't quite follow. Can you elaborate more?

jck commented 9 years ago

scrobble (third-person singular simple present scrobbles, present participle scrobbling, simple past and past participle scrobbled)

  1. (Internet, slang) To publish one's music-listening habits via software, as counted events when songs or albums are played, to selected internet services in order to track them over time, out of curiosity and/or to make them visible to others.

Most music players already support last.fm scrobbling. The extension I linked to above implements last.fm scrobbling for chrome.

twolfson commented 9 years ago

Cool, thanks for the extra info. This seems like a worthwhile feature but also I have no idea how much time investment is involved. There seems to be an API for publishing to LastFM via an API key.

http://node-modules.com/search?q=last+fm

https://github.com/jammus/lastfm-node

How were you imagining the integration going? (e.g. GUI based login, provide a CLI flag, provide an environment variable)

jck commented 9 years ago

GUI based login is how it is usually done.

twolfson commented 9 years ago

Alright, cool. I am going to mark this issue as a "help wanted". If anyone decides to start working on this, please send some prototype screenshots (e.g. screenshot/mock what the user is going to see -- easiest via HTML/CSS) before completing the full integration to prevent both excess work and frustration by both parties.

chrismou commented 8 years ago

I'll take a look at this at some point soon. I've integrated the last.fm API into dozens of apps, though mostly in PHP so I may be punching above my weight a bit. Though the difficult part (for me) will be getting the auth flow right - the rest should be relatively simple.

When I find some free time I'll mock something up. Though if someone stumbles across this in the meantime and fancies a crack, go right ahead.

jck commented 8 years ago

I think doing auth like chrome extensions do(ex: scroblr) would be best.

darylf commented 8 years ago

I would love this feature. I used to use a Firefox Add-on by @fuzeman called "GoogleMusicScrobbler" (Github source). Perhaps some concepts can be borrowed from there (note: it's licensed under MPL 2.0)

chrismou commented 8 years ago

Cheers for the tips guys, I'll be sure to check them out!