cgravolet / scroblr

A lightweight browser extension that scrobbles the music you listen to on the web.
http://scroblr.fm
Other
230 stars 62 forks source link

Chrome Extension Scrobbles Only After Song Is Over #62

Open KidA78 opened 9 years ago

KidA78 commented 9 years ago

I am noticing that I don't see any entries in my Last.fm of a song I'm currently listening to, until after that song has completed playing. It is my understanding that Scrobblers should log songs that I am currently listening to as well.

Tested in Chrome 38.0.2125.104, Mac OS X 10.9.4
Listening to Pandora and Soundcloud

KidA78 commented 9 years ago

@cgravolet if there is a setting or if this is the default behavior, please advise, thank you.

cgravolet commented 9 years ago

Several sites that scroblr supports do not provide the length of the track, which is pretty important when determining whether or not to scrobble a track while it's currently playing (last.fm recommends the track be scrobbled after it's played for 50% of the duration). That is the main reason scroblr will trigger the scrobble after the song is played as the default behavior.

This could be improved, maybe for sites that do report the duration it could scrobble when it knows 50% has elapsed, but act differently for sites with less track information. Thanks for the suggestion.

P.S. Sorry for the late response, for some reason I have not been getting notifications when issues are created.

shaaaaawn commented 9 years ago

this seems more like a working as designed than an issue. scrobbles typically don't scrobble until a certain duration has elapsed.

acmiyaguchi commented 9 years ago

Is this a closed issue? Would you guys be receptive to a PR or feature that enables scrobbling 50% through a song for sites that report song duration.