Skip to content

Configuration

slashformotion edited this page Jul 6, 2022 · 5 revisions

no config file

Right now there is no need for a config file, just set an alias (Learn how to create aliases here).

For exemple here is my personal alias for bash:

alias rb="RADIOBOAT_EDITOR=nvim radioboat -u ~/.cache/radioboat/urls.csv" --volume 50 -t ~/cache/radioboat/saved_tracks.txt

This alias set the editor used by radioboat to neovim, change the default path to the url file, change the default path to the track file and set the volume to 50%.

Run radioboat --help to learn more about the available commands and flags or read the doc below.

Flags

Global flags

Flag Comment default
urls-file or u change the default path to the url file "~/.config/radioboat/urls.csv"
track-file or t change the default path to the track-file "~/.tracks"

Root command

Flag Comment default
volume set the volume 80
player set the player Radioboat will use [^1] "mpv"

[^1]: Please note that at the time of writing, only mpv is supported. If you want to add a player you need to add it to the player module. The player must implement the RadioPlayer interface

Env Variables

If you have no idea what are environment variables check this.

Name Comment default
RADIOBOAT_EDITOR This takes precedence over the common variable EDITOR. It set the editor Radioboat will use. "vim"
Clone this wiki locally