diff --git a/README.rst b/README.rst index ec0ced7..d4e2ae2 100644 --- a/README.rst +++ b/README.rst @@ -53,8 +53,12 @@ Project resources Changelog ========= -v2.0 (26-3-2015) ----------------- +v2.0.1 (UNRELEASED) +------------------- +- Added optional websocket_host and websocket_port config settings. + +v2.0.0 (26-3-2015) +------------------ - Pausing a stream will now actually stop it. - Fix keyboard shortcuts in some browsers. - Use relative path for script files to fix proxy support. diff --git a/mopidy_musicbox_webclient/__init__.py b/mopidy_musicbox_webclient/__init__.py index df3e7d3..b32e515 100644 --- a/mopidy_musicbox_webclient/__init__.py +++ b/mopidy_musicbox_webclient/__init__.py @@ -20,6 +20,8 @@ class MusicBoxExtension(ext.Extension): def get_config_schema(self): schema = super(MusicBoxExtension, self).get_config_schema() schema['musicbox'] = config.Boolean() + schema['websocket_host'] = config.Hostname(optional=True) + schema['websocket_port'] = config.Port(optional=True) return schema def setup(self, registry): diff --git a/mopidy_musicbox_webclient/ext.conf b/mopidy_musicbox_webclient/ext.conf index 198e796..fa7898e 100644 --- a/mopidy_musicbox_webclient/ext.conf +++ b/mopidy_musicbox_webclient/ext.conf @@ -1,3 +1,5 @@ [musicbox_webclient] enabled = true musicbox = false +websocket_host = +websocket_port = diff --git a/mopidy_musicbox_webclient/static/index.html b/mopidy_musicbox_webclient/static/index.html index 771bfd1..c02bcd0 100644 --- a/mopidy_musicbox_webclient/static/index.html +++ b/mopidy_musicbox_webclient/static/index.html @@ -7,13 +7,10 @@