Re: [Banshee-List] Score column



2009/10/28 davide <lists4davide gmail com>:
> Hello,
> I was wondering how the score column work.
> 1 play  = 100
> 2 plays =  50
> 3       =  67
>
> Shouldn't the score augment listening many times to the same song?

The score is increased for each play and decreased for each skip.
Partial plays are also taken into account.

More precisely:

  score_0 = 0
  score_i+1 = (score_i * i + p_i * 100)/(i + 1)

where p_i∊[0,1] is the proportion of song that was actually played on
i-th iteration.

See OnPlaybackFinished() in
src/Core/Banshee.Core/Banshee.Collection/TrackInfo.cs for
implementation details.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]