This is a web app to control a server instance of cmus
,
a powerful music player, remotely. So far it only supports basic player and
volume controls, not adding items to the playlist.
The web app also makes use of Zepto, Kube, and Font Awesome. These are all included. Thanks to the creators for making them available under permissive licenses.
The web app can run on the same host as the cmus
instance you want to control
or a different one, but both hosts will have to have cmus
installed.
-
Install
bottle
andsh
and fetch cmus_app.$ pip install bottle sh $ git clone git://github.com/jboynyc/cmus_app
-
Edit the configuration file.
-
Run the app:
$ cd cmus_app $ python app.py [config-file]
-
Run an instance of
cmus
using the--listen
option.$ cmus --listen <host>
-
Set a password in
cmus
using:set passwd=<passwd>
.
- Open your browser and navigate to
http://<host>:<port>
.
Enjoy!
See Prior Art/Alternatives on the cmus wiki