mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-02 09:49:36 +01:00
update Beets
This commit is contained in:
@@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user