After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 574869 - Calculate Play Rate (Play %) statistics for each song
Calculate Play Rate (Play %) statistics for each song
Status: RESOLVED DUPLICATE of bug 555116
Product: banshee
Classification: Other
Component: Smart Playlists
1.4.3
Other Linux
: Normal enhancement
: 1.x
Assigned To: Gabriel Burt
Gabriel Burt
Depends on:
Blocks:
 
 
Reported: 2009-03-11 00:10 UTC by Greg K Nicholson
Modified: 2009-03-11 00:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Greg K Nicholson 2009-03-11 00:10:56 UTC
Banshee should calculate the Play Rate (or “Play %”) for each song, defined as:

100% × (play count) ÷ (play count + skip count)

…except when (play count + skip count) = 0, in which case Play Rate is defined as 0. (The mathematician in me wants a number from 0 to 1, but 0 to 100 would be better for normal people, hence the “100% ×”.)

It should be possible to restrict smart playlists to a specific range of play rates, and sort by highest or lowest play rate.

This would be a useful surrogate for Amarok's “score” statistic – similar to an automatically-calculated rating.

There would be no need for Banshee to collect any extra data, just to do one more simple calculation after each play or skip.

For bonus points, if I play 40% of a song and then skip it, the play count should increase by 0.4 and the skip count by 0.6.
Comment 1 Gabriel Burt 2009-03-11 00:16:50 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 555116 ***