xcdkz / Internet-Radio-Selector

Minimal Rofi-Based Internet Radio Selector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Overview

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.

Usage

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.

Configuration

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

Requirements

Currently only requirements are:

  • mpv
  • youtube-dl/yt-dlp
  • rofi

About

Minimal Rofi-Based Internet Radio Selector

License:GNU Affero General Public License v3.0


Languages

Language:Shell 100.0%