Skip to main content

Based on magcode's work.

Build Status

Installation

Using pip:

pip install Mopidy-MQTT-NG

Configuration

You have to at least configure the MQTT broker access. By default it's assumed to be installed locally.

[mqtt]
host = <mqtt broker address>
port = 1883
topic = mopidy

Note: Remember to also supply username and password options if your MQTT broker requires authentication.

Features

  • Sends information about Mopidy state on any change
    • Playback status
    • Volume
    • Track description
  • Reacts to control commands
    • Playback control
    • Tracklist control
    • Volume control
    • Track search [WIP]
  • Responds to specific information inquiries

MQTT protocol

Topics

Default top level topic: mopidy.

Control topic: mopidy/c.

Information topic mopidy/i.

Publishing

Kind Subtopic Values
State /sta paused / stop / playing
Volume /vol <level:int>
Current track /trk <artist:str>;<title:str>;<album> or

Subscribing

Kind Subtopic Values
Playback control /plb play / stop / pause / resume / toggle / prev / next
Volume control /vol =<int> or -<int> or +<int>
Add to queue /add <uri:str>
Load playlist /loa <uri:str>
Clear queue /clr
Search tracks /src <str>
Request info /inf state / volume / queue

Release files for Mopidy-MQTT-NG 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Mopidy-MQTT-NG 1.0.0
File Size Uploaded
Mopidy-MQTT-NG-1.0.0.tar.gz 10.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Mopidy-MQTT-NG 1.0.0
File Interpreter ABI Platform
Mopidy_MQTT_NG-1.0.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 21.7 kB

Release files / Mopidy-MQTT-NG-1.0.0.tar.gz

Download URL Mopidy-MQTT-NG-1.0.0.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
547ee520c5f01a385f8fcf37416ee843e387141af62b652ccd65a767f85f38d7
BLAKE2b-256 checksum
How to use checksums
6e4bc76bf2a2fc8bcbf3597f713735732989b2fe2eb4c3900ac18920973128c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

Release files / Mopidy_MQTT_NG-1.0.0-py2.py3-none-any.whl

Download URL Mopidy_MQTT_NG-1.0.0-py2.py3-none-any.whl
Size 11.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
984f597bd639b4e34d3680ab33f574f9d9740705be31921ada4f3857b2e0a876
BLAKE2b-256 checksum
How to use checksums
2887331e96c96814176d6333e9b1393c9286bd51b6e525ce94637159d87a516e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.5

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page