@@ -42,17 +42,17 @@ For plugin developers:
42
42
* The `fetchart ` plugins has seen a few changes to function signatures and
43
43
source registration in the process of introducing typings to the code.
44
44
Custom art sources might need to be adapted.
45
- * We split the responsibilities of plugins into two base classes:
46
- - :class: `beets.plugins.BeetsPlugin ` is the base class for all plugins, any plugin
47
- needs to inherit from this class.
48
- - :class: `beets.metadata_plugin.MetadataSourcePlugin ` allows plugins to act like
49
- metadata sources. E.g. used by the MusicBrainz plugin. All plugins
50
- in the beets repo are opted into this class where applicable. If you are maintaining a plugin
51
- that acts like a metadata source, i.e. you expose any of `track_for_id,
52
- album_for_id, candidates, item_candidates, album_distance, track_distance ` methods,
53
- please update your plugin to inherit from the new baseclass, as otherwise it will
54
- not be registered as a metadata source and wont be usable going forward.
55
-
45
+ * We split the responsibilities of plugins into two base classes
46
+ #. :class: `beets.plugins.BeetsPlugin `
47
+ is the base class for all plugins, any plugin needs to inherit from this class.
48
+ #. :class: `beets.metadata_plugin.MetadataSourcePlugin `
49
+ allows plugins to act like metadata sources. E.g. used by the MusicBrainz plugin. All plugins
50
+ in the beets repo are opted into this class where applicable. If you are maintaining a plugin
51
+ that acts like a metadata source, i.e. you expose any of `track_for_id,
52
+ album_for_id, candidates, item_candidates, album_distance, track_distance ` methods,
53
+ please update your plugin to inherit from the new baseclass, as otherwise it will
54
+ not be registered as a metadata source and wont be usable going forward.
55
+
56
56
Other changes:
57
57
58
58
* Refactor: Split responsibilities of Plugins into MetaDataPlugins and general Plugins.
0 commit comments