CTune configuration file

August 18, 2024 ยท View on GitHub

The configuration is generated at first launch in ~/.config/ctune/ctune.cfg. This is where some aspects of cTune can be customised.

Editable values

Configuration stringValue typeDefault valueDescription
UI::Themecolour pair{WHITE,BLACK}Base theme colours (foreground, background)
UI::Theme::rowcolour pair{WHITE,BLACK}Base theme colours for row entries (foreground, background)
UI::Theme::row::selected::focusedcolour pair{WHITE,BLUE}Theme colours for selected and in-focus row entries
UI::Theme::row::selected::unfocusedcolour pair{BLACK,WHITE}Theme colours for selected and out-of-focus row entries
UI::Theme::row::favourite::localcolourMAGENTAText colour for a local based station's name on the row entry
UI::Theme::row::favourite::remotecolourYELLOWText colour for a remote based station's name on the row entry
UI::Theme::icon::playback::oncolourGREENText colour for the playback icon when playing state is true ( > )
UI::Theme::icon::playback::offcolourREDText colour for the playback icon when playing state is false ( . )
UI::Theme::icon::queuedcolourCYANText colour for the queued indicator on the corresponding row entry ( > )
UI::Theme::field::invalidcolourREDText colour for an invalid field
UI::Theme::buttoncolour pair{WHITE,BLACK}Theme colours for buttons
UI::Theme::button::invalidcolourREDValidation button colour when linked action fails
UI::Theme::button::validatedcolourGREENValidation button colour when linked action is successful

Colour values available: BLACK, RED, GREEN, YELLOW, BLUE, MAGENTA, CYAN, WHITE

Auto-generated values and values set via the UI

It is not recommended to change these from the configuration file. Instead, use the 'options' > 'configuration' menu.

Configuration stringValue typeDefault valueDescription
Resume::UUIDUUID stringAUTO-GENERATEDUUID of the last station playing during previous session
Resume::SourceIDunsigned intAUTO-GENERATEDSource of the last station playing during previous session (local/radiobrowser/etc)
Resume::Volumeunsigned intAUTO-GENERATEDVolume at last exit (0-100)
UI::Favourites::SortByunsigned intAUTO-GENERATEDIn-application selected default sorting for the entries in the Favourites tab
IO::Plugin::PlayerstringffmpegPlayer plugin to use (ffmpeg, vlc )
IO::Plugin::SoundServerstringpulseSound output plugin to use (pulse, alsa, sdl, sndio)
IO::Plugin::Recorderstringmp3lameSound file output plugin to use (mp3lame, wave)
IO::OverwritePlayLogbooltrueFlag to overwrite play-log instead of appending to it
IO::StreamTimeoutunsigned int5Timeout value for streaming in seconds*
IO::NetworkTimeoutunsigned int8Timeout value for the network calls in seconds
IO::Recording::Pathstring""Recording output directory
UI::MouseboolfalseFlag to enable mouse support
UI::Mouse::IntervalPresetinteger0 (default)Preset ID for the mouse click-interval resolution (time between a button press and a release for it to be registered as a click event)
UI::UnicodeIconsboolfalseFlag to enable unicode icons (terminal font should support that)
UI::Favourites::ShowThemebooltrueFlag to show source theming on the Favourites tab
UI::Favourites::UseCustomThemebooltrueFlag to use the 'custom' preset's station source colouring instead of the currently selected preset's
UI::Favourites::UseLargeRowsbooltrueFlag to use large format row entries in the Favourites tab
UI::Search::UseLargeRowsbooltrueFlag to use large format row entries in the Search tab
UI::Browser::UseLargeRowsboolfalseFlag to use large format row entries in the Browser tab
UI::Theme::presetstringdefaultTheme preset name

Available theme preset values: "default", "hackerman", "red-zone", "deep-blue", "custom" (<- this will use the UI::Theme::* values in the configuration file)

(*) StreamTimeout fully works with the ffmpeg player currently and only stream testing with vlc (LibVLC doesn't have a call to set a custom value on the player).

Note: The VLC plugin is more of a fallback in the event that ffmpeg is an unviable option.