mirror of
https://github.com/beetbox/beets.git
synced 2025-12-06 08:39:17 +01:00
Removed data source as listenbrainz is not an metadata source plugin.
closes #5975
This commit is contained in:
parent
55667fa1e8
commit
e51de5de91
2 changed files with 3 additions and 2 deletions
|
|
@ -13,7 +13,6 @@ from beetsplug.lastimport import process_tracks
|
||||||
class ListenBrainzPlugin(BeetsPlugin):
|
class ListenBrainzPlugin(BeetsPlugin):
|
||||||
"""A Beets plugin for interacting with ListenBrainz."""
|
"""A Beets plugin for interacting with ListenBrainz."""
|
||||||
|
|
||||||
data_source = "ListenBrainz"
|
|
||||||
ROOT = "http://api.listenbrainz.org/1/"
|
ROOT = "http://api.listenbrainz.org/1/"
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
@ -27,7 +26,7 @@ class ListenBrainzPlugin(BeetsPlugin):
|
||||||
def commands(self):
|
def commands(self):
|
||||||
"""Add beet UI commands to interact with ListenBrainz."""
|
"""Add beet UI commands to interact with ListenBrainz."""
|
||||||
lbupdate_cmd = ui.Subcommand(
|
lbupdate_cmd = ui.Subcommand(
|
||||||
"lbimport", help=f"Import {self.data_source} history"
|
"lbimport", help="Import ListenBrainz history"
|
||||||
)
|
)
|
||||||
|
|
||||||
def func(lib, opts, args):
|
def func(lib, opts, args):
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,8 @@ Bug fixes:
|
||||||
ascii encoded. This resulted in bad matches for queries that contained special
|
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
|
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`
|
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:
|
For packagers:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue