Score column

View: New views
2 Messages — Rating Filter:   Alert me  

Score column

by imonkeys :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?



_______________________________________________
banshee-list mailing list
banshee-list@...
http://mail.gnome.org/mailman/listinfo/banshee-list

Re: Score column

by Alexander Kojevnikov :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

2009/10/28 davide <lists4davide@...>:
> 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.
_______________________________________________
banshee-list mailing list
banshee-list@...
http://mail.gnome.org/mailman/listinfo/banshee-list