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
<h2id="changelog">Changelog <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></span></h2>
210
210
<prestyle="height: 200px;">
211
211
212
+
2024-05-24 s-n-g
213
+
* version 0.9.3.7
214
+
* introducing the pyradio-client program
215
+
* adding three more System Themes
216
+
* do not allow to change the Recording Directory while recording
217
+
is on either in this instance or a headless instance
218
+
* fix PyRadioOpenDir: always open dir
219
+
* PyRadioRecordingDir: adding key 'd' to revert to deault
220
+
* fixing default opener detection
221
+
* if a linux opener is enetered but config not saved, and opener
222
+
window is opened again, display the one entered instead of the
223
+
saved opener
224
+
* fix stop mkvmerge recursive execution
225
+
* Remote Control Server: adding a warning to the info response,
226
+
if PyRadio is not in Main Mode
227
+
* Remote Control Server: introducing the /reconfig command
228
+
* Desktop Notifications: stations icons are now being cached
229
+
* config: adding parameter remove_station_icons, to remove
230
+
downloaded files on program exit
231
+
212
232
2024-05-10 s-n-g
213
233
* version 0.9.3.6
214
234
* fixing #241 - pyradio-recordings folder keeps showing in home directory
<p>to have notifications every 60 seconds, for example. You can use any value here, starting from 30 to 300 (meaning every 30 seconds up to 5 minutes), using a step of 30.</p>
<p>If the Desktop File is not installed in <em>/usr/share/applications</em> or <em>/usr/local/share/applications</em>, it will have to be passed as a parameter to the script that will handle it, like so:</p>
@@ -49,13 +50,17 @@ In order to accomplice that, you just have to change the **distro** configuratio
49
50
50
51
Once you are in the sources top level directory (typically "*pyradio*"), you execute the command:
51
52
52
-
sed -i 's/distro = None/distro = YOUR DISTRO NAME/' pyradio/config
53
+
```
54
+
sed -i 's/distro = None/distro = YOUR DISTRO NAME/' pyradio/config
55
+
```
53
56
54
57
Then you go on to produce the package as you would normally do.
55
58
56
59
For example, an **Arch Linux** packager would use this command:
57
60
58
-
sed -i 's/distro = None/distro = Arch Linux/' pyradio/config
61
+
```
62
+
sed -i 's/distro = None/distro = Arch Linux/' pyradio/config
63
+
```
59
64
60
65
The distro name you insert here will appear in **PyRadio**'s "*Configuration Window*". In addition to that it will appear in the log file, so that I know where the package came from while debugging.
61
66
@@ -69,20 +74,37 @@ By default, all **PyRadio** configuration, operational and state files are store
69
74
70
75
If you want to comply to this specification, just execute the following command from the sources top level directory (typically "*pyradio*"):
71
76
72
-
sed -i 's/xdg_compliant = False/xdg_compliant = True/' pyradio/config
77
+
```
78
+
sed -i 's/xdg_compliant = False/xdg_compliant = True/' pyradio/config
79
+
```
73
80
74
81
### Desktop Notifications (optional)
75
82
76
83
If you want to enable [Desktop Notifications](index.md#desktop-notifications), do a
77
84
78
-
sed -i 's/enable_notifications = -1/enable_notifications = 0/' pyradio/config
85
+
```
86
+
sed -i 's/enable_notifications = -1/enable_notifications = 0/' pyradio/config
87
+
```
79
88
80
89
to display titles whenever they are received, or
81
90
82
-
sed -i 's/enable_notifications = -1/enable_notifications = 60/' pyradio/config
83
-
91
+
```
92
+
sed -i 's/enable_notifications = -1/enable_notifications = 60/' pyradio/config
93
+
```
84
94
to have notifications every 60 seconds, for example. You can use any value here, starting from 30 to 300 (meaning every 30 seconds up to 5 minutes), using a step of 30.
85
95
96
+
#### Desktop Notification Icons (optional)
97
+
98
+
**PyRadio** will download stations logos (icons) in the "*logos*" cache directory.
99
+
100
+
This directory will be deleted at program exit, by default.
101
+
102
+
If you want to keep the downloaded icons, do a
103
+
104
+
```
105
+
sed -i 's/remove_station_icons = True/remove_station_icons = False/' pyradio/config
106
+
```
107
+
86
108
### Desktop File location
87
109
88
110
If the Desktop File is not installed in */usr/share/applications* or */usr/local/share/applications*, it will have to be passed as a parameter to the script that will handle it, like so:
@@ -123,7 +145,9 @@ This means that your users will eventaually have to **manually** move the files
123
145
124
146
If this is acceptable for you, and you have a way to inform your users about it, go no and
125
147
126
-
sed -i 's|recording_dir = default|recording_dir = ~/whatever|' config
148
+
```
149
+
sed -i 's|recording_dir = default|recording_dir = ~/whatever|' config
150
+
```
127
151
128
152
In any other case, I would suggest you leave this parameter as is and let the user select customize their setup.
129
153
@@ -147,7 +171,9 @@ Most Linux distros will probably have *xdg-open* (from *xdg-utils* package) inst
147
171
148
172
In case a different *resource opener* is to be used, one can declare it like so:
149
173
150
-
sed -i 's/resource_opener = auto/resource_opener = MY_RESOURCE_OPENER/' config
174
+
```
175
+
sed -i 's/resource_opener = auto/resource_opener = MY_RESOURCE_OPENER/' config
176
+
```
151
177
152
178
This will instruct **PyRadio** to use the file **MY_RESOURCE_OPENER** as a *resource opener*.
0 commit comments