D.J. Pirate is a webapp which you use to control music player daemon. Then you can use nearly any web browser (it must support javascript) to control your music. So just take out your iphone, Nokia N800 or other simple web device and use it as a remote control for your music.

installing

  1. Download the latest version.
  2. tar -xvzf djpirate-0.1.tar.gz
  3. cd djpirate
  4. python setup.py build
  5. sudo python setup.py install

You can also access the darcs repository.

using

  1. Make sure mpd is running, and accepts connections from 127.0.0.1.
  2. run start_djpirate.py
  3. Point a javascript-enabled web browser at http://yourIPaddress:8080. The rest should be self explanatory.

security

I’m a firm believer in security through obscurity. D.J. Pirate is intended for use on a local wireless network (hopefully encrypted). In all likelihood, no one within 50 meters of your house really wants to hack you. If you run this on a computer with public access to the internet, someone will use it to play some great songs at 3AM. You will deserve it.

FAQ

How do I turn it off?

killall start_djpirate.py

This is ugly. Can I change it?

Look in the djpirate module in your python library. There are folders “templates” and “static”. You can modify the html/templates.

I found a bug.

Ok, email me about it. Feel free to send a patch.

my email

Don’t other programs like this exist?

Yes. I wrote this one for the following reasons: