Async Mopidy Client via JSON/RPC Websocket interface
Project description
Mopidy-Async-Client
Fork of Mopidy-json-client, but from scratch and async
Async Mopidy Client via JSON/RPC Websocket interface
Usage
mopidy-async-client provides a main class MopidyClient
, which manages the connection and methods to the Mopidy Server.
from mopidy_async_client import MopidyClient
async def main():
async with MopidyClient() as mopidy:
mopidy.listener.bind('track_playback_started', print_track_info)
await mopidy.playback.play()
Installation
pip install mopidy-async-client
References
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mopidy-async-client-0.2.1.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for mopidy-async-client-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5880c6e987328224c5a13951801c9fd23995492c6c2215f2b9bd477f5de401a7 |
|
MD5 | e502afe7f524890edecb72913b4b3886 |
|
BLAKE2b-256 | 62332a33007bad1f531afd130e52daef47e823ad9b84c48810babcb976266c61 |
Close
Hashes for mopidy_async_client-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbfd88b3fcaa80c4a6d9aec01bcf01e4b1ff5d9fa18d934f50e33c4947d773d0 |
|
MD5 | f105151afa7431251807de64f872dcfe |
|
BLAKE2b-256 | fb6781ca7f0a79530b694b21b045b79b684d94db715968257485408c2f1b0225 |