From e51de5de915278ad29c108d89926904a907ac845 Mon Sep 17 00:00:00 2001 From: Sebastian Mohr Date: Thu, 4 Sep 2025 17:40:54 +0200 Subject: [PATCH] Removed data source as listenbrainz is not an metadata source plugin. closes #5975 --- beetsplug/listenbrainz.py | 3 +-- docs/changelog.rst | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/beetsplug/listenbrainz.py b/beetsplug/listenbrainz.py index f7b1389ef..2aa4e7ad6 100644 --- a/beetsplug/listenbrainz.py +++ b/beetsplug/listenbrainz.py @@ -13,7 +13,6 @@ from beetsplug.lastimport import process_tracks class ListenBrainzPlugin(BeetsPlugin): """A Beets plugin for interacting with ListenBrainz.""" - data_source = "ListenBrainz" ROOT = "http://api.listenbrainz.org/1/" def __init__(self): @@ -27,7 +26,7 @@ class ListenBrainzPlugin(BeetsPlugin): def commands(self): """Add beet UI commands to interact with ListenBrainz.""" lbupdate_cmd = ui.Subcommand( - "lbimport", help=f"Import {self.data_source} history" + "lbimport", help="Import ListenBrainz history" ) def func(lib, opts, args): diff --git a/docs/changelog.rst b/docs/changelog.rst index 95c22115b..4b4134cae 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -63,6 +63,8 @@ Bug fixes: ascii encoded. This resulted in bad matches for queries that contained special e.g. non latin characters as 盗作. If you want to keep the legacy behavior set the config option ``deezer.search_query_ascii: yes``. :bug:`5860` +- Fixed regression with :doc:`/plugins/listenbrainz` where the plugin could not + be loaded :bug:`5975` For packagers: