|
@@ -2,6 +2,7 @@ from mopidy import config, ext
|
|
|
__version__ = pkg_resources.get_distribution("Mopidy-SmartPlaylists").version
|
|
__version__ = pkg_resources.get_distribution("Mopidy-SmartPlaylists").version
|
|
|
|
|
|
|
|
class Extension(ext.Extension):
|
|
class Extension(ext.Extension):
|
|
|
|
|
+
|
|
|
dist_name = "Mopidy-SmartPlaylists"
|
|
dist_name = "Mopidy-SmartPlaylists"
|
|
|
ext_name = "smartplaylists"
|
|
ext_name = "smartplaylists"
|
|
|
version = __version__
|
|
version = __version__
|
|
@@ -17,5 +18,7 @@ class Extension(ext.Extension):
|
|
|
|
|
|
|
|
def setup(self, registry):
|
|
def setup(self, registry):
|
|
|
from .backend import SmartPlaylistsBackend
|
|
from .backend import SmartPlaylistsBackend
|
|
|
|
|
+
|
|
|
registry.add("backend", SmartPlaylistsBackend)
|
|
registry.add("backend", SmartPlaylistsBackend)
|
|
|
|
|
|
|
|
|
|
+
|