cmus with web interface

Lately I’ve been working on a web interface for the console based (curses) audioplayer cmus. I need the interface for an audioplayer project I am working on based on a raspberry pi and wolfson pi.

Cmus can be controlled via UNIX socket, using cmus-remote which makes external control easier. Having a text-based interface there is no need for display manager and GUI on the computer.


Cmus runs in tty1. I use the program vcsadump to grab to contents of tty1 and convert it to html.  I have written a python program, which postprocesses this html file. It adds mouse functionality and some other features like autoupdate javascript. Finally the Python webserver BaseHTTPServer generates the web interface. Will publish the code soon…


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s