Skip to content

Commit fa7f277

Browse files
committed
- version 0.8.9.28 (0.9-beta25)
- updating docs s Please enter the commit message for your changes. Lines starting
1 parent 0544a10 commit fa7f277

11 files changed

+78
-25
lines changed

Changelog

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
2022-09-27 s-n-g
2+
* version 0.8.9.28 (0.9-beta25)
3+
* adding play next/previous station to global functions
4+
* fixing Connection Type window colors
5+
* fixing line editor blobal function handler
6+
* fixing a couple of stations history bugs
7+
* fixing station listing for CJL characters
8+
* updating docs
9+
110
2022-09-18 s-n-g
211
* version 0.8.9.27 (0.9-beta24)
312
* Implementing Stations History as per #161

README.html

+32-12
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
pre { background-color: rgba(245, 245, 245, 1); color: #474747; padding: 1.5em; border: 1px solid #C7C7C7; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; overflow: auto; box-shadow: 5px 5px 15px #C7C7C7;}
2828
.task-list {list-style-type: none; padding: 0; margin: 0 0 0 1em ;}
2929
img{display: block; margin-left: auto; margin-right: auto; max-width: 750px; width: 100%; background:transparent; padding:3px; border:1px solid #999999; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow:5px 5px 15px #888888;}
30+
.indented {text-indent: -1.5em; padding-left: 1.5em; margin-left: 1em;}
3031
a{ color: SaddleBrown;}
3132
a:visited{color: SaddleBrown;}
3233
</style>
@@ -180,6 +181,15 @@ <h2 id="requirements">Requirements <span style="padding-left: 10px;"><sup style=
180181
<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>
181182
<pre style="height: 200px;">
182183

184+
2022-09-27 s-n-g
185+
* version 0.8.9.28 (0.9-beta25)
186+
* adding play next/previous station to global functions
187+
* fixing Connection Type window colors
188+
* fixing line editor blobal function handler
189+
* fixing a couple of stations history bugs
190+
* fixing station listing for CJL characters
191+
* updating docs
192+
183193
2022-09-18 s-n-g
184194
* version 0.8.9.27 (0.9-beta24)
185195
* Implementing Stations History as per #161
@@ -890,7 +900,6 @@ <h2 id="controls">Controls <span style="padding-left: 10px;"><sup style="font-si
890900
P Jump to playing station Jump to playing playlist -
891901
Enter/Right/l Play selected station Open selected playlist Apply selected theme
892902
^N / ^P Play next/previous station - -
893-
(if already in playback)
894903
r Select and play a random station Re-read playlists from disk -
895904
Space/Left/h Stop/start playing selected station - -
896905
Space - - Apply theme and make it default
@@ -922,42 +931,53 @@ <h2 id="controls">Controls <span style="padding-left: 10px;"><sup style="font-si
922931
<p style="margin: 1.5em 4em 0 4em; text-indent: -2.5em;"><strong>Note:</strong> When tagging a station position for a move action (by pressing “<strong>J</strong>”), the position will be displayed at the right bottom corner of the window, suffixed by a “<em>J</em>”, i.e. pressing “<em>J</em>” on position <em>35</em> will display <em>[35J]</em>.</p>
923932
<h3 id="global-shortcuts">Global shortcuts</h3>
924933
<p>Some of the functions provided by <strong>PyRadio</strong> will always be available to the user. These functions are:</p>
925-
<table>
934+
<table style="width:100%;">
935+
<colgroup>
936+
<col style="width: 29%" />
937+
<col style="width: 21%" />
938+
<col style="width: 28%" />
939+
<col style="width: 21%" />
940+
</colgroup>
926941
<thead>
927942
<tr class="header">
928943
<th>Shortcut</th>
929944
<th>Function</th>
945+
<th>Shortcut</th>
946+
<th>Function</th>
930947
</tr>
931948
</thead>
932949
<tbody>
933950
<tr class="odd">
934-
<td><strong>+</strong>/<strong>-</strong> and <strong>,</strong>/<strong>.</strong></td>
951+
<td><strong>+</strong> / <strong>-</strong> and <strong>,</strong> / <strong>.</strong></td>
935952
<td>adjust volume</td>
953+
<td><strong>W</strong></td>
954+
<td>toggle titles logging</td>
936955
</tr>
937956
<tr class="even">
938957
<td><strong>m</strong></td>
939958
<td>mute player</td>
959+
<td><strong>w</strong></td>
960+
<td>like a station</td>
940961
</tr>
941962
<tr class="odd">
942963
<td><strong>v</strong></td>
943964
<td>save volume</td>
965+
<td><strong>^N</strong> / <strong>^P</strong> [1] [2]</td>
966+
<td>play next / previous station</td>
944967
</tr>
945968
<tr class="even">
946969
<td><strong>T</strong></td>
947970
<td>toggle transparency</td>
948-
</tr>
949-
<tr class="odd">
950-
<td><strong>W</strong></td>
951-
<td>toggle titles logging</td>
952-
</tr>
953-
<tr class="even">
954-
<td><strong>w</strong></td>
955-
<td>like a station</td>
971+
<td><strong>&lt;</strong> / <strong>&gt;</strong> [1]</td>
972+
<td>play next / previous station history entry</td>
956973
</tr>
957974
</tbody>
958975
</table>
959-
<p>Every window in <strong>PyRadio</strong> will respect these shotrcuts, even the ones with a “<em>Press any key to…</em>” message.</p>
976+
<p>Every window in <strong>PyRadio</strong> will respect these shortcuts, even the ones with a “<em>Press any key to…</em>” message.</p>
960977
<p>When focus is on a “<em>Line editor</em>”, all shortcuts will work when preceded by a “<strong>\</strong>”.</p>
978+
<p><strong>Notes</strong></p>
979+
<p class="indented">[1] Function not available when in <strong>Playlist</strong> and <strong>Registers</strong> mode. More info on <em>PyRadio’s modes</em> below.</p>
980+
<p class="indented">[2] Function not available in the <strong>Radio Browser</strong> Search window.</p>
961981
<h2 id="html-help">HTML help <span style="padding-left: 10px;"><sup style="font-size: 50%"><a href="#" title="Go to top of the page">Top</a></sup></span></h2>
962982
<p>While in <strong>PyRadio</strong> main window, one can open the HTML (offline) help using “<strong>\h</strong>”.</p>
963983
<p>This is just a helper function for windows users who cannot use the man pages, but is still available for all platforms.</p>

README.md

+13-10
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ The following options can also be set in **PyRadio**'s [configuration file](#con
197197
P Jump to playing station Jump to playing playlist -
198198
Enter/Right/l Play selected station Open selected playlist Apply selected theme
199199
^N / ^P Play next/previous station - -
200-
(if already in playback)
201200
r Select and play a random station Re-read playlists from disk -
202201
Space/Left/h Stop/start playing selected station - -
203202
Space - - Apply theme and make it default
@@ -236,19 +235,23 @@ The same logic applies to all **PyRadio** windows.
236235

237236
Some of the functions provided by **PyRadio** will always be available to the user. These functions are:
238237

239-
| Shortcut | Function |
240-
|--------------------------------|-----------------------|
241-
| **\+**/**\-** and **,**/**\.** | adjust volume |
242-
| **m** | mute player |
243-
| **v** | save volume |
244-
| **T** | toggle transparency |
245-
| **W** | toggle titles logging |
246-
| **w** | like a station |
238+
| Shortcut | Function |Shortcut | Function |
239+
|--------------------------------|-----------------------|-------------------------------|-----------------------|
240+
| **\+** / **\-** and **,** / **\.** | adjust volume |**W** | toggle titles logging |
241+
| **m** | mute player |**w** | like a station |
242+
| **v** | save volume |**^N** / **^P** [1] [2]|play next / previous station|
243+
| **T** | toggle transparency |**<** / **>** [1] | play next / previous station history entry|
247244

248-
Every window in **PyRadio** will respect these shotrcuts, even the ones with a "*Press any key to...*" message.
245+
Every window in **PyRadio** will respect these shortcuts, even the ones with a "*Press any key to...*" message.
249246

250247
When focus is on a "*Line editor*", all shortcuts will work when preceded by a "**\\**".
251248

249+
**Notes**
250+
251+
[1] Function not available when in **Playlist** and **Registers** mode. More info on *PyRadio's modes* below.
252+
253+
[2] Function not available in the **Radio Browser** Search window.
254+
252255
## HTML help
253256

254257
While in **PyRadio** main window, one can open the HTML (offline) help using "**\\h**".

build.html

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
pre { background-color: rgba(245, 245, 245, 1); color: #474747; padding: 1.5em; border: 1px solid #C7C7C7; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; overflow: auto; box-shadow: 5px 5px 15px #C7C7C7;}
2828
.task-list {list-style-type: none; padding: 0; margin: 0 0 0 1em ;}
2929
img{display: block; margin-left: auto; margin-right: auto; max-width: 750px; width: 100%; background:transparent; padding:3px; border:1px solid #999999; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow:5px 5px 15px #888888;}
30+
.indented {text-indent: -1.5em; padding-left: 1.5em; margin-left: 1em;}
3031
a{ color: SaddleBrown;}
3132
a:visited{color: SaddleBrown;}
3233
</style>

devel/pre-commit

+2
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ do
8686
pre { background-color: rgba(245, 245, 245, 1); color: #474747; padding: 1.5em; border: 1px solid #C7C7C7; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; overflow: auto; box-shadow: 5px 5px 15px #C7C7C7;} \
8787
.task-list {list-style-type: none; padding: 0; margin: 0 0 0 1em ;} \
8888
img{display: block; margin-left: auto; margin-right: auto; max-width: 750px; width: 100%; background:transparent; padding:3px; border:1px solid #999999; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow:5px 5px 15px #888888;} \
89+
.indented {text-indent: -1.5em; padding-left: 1.5em; margin-left: 1em;} \
8990
</style>' ${out}
9091
sed -i -e 's/<code>//g' \
9192
-e 's{</code>{{g' \
@@ -99,6 +100,7 @@ do
99100
-e 's{</h2>{ <span style="padding-left: 10px;"><sup style="font-size: 50%"><a href="#" title="Go to top of the page">Top</a></sup></span>&{' \
100101
-e 's|<.style>$|a{ color: SaddleBrown;}\na:visited{color: SaddleBrown;}\n</style>|' \
101102
-e 's/<h1 /<h1 style="color: SaddleBrown" /' \
103+
-e 's/^<p>\[/<p class="indented">[/' \
102104
${out}
103105
rm tmp.md
104106
if [ "$out" = "windows.html" ] || [ "$out" = "windows-mplayer.html" ];then

pyradio.1

+15-1
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,27 @@ toggle transparency
171171
toggle titles logging
172172
.IP \fBw\fR
173173
like a station
174+
.IP \fB^N\fR\//\fB^P\fR\ [\fI1\fR]\ [\fI2\fR]
175+
play next / previous station
176+
.IP \fB<\fR\//\fB>\fR\ [\fI1\fR]
177+
play next / previous station history entry
174178

175179
.RE
176180
.RS 7
177-
Every window in \fBpyradio\fR will respect these shotrcuts, even the ones with a “\fIPress any key to…\fR” message.
181+
Every window in \fBpyradio\fR will respect these shortcuts, even the ones with a “\fIPress any key to…\fR” message.
178182

179183
When focus is on a \fBLine editor\fR, all shortcuts will work when preceded by a "\fI\\\fR".
180184

185+
\fBNotes\fR
186+
187+
.RS 3
188+
.IP [\fI1\fR]
189+
Function not available when in \fBPlaylist\fR and \fBRegisters\fR mode. More info on \fBpyradio's modes\fR below.
190+
191+
.IP [\fI2\fR]
192+
Function not available in the \fBRadio Browser\fR Search window.
193+
.RE
194+
181195
.SH Pyradio's Modes
182196

183197
\fBPyRadio\fR has the following primary modes:

pyradio/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
" pyradio -- Console radio player. "
22

3-
version_info = (0, 8, 9, 27)
3+
version_info = (0, 8, 9, 28)
44

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

radio-browser.html

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
pre { background-color: rgba(245, 245, 245, 1); color: #474747; padding: 1.5em; border: 1px solid #C7C7C7; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; overflow: auto; box-shadow: 5px 5px 15px #C7C7C7;}
2828
.task-list {list-style-type: none; padding: 0; margin: 0 0 0 1em ;}
2929
img{display: block; margin-left: auto; margin-right: auto; max-width: 750px; width: 100%; background:transparent; padding:3px; border:1px solid #999999; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow:5px 5px 15px #888888;}
30+
.indented {text-indent: -1.5em; padding-left: 1.5em; margin-left: 1em;}
3031
a{ color: SaddleBrown;}
3132
a:visited{color: SaddleBrown;}
3233
</style>

windows-mplayer.html

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
pre { background-color: rgba(245, 245, 245, 1); color: #474747; padding: 1.5em; border: 1px solid #C7C7C7; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; overflow: auto; box-shadow: 5px 5px 15px #C7C7C7;}
2828
.task-list {list-style-type: none; padding: 0; margin: 0 0 0 1em ;}
2929
img{display: block; margin-left: auto; margin-right: auto; max-width: 750px; width: 100%; background:transparent; padding:3px; border:1px solid #999999; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow:5px 5px 15px #888888;}
30+
.indented {text-indent: -1.5em; padding-left: 1.5em; margin-left: 1em;}
3031
a{ color: SaddleBrown;}
3132
a:visited{color: SaddleBrown;}
3233
</style>

windows-mpv.html

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
pre { background-color: rgba(245, 245, 245, 1); color: #474747; padding: 1.5em; border: 1px solid #C7C7C7; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; overflow: auto; box-shadow: 5px 5px 15px #C7C7C7;}
2828
.task-list {list-style-type: none; padding: 0; margin: 0 0 0 1em ;}
2929
img{display: block; margin-left: auto; margin-right: auto; max-width: 750px; width: 100%; background:transparent; padding:3px; border:1px solid #999999; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow:5px 5px 15px #888888;}
30+
.indented {text-indent: -1.5em; padding-left: 1.5em; margin-left: 1em;}
3031
a{ color: SaddleBrown;}
3132
a:visited{color: SaddleBrown;}
3233
</style>

windows.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
pre { background-color: rgba(245, 245, 245, 1); color: #474747; padding: 1.5em; border: 1px solid #C7C7C7; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; overflow: auto; box-shadow: 5px 5px 15px #C7C7C7;}
2828
.task-list {list-style-type: none; padding: 0; margin: 0 0 0 1em ;}
2929
img{display: block; margin-left: auto; margin-right: auto; max-width: 750px; width: 100%; background:transparent; padding:3px; border:1px solid #999999; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-shadow:5px 5px 15px #888888;}
30+
.indented {text-indent: -1.5em; padding-left: 1.5em; margin-left: 1em;}
3031
a{ color: SaddleBrown;}
3132
a:visited{color: SaddleBrown;}
3233
</style>
@@ -76,7 +77,7 @@ <h2 id="table-of-contents">Table of Contents <span style="padding-left: 10px;"><
7677
<li><a href="#reporting-bugs">Reporting bugs</a></li>
7778
</ul>
7879
<!-- vim-markdown-toc -->
79-
<p>[<a href="build.html">Back to Build Instructions</a>] | [<a href="README.html">Back to README</a>]</p>
80+
<p class="indented">[<a href="build.html">Back to Build Instructions</a>] | [<a href="README.html">Back to README</a>]</p>
8081
<h2 id="running-pyradio-on-windows">Running PyRadio on Windows <span style="padding-left: 10px;"><sup style="font-size: 50%"><a href="#" title="Go to top of the page">Top</a></sup></span></h2>
8182
<p>What? A linux console application on Windows?</p>
8283
<p>Yes, sure. Why not?</p>

0 commit comments

Comments
 (0)