Code Monkey home page Code Monkey logo

dj-pirate's Introduction

DJ Pirate

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 Nexus 1 or iPhone and use it as a remote control for your music.

URL: http://cims.nyu.edu/~stucchio/software/djpirate/index.html

Installing

Download the latest version. Then:

$ tar -xvzf djpirate-0.1.tar.gz
$ cd djpirate
$ python setup.py build
$ sudo python setup.py install

Or you can get it from the public git repo:

[email protected]:stucchio/DJ-Pirate.git

Using

Make sure mpd is running, and accepts connections from 127.0.0.1. Then:

$ run start_djpirate.py

Finally, 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. [email protected]

Don’t other programs like this exist?

Yes. I wrote this one for the following reasons: * I wanted to learn how to write a webapp. * I couldn’t figure out how to make most of the others work (but I didn’t put a lot of effort in). * phpMp is ugly (but otherwise very functional).

dj-pirate's People

Contributors

pale-phosphorescence avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.