Skip to content

Commit 12a5e6e

Browse files
committed
version 0.9.3.4
1 parent e73dbf0 commit 12a5e6e

File tree

8 files changed

+57
-16
lines changed

8 files changed

+57
-16
lines changed

Changelog

+10
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
2024-04-23 s-n-g
2+
* version 0.9.3.4 (BUG FIX)
3+
* adding --no-video command line parameter for vlc
4+
* removing more python 2 code
5+
* updating macOS installation instructions (based on Ventura)
6+
* fixing #239 - Pyradio doesn't remember warning message was already shown
7+
* fixing loading saved and default config options in Config Window,
8+
Recording Dir is excluded from change
9+
* updating docs
10+
111
2024-04-18 s-n-g
212
* version 0.9.3.3 (BUG FIX)
313
* adding a resource opener parameter for linux installations

README.md

+21
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,27 @@ Command line internet radio player.
44

55
![Pyradio](https://members.hellug.gr/sng/pyradio/pyradio.png)
66

7+
## Version 0.9.3.3 may fail to update
8+
9+
If you try to update from **version 0.9.3.3**, you may find that the update script does not work.
10+
11+
This is a known bug, fixed in subsequent releases.
12+
13+
To update your **0.9.3.3** installation, open a terminal and execute:
14+
15+
```
16+
rm install.py
17+
curl -L \
18+
https://raw.githubusercontent.com/coderholic/pyradio/master/pyradio/install.py \
19+
-o install.py
20+
```
21+
22+
Finally, execute:
23+
24+
```
25+
python3 install.py -U -f
26+
```
27+
728
## IMPORTANT NOTICE 1
829

930
**PyRadio** may fail to install/update on some linux distros (mainly Ubuntu 23.04, Debian and derivatives, etc.) due to a change to the underlined python installation.

devel/pre-commit

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ cMagenta="[1;3${colorMagenta}m"${cBold}
1919
function update_brew_link(){
2020
local INSERT
2121
local MACOS_FILE
22-
echo -n 'Updating brew link ... '
22+
echo -e "Working on ${cBlue}docs/macos.md${cReset}"
23+
echo -n ' Updating brew link ... '
2324
INSERT=$(curl -s https://brew.sh/ | grep '<figure class="highlight"><pre>' | sed '2,$d' | sed 's/<[^>]*>//g')
2425

2526
# Check if INSERT is not empty

devel/update_win_players

+11-12
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ function get_mplayer(){
2020
local EXISTING
2121
local FOUND
2222
local TO_USE
23-
echo -e ">>> ${cMagenta}MPlayer${cReset}"
24-
echo -en " Reading in file ${cMagenta}MPlayer${cReset} version ... "
23+
echo -e " >>> ${cMagenta}MPlayer${cReset}"
24+
echo -en " Reading in file ${cMagenta}MPlayer${cReset} version ... "
2525
EXISTING=$(sed -n '/svn-[0-9]/p' pyradio/win.py | sed -e 's/.*svn-//' -e 's/-.*//')
2626

2727
echo -e "${cYellow}r${EXISTING}${cReset}"
2828

29-
echo -en " Reading published ${cMagenta}MPlayer${cReset} versions ... "
29+
echo -en " Reading published ${cMagenta}MPlayer${cReset} versions ... "
3030

3131
FOUND=$(curl -s -L 'https://sourceforge.net/projects/mplayerwin/files/MPlayer-MEncoder' 2>/dev/null | grep '<tr title' | sed -e 's/<tr title="//' -e 's/".*//'|grep -e '^r')
3232

@@ -45,7 +45,7 @@ function get_mplayer(){
4545
if [ r"${EXISTING}" = "$n" ]
4646
then
4747
echo -e "$FOUND" | sed -e '2,$d' -e "s/.*/${cYellow}&${cReset}/"
48-
echo -e "Latest ${cMagenta}MPlayer${cReset} version already used..."
48+
echo -e " Latest ${cMagenta}MPlayer${cReset} version already used..."
4949
return
5050
else
5151
echo -e "$FOUND" | sed -e '2,$d' -e "s/.*/${cRes}&${cReset}/"
@@ -61,7 +61,7 @@ function get_mplayer(){
6161
echo "Version to use: ${TO_USE}"
6262
fi
6363

64-
echo -en " Updating in file ${cMagenta}MPlayer${cReset} version ... "
64+
echo -en " Updating in file ${cMagenta}MPlayer${cReset} version ... "
6565
sed -i "/MPlayer-MEncoder/s/$EXISTING/$TO_USE/g" pyradio/win.py
6666
echo -e "${cGreen}done"${cReset}
6767
}
@@ -70,13 +70,13 @@ function get_mpv(){
7070
local EXISTING
7171
local FOUND
7272
local TO_USE
73-
echo -e ">>> ${cMagenta}MPV${cReset}"
74-
echo -en " Reading in file ${cMagenta}MPV${cReset} version ... "
73+
echo -e " >>> ${cMagenta}MPV${cReset}"
74+
echo -en " Reading in file ${cMagenta}MPV${cReset} version ... "
7575
EXISTING=$(grep mpv-player-windows pyradio/win.py | grep download | grep -v latest | sed -e "s/.*'h/h/" -e "s/',//")
7676
EXISTING=$(basename $(dirname "$EXISTING"))
7777
echo -e "${cYellow}$EXISTING${cReset}"
7878

79-
echo -en " Reading latest ${cMagenta}MPV${cReset} version ... "
79+
echo -en " Reading latest ${cMagenta}MPV${cReset} version ... "
8080
FOUND=$(curl -s -L https://sourceforge.net/projects/mpv-player-windows/files/64bit/ 2>/dev/null | grep '"url":"/projects' | sed 's/"url":/\n&/g' |grep '^"url"' | sed '2,$d' | sed -e 's/"url":"//' -e 's|/","full_path":".*||')
8181

8282
if [ $? -ne 0 ]
@@ -89,17 +89,16 @@ function get_mpv(){
8989
if [ "$FOUND" != "$EXISTING" ]
9090
then
9191
echo "${cRed}$FOUND"
92-
echo -ne " Updating in file ${cMagenta}MPV${cReset} version ... "
92+
echo -ne " Updating in file ${cMagenta}MPV${cReset} version ... "
9393
sed -i "s/$EXISTING/$FOUND/" pyradio/win.py
9494
echo -e "${cGreen}done${cReset}"
9595
else
9696
echo "${cYellow}$FOUND${cReset}"
97-
echo -e "Latest ${cMagenta}MPV${cReset} version already used..."
97+
echo -e " Latest ${cMagenta}MPV${cReset} version already used..."
9898
fi
9999
}
100100

101-
echo -e "Updating ${cBlue}Windows Players Links${cReset}"
102-
echo -e "Working on ${cGreen}pyradio/win.py${cReset}"
101+
echo -e "Working on ${cBlue}pyradio/win.py${cReset}"
103102
get_mpv
104103
get_mplayer
105104
exit 0

docs/index.html

+10
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,16 @@ <h2 id="requirements">Requirements <span style="padding-left: 10px;"><sup style=
206206
<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>
207207
<pre style="height: 200px;">
208208

209+
2024-04-23 s-n-g
210+
* version 0.9.3.4 (BUG FIX)
211+
* adding --no-video command line parameter for vlc
212+
* removing more python 2 code
213+
* updating macOS installation instructions (based on Ventura)
214+
* fixing #239 - Pyradio doesn't remember warning message was already shown
215+
* fixing loading saved and default config options in Config Window,
216+
Recording Dir is excluded from change
217+
* updating docs
218+
209219
2024-04-18 s-n-g
210220
* version 0.9.3.3 (BUG FIX)
211221
* adding a resource opener parameter for linux installations

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.3"
3+
version = "0.9.3.4"
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, 3)
4+
version_info = (0, 9, 3, 4)
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.3'
19+
PyRadioInstallPyReleaseVersion = '0.9.3.4'
2020

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

0 commit comments

Comments
 (0)