Radio Caprice features over 490 different genres/channels, with this script you can play them all from your terminal.
fzf is used for channel selection and mpv for playback.
The radios.json
database is taken from the Radio Caprice Android App.
Calling caprice with the -h
parameter prints the following usage information:
Usage: caprice [-p <additional player options>] [-f <additional finder options>] [<query string>]
-h for help
Play channels of Radio Caprice in your terminal.
Finder and player tool are specified inside the script (mpv and fzf by default).
Exemplary calls:
caprice
caprice 'blues rock'
caprice -p "--mute=yes" -f "+s"
caprice -f "+s" electronic
If there is only one result for the query the playback starts automatically.
Run
sudo make install
from the main folder.
Change the PLAYER
and FINDER
variables in the shell script to change the playback and finder tool.