Radiocrepe is a web application that allows you to run your own "office radio" at your workplace. It was initially inspired by GitHub Play but it provides a different feature set, namely streaming (using VLC's Python bindings) and a distributed storage model.
- SQLAlchemy
- Mutagen
- python-magic
- requests
- Flask
- python-oauth2
- Flask-OAuth
- webassets
- Flask-Assets
- gevent
- gevent-websocket
- VLC Python bindings - these are not automatically installed, make sure they are available in your system
Start a server:
$ radiocrepe server -c server_config.ini
There is a server.ini
file in the source code that you can adapt to your needs.
If you have a last.fm API key you can use the option lastfm_key
for extra awesomeness (pictures!)
For each storage, start a node instance:
$ radiocrepe node -c node_config.ini
There's also a node.ini
example in the package.
Start a player somewhere else:
$ radiocrepe player localhost:5000
If you want to use GitHub OAuth, you'll need to add the DigiCert Root CA to your httplib2
CA certificates:
curl -L https://github.com/ask/python-github2/raw/master/github2/DigiCert_High_Assurance_EV_Root_CA.crt >> /path/to/your/httplib2/cacerts.txt
This app bundles the following 3rd party components:
- Iconic by P. J. Onori;
- backbone.js by DocumentCloud;
- underscore.js by DocumentCloud;
- jQuery by John Resig;
- handlebars.js by Yehuda Katz;
- qTip2 by Craig Thompson;