You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pyradio/config_window.py
+5-5
Original file line number
Diff line number
Diff line change
@@ -52,10 +52,10 @@ class PyRadioConfigWindow(object):
52
52
_help_text= []
53
53
_help_text.append(None)
54
54
_help_text.append(['Specify the player to use with PyRadio, or the player detection order.', '|',
55
-
'This is the eqivelant to the -u , --use-player command line option.', '|',
55
+
'This is the equivalent to the -u , --use-player command line option.', '|',
56
56
'Example:', ' player = vlc', 'or', ' player = vlc,mpv, mplayer', '|',
57
57
'Default value: mpv,mplayer,vlc'])
58
-
_help_text.append([r'If this option is enabled, the last local playlist loaded before terminating, will be automatically opened the next time PyRadio is executed. Furthermore, playback will resume, if it was on when PyRadio exited. Otherwise, station selection will be restored.', '|', 'This option will take precedence over the "Def. playlist" configuration option and the "-s" command line option.', '|', 'It can also be toggled on the fly by perssing \l while on Main mode.', '|', 'Default value: False'])
58
+
_help_text.append([r'If this option is enabled, the last local playlist loaded before terminating, will be automatically opened the next time PyRadio is executed. Furthermore, playback will resume, if it was on when PyRadio exited. Otherwise, station selection will be restored.', '|', 'This option will take precedence over the "Def. playlist" configuration option and the "-s" command line option.', '|', 'It can also be toggled on the fly by pressing \l while on Main mode.', '|', 'Default value: False'])
59
59
_help_text.append(['This is the playlist to open at start up, if none is specified and "Open last playlist" is not set.', '|',
60
60
'This is the equivalent to the -s, --stations command line option.', '|',
61
61
'Default value: stations'])
@@ -87,7 +87,7 @@ class PyRadioConfigWindow(object):
87
87
_help_text.append(['This option will work when a theme\'s transparency value is set to 2 (Obey config setting), the default. Otherwise, it\'s up to the theme to handle transparency.', '|', 'If False, theme colors will be used.', '|',
88
88
"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.", '|', 'Default value: False'])
89
89
_help_text.append(['This option, when enabled, will make all themes behave as if their transparency setting was set to 2 (Obey config setting), in which case the windows\'s transparency will depend entirely on the value of the "Use transparency" setting (the option above this one).', '|', 'Default value: False'])
90
-
_help_text.append(['Pyradio can calculate and use an alternative color for secondary windows.', '|', 'This option will determine if this color will be used (value > 0) or not (value = 0), provided that the theme used does not already provide it.', '|', 'The value of this option is actually the factor to darken or lighten the main (stations) background color.', '|', 'You can get more info on this at https://github.com/coderholic/pyradio#secondary-windows-background', '|', 'Valid Values: 0-0.2', 'Default value: 0'])
90
+
_help_text.append(['Pyradio can calculate and use an alternative color for secondary windows.', '|', 'This option will determine if this color will be used (value > 0) or not (value = 0), provided that the theme used does not already provide it.', '|', 'The value of this option is actually the factor to darken or lighten the main (stations) background color.', '|', 'Valid Values: 0-0.2', 'Default value: 0'])
91
91
_help_text.append(['The console theme is the one used when PyRadio is executed either from the Linux Virtual Console or the terminal used does not support color changes.', '|', 'This change will take effect after PyRadio is restarted.', '|', 'Default value: dark'])
92
92
_help_text.append(None)
93
93
_help_text.append(['Specify whether you will be asked to confirm every station deletion action.',
@@ -99,9 +99,9 @@ class PyRadioConfigWindow(object):
99
99
_help_text.append(['This is the IP for the Remote Control Server.', '|', 'Available options:', '- localhost : PyRadio will be accessible from within the current system only.', '- lan : PyRadio will be accessible from any computer in the local network.', '- IP : In case the system has more than one interfaces.', '|', 'Use "Space", "Enter", "l/Right" to change the value.','|', 'Default value: localhost'])
100
100
_help_text.append(
101
101
['This is the port used by the Remote Control Server (the port the server is listening to).', '|', 'Please make sure that a "free" port is specified here, to avoid any conflicts with existing services and daemons.', '|', 'If an invalid port number is inserted, the cursor will not move to another field.', '|', 'Valid values: 1025-65535', 'Default value: 9998'])
102
-
_help_text.append(['If set to True, the Server wiil be automatically started when PyRadio starts.', r'If set to False, one can start the Server using the "\s" command from the Main program window.', '|', 'Default value: False'])
102
+
_help_text.append(['If set to True, the Server will be automatically started when PyRadio starts.', '|', r'If set to False, one can start the Server using the "\s" command from the Main program window.', '|', 'Default value: False'])
103
103
_help_text.append(None)
104
-
_help_text.append(['This options will open the configuration window for the RadioBrowser Online Stations Directory.','|', "In order to use RadioBrowser, python's requests module must be installed."])
104
+
_help_text.append(['This options will open the configuration window for the RadioBrowser Online Stations Directory.',])
0 commit comments