mopidy / mopidy-scrobbler

Mopidy extension for scrobbling played tracks to Last.fm
https://mopidy.com/ext/scrobbler/
Apache License 2.0
66 stars 14 forks source link

Add minimal play time in config for scrobbling #12

Open simonsmiley opened 9 years ago

simonsmiley commented 9 years ago

It would be nice to be able to set the minimal time a track has been played to be scrobbled in mopidy's config file. would only be a couple of lines of code....

jodal commented 9 years ago

The rules are regulated by the Last.fm API docs, ref. http://www.last.fm/api/scrobbling#when-is-a-scrobble-a-scrobble.

What's the use case for not following the API guidelines?

simonsmiley commented 9 years ago

The first thing I was intereseted in was to know when exactly a track got scrobbled. Providing a config option would point that out. Personally I would like to only scrobble when a track got played completely. (and I can imagine that given the option others would tweak that setting too) Lastly providing that configuration option can still follow the guidelines, since they only have minimal requirements. I would totally understand if you don't want to include this. In that case I would probably just implement it for me. Just wanted to know if anyone else was interested or not