From 031c7c8e939ad2e17ca698a86095a6a7d75485e7 Mon Sep 17 00:00:00 2001 From: dz0ny Date: Mon, 12 May 2014 16:16:08 +0200 Subject: [PATCH] Add: Tornado as required dependency Fix: Remove draft76 Fix: Remove class attributes for ws handler Revert: default to /ws/ for for mopidy.html --- docs/api/http.rst | 2 +- mopidy/http/actor.py | 2 +- mopidy/http/data/mopidy.html | 2 +- mopidy/http/handlers.py | 3 --- setup.py | 6 ++---- tests/http/test_events.py | 1 - tests/http/test_router.py | 1 - 7 files changed, 5 insertions(+), 12 deletions(-) diff --git a/docs/api/http.rst b/docs/api/http.rst index e72d72b6..5561955d 100644 --- a/docs/api/http.rst +++ b/docs/api/http.rst @@ -27,7 +27,7 @@ Node.js. WebSocket API ============= -The web server exposes a WebSocket at ``/mopidy/ws``. The WebSocket gives you +The web server exposes a WebSocket at ``/mopidy/ws/``. The WebSocket gives you access to Mopidy's full API and enables Mopidy to instantly push events to the client, as they happen. diff --git a/mopidy/http/actor.py b/mopidy/http/actor.py index a0f3b94b..707ee161 100644 --- a/mopidy/http/actor.py +++ b/mopidy/http/actor.py @@ -40,7 +40,7 @@ class HttpFrontend(pykka.ThreadingActor, CoreListener): extension = extension(self.config) if callable(getattr(extension, "setup_routes", None)): routes.extend(extension.setup_routes()) - logger.info('Loaded HTTP router: %s', + logger.info('Loaded HTTP extension: %s', extension.__class__.__name__) else: logger.info( diff --git a/mopidy/http/data/mopidy.html b/mopidy/http/data/mopidy.html index 4f859304..38ea2036 100644 --- a/mopidy/http/data/mopidy.html +++ b/mopidy/http/data/mopidy.html @@ -40,7 +40,7 @@