update Beets

This commit is contained in:
AdeHub
2024-08-24 16:44:41 +12:00
parent a63098a919
commit 046d4d82b4
116 changed files with 17353 additions and 9964 deletions

View File

@@ -16,20 +16,25 @@
"""
from beets.plugins import BeetsPlugin
from beets import ui
from beets.plugins import BeetsPlugin
class FreedesktopPlugin(BeetsPlugin):
def commands(self):
deprecated = ui.Subcommand(
"freedesktop",
help="Print a message to redirect to thumbnails --dolphin")
help="Print a message to redirect to thumbnails --dolphin",
)
deprecated.func = self.deprecation_message
return [deprecated]
def deprecation_message(self, lib, opts, args):
ui.print_("This plugin is deprecated. Its functionality is "
"superseded by the 'thumbnails' plugin")
ui.print_("'thumbnails --dolphin' replaces freedesktop. See doc & "
"changelog for more information")
ui.print_(
"This plugin is deprecated. Its functionality is "
"superseded by the 'thumbnails' plugin"
)
ui.print_(
"'thumbnails --dolphin' replaces freedesktop. See doc & "
"changelog for more information"
)