Skip to content

Commit 8de926e

Browse files
committed
verion 0.9.3.7
1 parent af91878 commit 8de926e

File tree

7 files changed

+86
-12
lines changed

7 files changed

+86
-12
lines changed

Changelog

+20
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
2024-05-24 s-n-g
2+
* version 0.9.3.7
3+
* introducing the pyradio-client program
4+
* adding three more System Themes
5+
* do not allow to change the Recording Directory while recording
6+
is on either in this instance or a headless instance
7+
* fix PyRadioOpenDir: always open dir
8+
* PyRadioRecordingDir: adding key 'd' to revert to deault
9+
* fixing default opener detection
10+
* if a linux opener is enetered but config not saved, and opener
11+
window is opened again, display the one entered instead of the
12+
saved opener
13+
* fix stop mkvmerge recursive execution
14+
* Remote Control Server: adding a warning to the info response,
15+
if PyRadio is not in Main Mode
16+
* Remote Control Server: introducing the /reconfig command
17+
* Desktop Notifications: stations icons are now being cached
18+
* config: adding parameter remove_station_icons, to remove
19+
downloaded files on program exit
20+
121
2024-05-10 s-n-g
222
* version 0.9.3.6
323
* fixing #241 - pyradio-recordings folder keeps showing in home directory

docs/index.html

+20
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,26 @@ <h2 id="requirements">Requirements <span style="padding-left: 10px;"><sup style=
209209
<h2 id="changelog">Changelog <span style="padding-left: 10px;"><sup style="font-size: 50%"><a href="#" title="Go to top of the page">Top</a></sup></span></h2>
210210
<pre style="height: 200px;">
211211

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+
212232
2024-05-10 s-n-g
213233
* version 0.9.3.6
214234
* fixing #241 - pyradio-recordings folder keeps showing in home directory

docs/packaging.html

+9-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ <h2 id="table-of-contents">Table of Contents <span style="padding-left: 10px;"><
4848
<ul>
4949
<li><a href="#distro-name-(must-do)">distro name (must do)</a></li>
5050
<li><a href="#xdg-base-directory-specification-compliance">XDG Base Directory Specification Compliance</a></li>
51-
<li><a href="#desktop-notifications-(optional)">Desktop Notifications (optional)</a></li>
51+
<li><a href="#desktop-notifications-(optional)">Desktop Notifications (optional)</a>
52+
<ul>
53+
<li><a href="#desktop-notification-icons-(optional)">Desktop Notification Icons (optional)</a></li>
54+
</ul></li>
5255
<li><a href="#desktop-file-location">Desktop File location</a></li>
5356
<li><a href="#pyradio/__pycache__">pyradio/__pycache__</a></li>
5457
</ul></li>
@@ -98,6 +101,11 @@ <h3 id="desktop-notifications-optional">Desktop Notifications (optional)</h3>
98101
<p>to display titles whenever they are received, or</p>
99102
<pre>sed -i &#39;s/enable_notifications = -1/enable_notifications = 60/&#39; pyradio/config</pre>
100103
<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>
104+
<h4 id="desktop-notification-icons-optional">Desktop Notification Icons (optional)</h4>
105+
<p><strong>PyRadio</strong> will download stations logos (icons) in the “<em>logos</em>” cache directory.</p>
106+
<p>This directory will be deleted at program exit, by default.</p>
107+
<p>If you want to keep the downloaded icons, do a</p>
108+
<pre>sed -i &#39;s/remove_station_icons = True/remove_station_icons = False/&#39; pyradio/config</pre>
101109
<h3 id="desktop-file-location">Desktop File location</h3>
102110
<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>
103111
<pre>sed -i &quot;s,&#39; -t &#39;,&#39; -d /path/to/desktop_file&#39; + &amp;,&quot; pyradio/main.py</pre>

docs/packaging.md

+34-8
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* [distro name (must do)](#distro-name-(must-do))
99
* [XDG Base Directory Specification Compliance](#xdg-base-directory-specification-compliance)
1010
* [Desktop Notifications (optional)](#desktop-notifications-(optional))
11+
* [Desktop Notification Icons (optional)](#desktop-notification-icons-(optional))
1112
* [Desktop File location](#desktop-file-location)
1213
* [pyradio/\_\_pycache\_\_](#pyradio/\_\_pycache\_\_)
1314
* [Recordings Directory](#recordings-directory)
@@ -49,13 +50,17 @@ In order to accomplice that, you just have to change the **distro** configuratio
4950

5051
Once you are in the sources top level directory (typically "*pyradio*"), you execute the command:
5152

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+
```
5356

5457
Then you go on to produce the package as you would normally do.
5558

5659
For example, an **Arch Linux** packager would use this command:
5760

58-
sed -i 's/distro = None/distro = Arch Linux/' pyradio/config
61+
```
62+
sed -i 's/distro = None/distro = Arch Linux/' pyradio/config
63+
```
5964

6065
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.
6166

@@ -69,20 +74,37 @@ By default, all **PyRadio** configuration, operational and state files are store
6974

7075
If you want to comply to this specification, just execute the following command from the sources top level directory (typically "*pyradio*"):
7176

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+
```
7380

7481
### Desktop Notifications (optional)
7582

7683
If you want to enable [Desktop Notifications](index.md#desktop-notifications), do a
7784

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+
```
7988

8089
to display titles whenever they are received, or
8190

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+
```
8494
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.
8595

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+
86108
### Desktop File location
87109

88110
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
123145

124146
If this is acceptable for you, and you have a way to inform your users about it, go no and
125147

126-
sed -i 's|recording_dir = default|recording_dir = ~/whatever|' config
148+
```
149+
sed -i 's|recording_dir = default|recording_dir = ~/whatever|' config
150+
```
127151

128152
In any other case, I would suggest you leave this parameter as is and let the user select customize their setup.
129153

@@ -147,7 +171,9 @@ Most Linux distros will probably have *xdg-open* (from *xdg-utils* package) inst
147171

148172
In case a different *resource opener* is to be used, one can declare it like so:
149173

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+
```
151177

152178
This will instruct **PyRadio** to use the file **MY_RESOURCE_OPENER** as a *resource opener*.
153179

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pyradio"
3-
version = "0.9.3.6"
3+
version = "0.9.3.7"
44
authors = [
55
{ name="Ben Dowling", email="[email protected]" },
66
{ name="Spiros Georgaras", email="[email protected]" },

pyradio/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
" pyradio -- Console radio player. "
33

4-
version_info = (0, 9, 3, 6)
4+
version_info = (0, 9, 3, 7)
55

66
# Set it to True if new stations have been
77
# added to the package's stations.csv

pyradio/install.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
''' This is PyRadio version this
1717
install.py was released for
1818
'''
19-
PyRadioInstallPyReleaseVersion = '0.9.3.6'
19+
PyRadioInstallPyReleaseVersion = '0.9.3.7'
2020

2121
import locale
2222
locale.setlocale(locale.LC_ALL, "")

0 commit comments

Comments
 (0)