Internet-Radio-Selector is a minimal rofi-based internet radio selector. It’s functionality is currently limited to the websites currently supported by youtube-dl.
While in the project folder:
chmod +x Internet-Radio
Then to actually run the script:
rofi -show Internet-Radio -modi "Internet-Radio:Absolute/Path/To/Internet-Radio"
I highly suggest binding the above command to your keyboard shortcut of choice. After launch you can select your favorite radio from the list or stop playing by selecting “stop” option at the top of the list.
Change ~/.config/Internet-Radio/config file to configure this script. If it doesn’t exist, create it. The general syntax for this file is:
radio-link|radio name radio-link|radio name radio-link|radio name
So for example to add popular lofi hip hop radio, you have to add this line to the file:
https://www.youtube.com/watch?v=5qap5aO4i9A|lofi hip hop radio
Currently only requirements are:
- mpv
- youtube-dl/yt-dlp
- rofi