iso-profiles/mabox-linux/desktop-overlay/etc/skel/.config/pyradio/config

128 lines
4.1 KiB
Plaintext
Raw Permalink Normal View History

2020-08-26 17:27:51 +02:00
# PyRadio Configuration File
# Player selection
# This is the equivalent to the -u , --use-player command line parameter
# Specify the player to use with PyRadio, or the player detection order
# Example:
# player = vlc
# or
# player = vlc,mpv, mplayer
# Default value: mpv,mplayer,vlc
player = mpv,mplayer,vlc
2022-12-08 15:15:05 +01:00
# Open last playlist
# If this option is enabled, the last opened playlist will be opened
# the next time PyRadio is opened. This option will take precedence
# over the "Def. playlist" option.
# Default value: False
open_last_playlist = False
2020-08-26 17:27:51 +02:00
# Default playlist
# This is the playlist to open if none is specified
2022-12-08 15:15:05 +01:00
# You can specify full path to CSV file, or if the playlist is in the
2020-08-26 17:27:51 +02:00
# config directory, playlist name (filename without extension) or
# playlist number (as reported by -ls command line option)
# Default value: stations
default_playlist = stations
# Default station
# This is the equivalent to the -p , --play command line parameter
# The station number within the default playlist to play
# Value is 1..number of stations, "-1" or "False" means no auto play
# "0" or "Random" means play a random station
# Default value: False
2020-08-31 19:46:26 +02:00
default_station = 1
2020-08-26 17:27:51 +02:00
# Default encoding
# This is the encoding used by default when reading data provided by
# a station (such as song title, etc.) If reading said data ends up
# in an error, 'utf-8' will be used instead.
#
# A valid encoding list can be found at:
# https://docs.python.org/2.7/library/codecs.html#standard-encodings
# replacing 2.7 with specific version:
# 3.0 up to current python version.
#
# Default value: utf-8
default_encoding = utf-8
2021-03-14 19:31:03 +01:00
# Enable mouse
# If this options is enabled, the mouse can be used to scroll the
# playlist, start, stop and mute the player, adjust its volume etc.
# Mouse integration is highly terminal dependent, that's why it
# is disabled by default.
#
# Default value: False
enable_mouse = True
2020-08-26 17:27:51 +02:00
# Connection timeout
# PyRadio will wait for this number of seconds to get a station/server
# message indicating that playback has actually started.
# If this does not happen (within this number of seconds after the
# connection is initiated), PyRadio will consider the station
# unreachable, and display the "Failed to connect to: [station]"
# message.
#
2022-12-08 15:15:05 +01:00
# Valid values: 5 - 60, 0 disables check
2020-08-26 17:27:51 +02:00
# Default value: 10
connection_timeout = 10
2022-12-08 15:15:05 +01:00
# Force http connections
# Most radio stations use plain old http protocol to broadcast, but
# some of them use https. If this is enabled, all connections will
# use http; results depend on the combination of station/player.
#
# Valid values: True, true, False, false
# Default value: False
force_http = False
2020-08-26 17:27:51 +02:00
# Default theme
# Hardcooded themes:
# dark (default) (8 colors)
# light (8 colors)
# dark_16_colors (16 colors dark theme alternative)
# light_16_colors (16 colors light theme alternative)
# black_on_white (bow) (256 colors)
# white_on_black (wob) (256 colors)
2022-12-08 15:15:05 +01:00
# If theme is watched for changes, prepend its name
# with an asterisk (i.e. '*my_theme')
# This is applicable for user themes only!
2020-08-26 17:27:51 +02:00
# Default value = 'dark'
2022-12-08 15:15:05 +01:00
theme = *mbcolors
2020-08-26 17:27:51 +02:00
# Transparency setting
# If False, theme colors will be used.
# If True and a compositor is running, the stations' window
# background will be transparent. If True and a compositor is
# not running, the terminal's background color will be used.
# Valid values: True, true, False, false
# Default value: False
2022-12-08 15:15:05 +01:00
use_transparency = False
2020-08-26 17:27:51 +02:00
2022-12-08 15:15:05 +01:00
# Calculated color factor
# Valid values: 0-0.2
# Default value: 0
calculated_color_factor = 0.1
2020-08-26 17:27:51 +02:00
# Playlist management
#
# Specify whether you will be asked to confirm
# every station deletion action
# Valid values: True, true, False, false
# Default value: True
confirm_station_deletion = True
# Specify whether you will be asked to confirm
# playlist reloading, when the playlist has not
2022-12-08 15:15:05 +01:00
# been modified within PyRadio
2020-08-26 17:27:51 +02:00
# Valid values: True, true, False, false
# Default value: True
confirm_playlist_reload = True
# Specify whether you will be asked to save a
# modified playlist whenever it needs saving
# Valid values: True, true, False, false
# Default value: False
auto_save_playlist = False