ext: Remove get_library_updaters()

This commit is contained in:
Stein Magnus Jodal 2014-01-11 14:05:54 +01:00
parent 9321ae5f78
commit 95ef4c0193
2 changed files with 0 additions and 34 deletions

View File

@ -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
=========================

View File

@ -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.