Skip to main content

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 -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 mitre

To do

Author

License

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

Release files for radio 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for radio 0.0.9
File Size Uploaded
radio-0.0.9.tar.gz 4.4 kB Details

Release files / radio-0.0.9.tar.gz

Download URL radio-0.0.9.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b3ed61cc7c9097ef2addc4969e554a6b7cde0f2786ca6f3a3bcf154edaace6d9
BLAKE2b-256 checksum
How to use checksums
96b04774c7e12c062c59a2fa52f87f6d42e075f3cf82513b054dca5075c18bed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.11

1 release file

This release

0.0.9 This release

1 release file

0.0.8

1 release file

0.0.7

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page