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="table-of-contents">Table of contents <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></style></h2>
<h2id="requirements">Requirements <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></style></h2>
49
51
<ul>
50
52
<li>python 2.7+/3.5+</li>
51
53
<li>MPV, MPlayer or VLC installed and in your path.</li>
52
-
<li><ahref="http://www.dest-unreach.org/socat/">socat</a> (if you wish to use MPV)</li>
54
+
<li><atarget="_blank" href="http://www.dest-unreach.org/socat/">socat</a> (if you wish to use MPV)</li>
53
55
</ul>
54
56
<h2id="installation">Installation <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></style></h2>
55
-
<p>The best way to install <strong>PyRadio</strong> is via a distribution package, if one exists (e.g. <em>Arch Linux</em> and derivatives can install <ahref="https://aur.archlinux.org/packages/pyradio-git/">pyradio-git</a> from AUR).</p>
57
+
<p>The best way to install <strong>PyRadio</strong> is via a distribution package, if one exists (e.g. <em>Arch Linux</em> and derivatives can install <atarget="_blank" href="https://aur.archlinux.org/packages/pyradio-git/">pyradio-git</a> from AUR).</p>
56
58
<p>In any other case, and since <strong>PyRadio</strong> is currently not available via pip, you will have to <ahref="build.html">build it from source</a>.</p>
57
59
<h2id="command-line-options">Command line options <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></style></h2>
<p>This would be useful in the case where most of your stations do not use <strong>utf-8</strong>. Instead of editing the playlist and add the encoding to each and every affected station, you just set it globally.</p>
195
197
<h3id="finding-the-right-encoding">Finding the right encoding</h3>
<p>replacing <strong>2.7</strong> with specific version: <strong>3.0</strong> up to current python version.</p>
199
201
<h2id="player-detection-selection">Player detection / selection <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></style></h2>
200
202
<p><strong>PyRadio</strong> is basically built around the existence of a valid media player it can use. Thus, it will auto detect the existence of its supported players upon its execution.</p>
201
203
<p>Currently, it supports MPV, MPlayer and VLC, and it will look for them in that order. If none of them is found, the program will terminate with an error.</p>
202
-
<p>MPV will be used only when the <ahref="http://www.dest-unreach.org/socat/">socat</a> multipurpose relay is also installed.</p>
204
+
<p>MPV will be used only when the <atarget="_blank" href="http://www.dest-unreach.org/socat/">socat</a> multipurpose relay is also installed.</p>
203
205
<p>Users can alter this default behavior by using the <strong><em>-u</em></strong> command line option. This option will permit the user either to specify the player to use, or change the detection order.</p>
<h2id="search-function">Search function <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></style></h2>
235
+
<p>On any window presenting a list of items (stations, playlists, themes) a <strong>search function</strong> is available by pressing “<strong>/</strong>”.</p>
236
+
<p>The <em>Search Window</em> supports normal and extend editing and in session history.</p>
237
+
<p>After a search term has been successfully found, next occurrence can be obtained using the “<strong>n</strong>” key and previous occurrence can be obtained using the “<strong>N</strong>” key.</p>
238
+
<pstyle="margin: 1.5em 4em 0 4em; text-indent: -2.5em;"><strong>Note:</strong><strong>Python 2</strong> users are confined in typing ASCII characters only.</p>
239
+
<pstyle="margin: 1.5em 4em 0 4em; text-indent: -2.5em;"><strong>Note:</strong> Currently, the <strong>search function</strong> is available on the stations’ and playlists’ window only.</p>
232
240
<h2id="pyradio-themes">PyRadio Themes <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></style></h2>
233
241
<p><strong>PyRadio</strong> comes with 6 preconfigured (hard coded) themes:</p>
<li><strong>white_on_black</strong> or <strong>wob</strong> (256 color b&w theme). A theme for dark terminal background settings.</li>
240
248
<li><strong>black_on_white</strong> or <strong>bow</strong> (256 color b&w theme). A theme for light terminal background settings.</li>
241
249
</ol>
242
-
<p>and three 256-color system themes (these are actual files saved in the <strong>themes</strong> installation directory): 1. <strong>brown_by_sng</strong>, <strong>pink_by_sng</strong> and <strong>purple_by_sng</strong>.</p>
250
+
<p>Furthermore, three 256-color system themes (these are actual files saved in the <strong>themes</strong> installation directory) are also available:</p>
251
+
<oltype="1">
252
+
<li><strong>brown_by_sng</strong></li>
253
+
<li><strong>pink_by_sng</strong></li>
254
+
<li><strong>purple_by_sng</strong></li>
255
+
</ol>
243
256
<p>The visual result of an applied theme greatly depends on the terminal settings (e.g. foreground and background color settings, palette used, number of colors supported, real or pseudo-transparency support, etc.)</p>
244
257
<p>Pressing “<strong>t</strong>” will bring up the <em>Theme selection window</em>, which can be used to activate a theme and set the default one.</p>
245
258
<pstyle="margin: 1.5em 4em 0 4em; text-indent: -2.5em;"><strong>Note:</strong> Themes that use more colors than those supported by the terminal in use, will not be present in the <em>Theme selection window</em>. Furthermore, if a such at theme is set as default (or requested using the “<strong>-t</strong>” command line option), <strong>PyRadio</strong> will silently fall-back to the “<strong>dark</strong>” theme (or the “<strong>light</strong>” theme, if the terminal supports 8 colors and default theme is set to “<em>light_16_colors</em>”).</p>
<h2id="debug-mode">Debug mode <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></style></h2>
278
291
<p>Adding the <strong><em>-d</em></strong> option to the command line will instruct <strong>PyRadio</strong> to enter <em>Debug mode</em>, which means that it will print debug messages to a file. This file will always reside in the user’s home directory and will be named <em>pyradio.log</em>.</p>
279
-
<p>In case of a bug or a glitch, please include this file to the issue you will <ahref="https://github.com/coderholic/pyradio/issues">open in github</a>.</p>
292
+
<p>In case of a bug or a glitch, please include this file to the issue you will <atarget="_blank" href="https://github.com/coderholic/pyradio/issues">open at github</a>.</p>
293
+
<h2id="reporting-bugs">Reporting bugs <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></style></h2>
294
+
<p>When a bug is found, please do report it by <atarget="_blank" href="https://github.com/coderholic/pyradio/issues">opening an issue at github</a>, as already stated above.</p>
295
+
<p>In you report you should, at the very least, state your <strong>pyradio version</strong>, <strong>python version</strong> and <strong>method</strong> of installation (built from source, AUR, snap, whatever).</p>
296
+
<p>It would be really useful to include <strong>~/pyradio.log</strong> in your report.</p>
297
+
<p>To create it, enter the following commands in a terminal:</p>
298
+
<pre>$ rm ~/pyradio.log
299
+
$ pyradio -d</pre>
300
+
<p>Then try to reproduce the bug and exit <strong>pyradio</strong>.</p>
301
+
<p>Finally, include the file produced in your report.</p>
On any window presenting a list of items (stations, playlists, themes) a **search function** is available by pressing "**/**".
335
+
336
+
The *Search Window* supports normal and extend editing and in session history.
337
+
338
+
After a search term has been successfully found, next occurrence can be obtained using the "**n**" key and previous occurrence can be obtained using the "**N**" key.
339
+
340
+
**Note:****Python 2** users are confined in typing ASCII characters only.
341
+
342
+
**Note:** Currently, the **search function** is available on the stations' and playlists' window only.
343
+
330
344
## PyRadio Themes
331
345
332
346
**PyRadio** comes with 6 preconfigured (hard coded) themes:
@@ -338,7 +352,11 @@ Example:
338
352
5.**white_on_black** or **wob** (256 color b&w theme). A theme for dark terminal background settings.
339
353
6.**black_on_white** or **bow** (256 color b&w theme). A theme for light terminal background settings.
340
354
341
-
and three 256-color system themes (these are actual files saved in the **themes** installation directory): 1. **brown_by_sng**, **pink_by_sng** and **purple_by_sng**.
355
+
Furthermore, three 256-color system themes (these are actual files saved in the **themes** installation directory) are also available:
356
+
357
+
1.**brown_by_sng**
358
+
2.**pink_by_sng**
359
+
3.**purple_by_sng**
342
360
343
361
The visual result of an applied theme greatly depends on the terminal settings (e.g. foreground and background color settings, palette used, number of colors supported, real or pseudo-transparency support, etc.)
344
362
@@ -408,4 +426,21 @@ As we see, previous versions still exist in this system: **0.7.6.2** and **0.7.7
408
426
409
427
Adding the ***-d*** option to the command line will instruct **PyRadio** to enter *Debug mode*, which means that it will print debug messages to a file. This file will always reside in the user's home directory and will be named *pyradio.log*.
410
428
411
-
In case of a bug or a glitch, please include this file to the issue you will [open in github](https://github.com/coderholic/pyradio/issues).
429
+
In case of a bug or a glitch, please include this file to the issue you will [open at github](https://github.com/coderholic/pyradio/issues).
430
+
431
+
## Reporting bugs
432
+
433
+
When a bug is found, please do report it by [opening an issue at github](https://github.com/coderholic/pyradio/issues), as already stated above.
434
+
435
+
In you report you should, at the very least, state your **pyradio version**, **python version** and **method** of installation (built from source, AUR, snap, whatever).
436
+
437
+
It would be really useful to include **~/pyradio.log** in your report.
438
+
439
+
To create it, enter the following commands in a terminal:
440
+
441
+
$ rm ~/pyradio.log
442
+
$ pyradio -d
443
+
444
+
Then try to reproduce the bug and exit **pyradio**.
445
+
446
+
Finally, include the file produced in your report.
<h2id="table-of-contents">Table of contents <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></style></h2>
32
32
<ul>
33
33
<li><ahref="#building-from-source">Building from source</a>
@@ -61,7 +61,7 @@ <h3 id="linux">Linux</h3>
61
61
<p>Use your distribution method to install <em>python-setuptools</em>, <em>git</em>, <em>sed</em> and any one of <em>MPV</em>, <em>MPlayer</em> and/or <em>VLC</em>.</p>
62
62
<p>When you are done, proceed to “<ahref="#performing-the-installation">Performing the installation</a>”.</p>
63
63
<h3id="macos">macOS</h3>
64
-
<p>Everything you need to install, run and keep <strong>pyradio</strong> up-to-date is available on <ahref="https://github.com/Homebrew/homebrew">Homebrew</a>. If you haven’t already downloaded its client, go ahead and do it.</p>
64
+
<p>Everything you need to install, run and keep <strong>pyradio</strong> up-to-date is available on <atarget="_blank" href="https://github.com/Homebrew/homebrew">Homebrew</a>. If you haven’t already downloaded its client, go ahead and do it.</p>
<p>You just go to <ahref="http://www.videolan.org/vlc/download-macos.html">videolan.org</a>, download and install the program as you usually do with any other application.</p>
79
+
<p>You just go to <atarget="_blank" href="http://www.videolan.org/vlc/download-macos.html">videolan.org</a>, download and install the program as you usually do with any other application.</p>
80
80
<p>Finally, add a symbolic link to the executable as follows:</p>
0 commit comments