A python cmus remote library
Project Description
======
pycmus
======
A python library for sending commands to the cmus music player:
https://cmus.github.io/
It uses the same socket interface as the cmus-remote command.
Complete documentation is here: http://pycmus.readthedocs.io/en/latest/
Usage
=====
Using pycmus is pretty straightforward you just need to init a PyCmus object
and then issue commands to it. For example::
from pycmus import remote
cmus = remote.PyCmus()
print(cmus.status())
will connect to a running cmus instance (with the socket file in the default
location) and print the player status.
For a complete API documentation see: :ref:`pycmus_api`.
pycmus
======
A python library for sending commands to the cmus music player:
https://cmus.github.io/
It uses the same socket interface as the cmus-remote command.
Complete documentation is here: http://pycmus.readthedocs.io/en/latest/
Usage
=====
Using pycmus is pretty straightforward you just need to init a PyCmus object
and then issue commands to it. For example::
from pycmus import remote
cmus = remote.PyCmus()
print(cmus.status())
will connect to a running cmus instance (with the socket file in the default
location) and print the player status.
For a complete API documentation see: :ref:`pycmus_api`.
Release history Release notifications
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size & hash SHA256 hash help | File type | Python version | Upload date |
---|---|---|---|
pycmus-0.1.0.tar.gz (19.8 kB) Copy SHA256 hash SHA256 | Source | None | Jun 21, 2016 |