Re: [Banshee-List] Scoring question
- From: Michael Martin-Smucker <mlmartin13 gmail com>
- To: banshee-list gnome org
- Subject: Re: [Banshee-List] Scoring question
- Date: Tue, 10 May 2011 14:16:27 -0400
Freddy, I'm not sure I understand #2, because I think you said "PlayCount" when you actually meant "Score" a few times, but if Banshee is changing the Score or SkipCount of a song when it fails to load, that definitely sounds like a bug. Also, if gapless sets a completed song's score to 99 instead of 100, that's also a bug.
Banshee's scoring should actually be pretty simple:
If you complete a song that has never been played or skipped before, set that song's score equal to the percent that you just listened to x100.
If you complete a song that you have played or skipped before, the song's new score is equal to ((the song's old score x the total number of plays and skips) + (the percent that you just listened to x100)) divided by the total number of plays and skips +1.
If you see anything that isn't consistent with this, it would be good if you could (check if it still happens with gapless turned off, and) report it as a bug:
http://banshee.fm/contribute/file-bugs/
Michael
On Tue, May 10, 2011 at 7:58 AM, Freddy-N
<freddy-neumann arcor de> wrote:
@Brian Lucas-3
Banshee has a crazy implementation of calculating score values - or it is a
bug.
1. Playing a song less than 50% of it's length results in PlayCount=0
because of rounding.
2. Stopping a song before end yields an initial PlayCount which is
calculated from it's procentual played length. When playing stopps at x% of
it's length then PlayCount=x.
This behavior has some strange side effects.
When file loading stucks then Banshee sets PlayCount to a very small value
(~1) and takes the next song.
When gapless playing is enabled then playing is aborted often just before
end and PlayCount is set to ~99.
Both "features" together could yield PlayCount=0 and SkipCount=1.
Typing "playcount=0 skipcount>0" in Banshee's query field shows a lot of
songs on my computer with PlayCount=0, SkipCount=1 and a Score below 50.
BTW: The SQL code from isaaclw corrects this problem...
@isaaclw
The same SQL code is used by Banshee to migrate databases. The code works
also with 'sqlite3' in a terminal.
--
View this message in context: http://banshee-media-player.2283330.n4.nabble.com/Scoring-question-tp3497316p3511640.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]