Code cleanup

This commit is contained in:
9and3r
2014-08-02 12:53:50 +02:00
parent eaeb5bc35d
commit 433ac14704
14 changed files with 688 additions and 666 deletions

View File

@@ -3,11 +3,12 @@ from __future__ import unicode_literals
import logging
import os
from mopidy import config, ext
from .touch_screen import TouchScreen
from .touch_screen_backend import TouchScreenBackend
__version__ = '0.1.0'
# TODO: If you need to log, use loggers named after the current Python module
@@ -15,7 +16,6 @@ logger = logging.getLogger(__name__)
class Extension(ext.Extension):
dist_name = 'Mopidy-Touchscreen'
ext_name = 'touchscreen'
version = __version__
@@ -35,4 +35,6 @@ class Extension(ext.Extension):
def setup(self, registry):
registry.add('frontend', TouchScreen)
#Backend used for controling volume
registry.add('backend', TouchScreenBackend)