Skip to content

drocheam/caprice

Repository files navigation

caprice

Terminal Frontend for the Caprice Online Radio

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.


Usage

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.


Screenshots

Search Screen search screen screenshot

Player View player view screenshot


Installation

Run

sudo make install

from the main folder.


Customization

Change the PLAYER and FINDER variables in the shell script to change the playback and finder tool.