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

Run in terminal (with superuser privilegies):

$ pip install radio

Usage

Help

Show some help:

$ radio
$ radio -h
$ radio --help

List radios

List available radios:

$ radio -l          # List available radios
$ radio --list-all  # List radios and url

Play radios

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

Add/update radios (with superuser privileges):

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

For example:

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

Remove radios

Remove radios (with superuser privileges):

$ radio --remove <radio_id>

For example:

$ radio --remove madre

To do

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.

Source Distribution

radio-0.0.6.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file radio-0.0.6.tar.gz.

File metadata

  • Download URL: radio-0.0.6.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for radio-0.0.6.tar.gz
Algorithm Hash digest
SHA256 d3d7fb031553b201cedb43b1c2b6a82a57b5b101b08b0f4206520f5152d3fe25
MD5 a366c6f9a4abc54f2f23bf007265a64b
BLAKE2b-256 b92b6ffeaabfb0640b67e356f0e748b6652efd2b887177c42f99ae4e6d13f75d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page