RADIO-ACTIVE
Play any radios around the globe right from your terminal
Features
- Supports more than 30K stations !!
- Saves last station information
- Favorite stations (Aliasing)
- Supports user-added stations
- Finds nearby stations
External Dependency
It needs FFmpeg to be installed on your system in order to play the audio
on Ubuntu based system >= 20.04 Run
sudo apt update
sudo apt install ffmpeg
For other systems including windows see the above link
Installing FFmpeg
ffmpeg is required for this program to work correctly. Install ffmpeg by following these steps :-
- On Linux - https://www.tecmint.com/install-ffmpeg-in-linux/
- On Windows - https://www.wikihow.com/Install-FFmpeg-on-Windows
Install
Just run: pip3 install --upgrade radio-active
Run
Run with radioactive --station [STATION_NAME]
Options
deep@lubuntu:~/Desktop$ radioactive --help
usage: radio-active [-h] [--version] [--station STATION_NAME] [--uuid STATION_UUID]
[--log-level LOG_LEVEL]
Play any radio around the globe right from the CLI
optional arguments:
-h, --help show this help message and exit
--version, -V
--station STATION_NAME, -S STATION_NAME
Specify a station name
--uuid STATION_UUID, -U STATION_UUID
Specify a station UUID
--log-level LOG_LEVEL, -L LOG_LEVEL
Specify log level
| Argument | Note | Description | Default |
|---|---|---|---|
--station, -S |
Required ( Optional from second run) | Station name | None |
--uuid, -U |
Optional | ID of the station | None |
--log-level, -L |
Optional | Log level of the program | info |
--station,-S: Expects a station name to be played ( if not provided it will try to get the last played station ). Example: "pehla nasha" , pehla_nasha, bbc_radio
--uuid,-U: When station names are too long or confusing ( or multiple results for the same name ) use the station's uuid to play . --uuid gets the greater priority than --station. example: 96444e20-0601-11e8-ae97-52543be04c81
--log-level,-L: don't need to specify unless you are developing it.info,warning,error,debug
Extra
You can always alias your favorite stations' name with a custom name. radio-active firsts looks for stations in your favorite list.
To add a station to your favorite station list:
-
place a file named
radio-active-alias.txtunder your home directory. -
Write a new line with pattern like
name=uuid. Example:
mirchi_ranbindra_sangeet=72e039a6-9ed9-4741-b45e-165eec3bec6d
bongo_net=96444e20-0601-11e8-ae97-52543be04c81
Demo
Acknowledgements
Happy Listening
Release files for radio-active 2.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| radio-active-2.1.2.tar.gz | 8.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| radio_active-2.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:24.3 kB
Release files / radio-active-2.1.2.tar.gz
| Download URL | radio-active-2.1.2.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1b1f128c950639df80aa2f277a2af94961cce5ebae5d49c714d41a867d0c21e
|
|
BLAKE2b-256 checksum How to use checksums |
1622dcd3184434abb846715a3715ea41de518ac18f6302ec9ed8d7b31c8ceedf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6
|
Release files / radio_active-2.1.2-py3-none-any.whl
| Download URL | radio_active-2.1.2-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fff9bbdf1c76095c60a56e169ae2617b8180ae368c51070507ad27a02febed02
|
|
BLAKE2b-256 checksum How to use checksums |
a76fec8bd7ecf7235b27e624269fcc1ca52928d2f1a43a653360a8810b55c2db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.6
|