[mythtv] Setting lastplay value after a give time/percentage of playback (last.fm script)

Paul Harrison mythtv at dsl.pipex.com
Sun Dec 23 17:04:16 UTC 2007


Ashley Bostock wrote:
> Awesome, thanks for the quick "fix".
>
> The last.fm <http://last.fm> submittion docs
> (http://www.audioscrobbler.net/development/protocol/
> <http://www.audioscrobbler.net/development/protocol/>) say that a
> track should only be submitted if...
>
> "The track must have been played for a duration of at least 240
> seconds *or* half the track's total length, whichever comes first."
>
> ... would it be possible to set it up like that as the default
> behavior? Seems like a sensible idea, no?
> If you think not then that's fine, I think I can follow your changes
> enough to implement that on my personal version.
>
> Thanks again,
> Ash
>

You can now do this but you will have to change the default delay from
15 to 240 seconds by adding the setting described in the commit message.

http://svn.mythtv.org/trac/changeset/15222/trunk

Paul H.


More information about the mythtv-dev mailing list