GNOME Bugzilla – Bug 468639
Autorating
Last modified: 2008-05-22 22:07:05 UTC
Is possible add autorating feature ?
I'm not sure I like this idea (not that it means much), but in the interest of discussion, how would you like it to work? Based on the play count or something?
yes yes, based on the play count. There is a plugin for quodlibet that can do that: # Copyright 2005 Joe Wreschnig # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation # # $Id$ from plugins.events import EventPlugin class AutoRating(EventPlugin): PLUGIN_ID = "Automatic Rating" PLUGIN_NAME = _("Automatic Rating") PLUGIN_VERSION = "0.22" PLUGIN_DESC = ("Rate songs automatically when they are played or " "skipped. This uses the 'accelerated' algorithm from " "vux by Brian Nelson.") def plugin_on_song_ended(self, song, skipped): if song is not None: rating = song["~#rating"] invrating = 1.0 - rating delta = min(rating, invrating) / 2.0 if skipped: rating -= delta else: rating += delta song["~#rating"] = rating It's simple and good :)
Please specify the latest version of banshee you have been able to test this against or let us know that this is no longer a problem. Thank you for helping us keep track of your bug.
(In reply to comment #3) > Please specify the latest version of banshee you have been able to test this > against or let us know that this is no longer a problem. Thank you for helping > us keep track of your bug. Either 0.13.1 or SVN trunk would do.
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 419844 ***