Play any radio around the globe right from the terminal
Project description
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
- Looks minimal and user-friendly
- Finds nearby stations
- No external dependencies!
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
I encourage you to install with pipx: pipx install radio-active
Run
Run with radioactive --station [STATION_NAME]
Demo
Options
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 |
--add-station , -A |
Optional | Add an entry to fav list | False |
--show-favourite-list ,-W |
Optional | Show fav list | False |
--add-to-favourite ,-F |
Optional | Add current station to fav list | False |
--flush |
Optional | Remove all the entries from fav list | False |
--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
-F
: Add current station to your favorite list. Example:-F my_fav_1
-A
: Add any stations to your list. You can add stations that are not currently available on our API. When adding a new station enter a name and direct URL to the audio stream.
Extra
If you ever face a situation where radio-active quits but the audio (ffplay) runs in the background. Kill the process ID (PID) of ffplay. Run ps -al
get the PID of ffplay and kill [PID]
. I know you Know that :)
Support
Acknowledgements
Happy Listening
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file radio-active-2.2.0.tar.gz
.
File metadata
- Download URL: radio-active-2.2.0.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66326e941682c2218d8fa3ee3b19f1128747531bedb0c73ca33002dc85365a67 |
|
MD5 | 4878021f2adad3bc7be9183b36921087 |
|
BLAKE2b-256 | d2e0ee4040f7b7e1f6c0a6bf6d0d337da29ec6c4f1dcd975413bccf7be71d7d7 |
File details
Details for the file radio_active-2.2.0-py3-none-any.whl
.
File metadata
- Download URL: radio_active-2.2.0-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dec91eda0ee6bc49de9294ad268743ef0e3def76c303c461396ff7cbb40de5e1 |
|
MD5 | 0518e05a22cc41028b4be1bc1496ad95 |
|
BLAKE2b-256 | 067fff75643f9bece0d561f7be2473ea042863ef0c9852a5d67d9741e0817ddc |