Skip to main content

Just listen to the radio.

Project description

radio is a python script to just listen to the radio using mplayer.

Installation

$ sudo pip install radio

Usage

List available radios:

$ radio -l

Listen to the radio:

$ radio <radio_id>

where <radio_id> must be in the radio list as shown above

Turn off the radio by pressing “q” (as it uses mplayer).

Add/update radios:

$ radio -a <radio_id> <radio_name> <radio_url>

For example:

$ radio -a madre "Radio Madre AM 530" http://200.68.81.65:8000/am530

Delete radios:

$ radio -d <radio_id>

To do

  • support multiples lists
  • use curl instead mplayer if available
  • use cvlc instead mplayer if available
  • what more?

Author

License

radio is licensed under the do What The Fuck you want to Public License, WTFPL. See the LICENSE file.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for radio, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size radio-0.0.2.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page