I'm not one of them, but fans of music genres like Grindcore won't agree
with that only-scrobble-over-30-seconds limitation, already limited on
Last.fm. So it's not "wrong", it's just "not what the original standard
says".

On Thu, Aug 6, 2009 at 21:59, Alex Mauer <[email protected]> wrote:

> I've found a couple of problems with the Scrobble Free plugin, and so
> here's a pair of patches to fix them:
>
> First, the scrobbler always scrobbles the track, regardless of how much
> has been played.  This is because the "tick" signal uses nanoseconds for
> its elapsed time value, and the elapsed time in nanoseconds is
> practically always greater than half the track duration in seconds.
> Maybe if you had a really long track, or managed to play only a *very*
> short bit of the track...
>
> The solution is to use the shell's elapsed-changed signal instead of the
> player's tick signal.  An alternative would be to divide the tick
> 'elapsed' parameter by 1000000000 (one billion).  The fix is in
> tick-elapsed_changed.patch (attached)
>
> The second problem is that Scrobble Free uses the player's current
> position in the track as the elapsed play time, rather than using the
> actual amount of time that the track has been playing.  This means that
> if you seek past the halfway point and then skip to the next track, the
> track will be scrobbled regardless of how much was actually played.
> Conversely, if you play more than halfway through and then seek to the
> beginning and then skip, the track will not be scrobbled.  This may be
> useful for forcing a track to be scrobbled or not, but is IMO incorrect
> behaviour.
>
> Third, tracks of 30 seconds or less are scrobbled, which is incorrect.
>
> Fourth, a minor spelling error was corrected (in debug output;
> "scrobbing" -> "scrobbling"
>
> Fixes for these last three problems can be found in
> "elapsedplaytime.patch" (attached)
>
> Hopefully someone will find these useful.
>
> _______________________________________________
> Libre-fm mailing list
> [email protected]
> http://lists.autonomo.us/mailman/listinfo/libre-fm
>
>


-- 
Alvaro
_______________________________________________
Libre-fm mailing list
[email protected]
http://lists.autonomo.us/mailman/listinfo/libre-fm

Reply via email to