Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Mopidy extension providing a WAMP frontend

Project Description

This extension provides a WAMP frontend for the popular Mopidy music server by connecting to a WAMP enabled router such as crossbar.io. Based on the jsonrpc module shipped with mopidy the whole API is exposed to the WAMP router as Remote Procedure Calls (RPC). Mopidy events will also be published on the WAMP router.

This extension does NOT include a WAMP (Web Application Messaging Protocol) router.

Features

Currently the following features have been implemented:

  • Complete mopidy core API is exposed to the WAMP router
  • WAMP realm is configurable via mopidy config
  • WebSocket and WebSocket-over-SSL is supported
  • Raw-TCP socket support
  • Debug options for WAMP and autobahn
  • Mopidy events are published to the WAMP router

Problems & Missing Features

In order for a final 1.0 release, the following problems must be solved and missing features must be implemented:

  • WAMP Authentication is currently not supported
  • Currently based on the mopidy core.utils.jsonrpc which (according to Mopidy documentation) is a bad idea

Installation

Install by running:

pip install Mopidy-WAMPFrontend

Or, if available, install the Debian/Ubuntu package from apt.mopidy.com.

Configuration

Before starting Mopidy, you must add configuration for Mopidy-WAMPFrontend to your Mopidy configuration file:

[wampfrontend]
enabled = true
name = mopidy
router = ws://127.0.0.1:8080/ws
debug_wamp = false
debug_autobahn = false
enable_twisted_log = false

Changelog

v0.2.0

  • Support for auto-reconnect added
  • Switched from a local IO loop to use the global IOLoop started by the HTTP-Frontend
  • Mopidy instances can now be named (fixed #2)

v0.1.0

  • Initial release.
Release History

Release History

This version
History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Mopidy-WAMPFrontend-0.2.0.tar.gz (10.6 kB) Copy SHA256 Checksum SHA256 Source Jun 3, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting