diff --git a/docs/extensiondev.rst b/docs/extensiondev.rst index 82144d0a..7fa19f7a 100644 --- a/docs/extensiondev.rst +++ b/docs/extensiondev.rst @@ -309,10 +309,6 @@ This is ``mopidy_soundspot/__init__.py``:: from .commands import SoundspotCommand return SoundspotCommand() - def get_library_updaters(self): - from .library import SoundspotLibraryUpdateProvider - return [SoundspotLibraryUpdateProvider] - def register_gstreamer_elements(self): from .mixer import SoundspotMixer gobject.type_register(SoundspotMixer) @@ -410,27 +406,6 @@ more details. return 0 -Example library provider -======================== - -Currently library providers are only really relevant for people who want to -replace the default local library. Providing this in addition to a backend that -exposes a library for the `local` uri scheme lets you plug in whatever storage -solution you happen to prefer. - -:: - - from mopidy.backends import base - - - class SoundspotLibraryUpdateProvider(base.BaseLibraryProvider): - def __init__(self, config): - super(SoundspotLibraryUpdateProvider, self).__init__(config) - self.config = config - - # Your library provider implementation here. - - Example GStreamer element ========================= diff --git a/mopidy/ext.py b/mopidy/ext.py index b29523a7..d4833275 100644 --- a/mopidy/ext.py +++ b/mopidy/ext.py @@ -89,15 +89,6 @@ class Extension(object): """ return [] - # TODO: remove - def get_library_updaters(self): - """List of library updater classes - - :returns: list of - :class:`~mopidy.backends.base.BaseLibraryUpdateProvider` subclasses - """ - return [] - def get_command(self): """Command to expose to command line users running mopidy.