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
Copy file name to clipboardExpand all lines: README.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -435,7 +435,7 @@ This way, 10 sets of parameters can be inserted and made available for selection
435
435
436
436
#### Using the command line
437
437
438
-
When the command line parameter (**-epp** or **--extra_player_parameters**) is used, the parameters specified must be of a specific format, and will be added to the list of parameters and made default for the player.
438
+
When the command line parameter (**-epp** or **--extra_player_parameters**) is used, the parameters specified must be of a specific format, and will be added to the list of parameters and made default for the player for the current session.
439
439
440
440
The format of the parameter is the following: **[player_name:parameters]**
441
441
@@ -477,6 +477,8 @@ The user can add ("**a**") a new parameter, edit ("**e**") an existing set and d
477
477
478
478
### Changing parameters set
479
479
480
+
When all desired parameter sets are already defined, using the **-ap** (**--active-player-param-id**) command line parameter can activate the set that corresponds to the number specified. The number to use for any given set can be retrieved using the **-lp** (**--list-player-parameters**) command line parameter.
481
+
480
482
While **PyRadio** is running, the user can change the parameters set used by the player using the "*Player Extra Parameters*" window, by pressing "**Z**".
481
483
482
484
If playback is on, changing the player's parameters will make the player restart the playback so that the new parameters get used.
@@ -740,11 +742,12 @@ Finally, include the file produced in your report.
740
742
## TODO
741
743
742
744
-[ ] Any user request I find interesting :)
743
-
-[x] Basic mouse support ([#119](https://github.com/coderholic/pyradio/issues/119))
744
-
-[x]New player selection configuration window ([#118](https://github.com/coderholic/pyradio/issues/118))
745
-
-[ ] Use Radio Browser service ([#80](https://github.com/coderholic/pyradio/issues/80)[#93](https://github.com/coderholic/pyradio/issues/93)[#112](https://github.com/coderholic/pyradio/issues/112))
745
+
-[x] Basic mouse support ([#119](https://github.com/coderholic/pyradio/issues/119)) - v. 0.8.8.3
746
+
-[x]Players extra parameters ([#118](https://github.com/coderholic/pyradio/issues/118)) - v. 0.8.8.3
747
+
-[x] New player selection configuration window ([#118](https://github.com/coderholic/pyradio/issues/118)) - v. 0.8.8.3
746
748
-[ ] Notify the user that the package's stations.csv has changed
747
749
-[ ] Update / uninstall using command line parameters (-U / -R)
750
+
-[ ] Use Radio Browser service ([#80](https://github.com/coderholic/pyradio/issues/80)[#93](https://github.com/coderholic/pyradio/issues/93)[#112](https://github.com/coderholic/pyradio/issues/112))
<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
35
<ul>
33
36
<li><ahref="#building-from-source">Building from source</a>
<li>A pre-built package is not available to you.</li>
53
56
<li>You want to use a particular python version. For example, most pre-built packages nowadays are built using python 3.x. If for any reason you have to use python 2.x, this is the way to go.</li>
54
57
</ul>
55
-
<p>For the installation you will need <strong><em>git</em></strong> and <strong><em>setuptools</em></strong> (e.g.<em>python-setuptools</em>, <em>python3-setuptools</em> or <em>python2-setuptools</em>) to be already installed.</p>
58
+
<p>For the installation you will need <strong><em>git</em></strong> and <strong><em>setuptools</em></strong> (e.g.<em>python-setuptools</em>, <em>python3-setuptools</em> or <em>python2-setuptools</em>) to be already installed.</p>
56
59
<p>Finally, you will use the <strong><em>build_install_pyradio</em></strong> script, located int the <strong><em>devel</em></strong> directory.</p>
Specify the extra player parameter set to be used with the default player. \fIACTIVE_PLAYER_PARAM_ID\fR is 1-11.
46
-
47
45
.IP\fB-lp
48
46
Listextraplayersparameters.
49
-
50
47
.IP\fB--unlock
51
48
Removesessions'lockfile.
52
49
.IP\fB-d\fR,\fB\ \--debug
@@ -500,7 +497,7 @@ This way, 10 sets of parameters can be inserted and made available for selection
500
497
501
498
\fBUSINGTHECOMMANDLINE\fR
502
499
503
-
When the command line parameter (\fB-epp\fR or \fB-extra_player_parameters\fR) is used, the parameters specified must be of a specific format, and will be added to the list of parameters and made default for the player.
500
+
When the command line parameter (\fB-epp\fR or \fB-extra_player_parameters\fR) is used, the parameters specified must be of a specific format, and will be added to the list of parameters and made default for the player for the current session.
504
501
505
502
The format of the parameter is the following: \fI[\fBplayer_name\fR:\fBparameters\fI]\fR.
506
503
@@ -542,6 +539,7 @@ Example:
542
539
543
540
\fIpyradio-epp"mpv:profile:second_sound_card"
544
541
542
+
545
543
.P
546
544
\fBUSINGTHECONFIGURATIONWINDOW\fR
547
545
@@ -555,14 +553,16 @@ The user can add ("\fBa\fR") a new parameter, edit ("\fBe\fR") an existing set a
555
553
556
554
\fBCHANGINGPARAMETERS'SET\fR
557
555
556
+
.P
557
+
When all desired parameter sets are already defined, using the \fB-ap\fR (\fB--active-player-param-id\fR) command line parameter can activate the set that corresponds to the number specified. The number to use for any given set can be retrieved using the \fB-lp\fR (\fB--list-player-parameters\fR) command line parameter.
558
+
558
559
While \fBpyradio\fR is running, the user can change the parameters' set used by the player using the "\fIPlayerExtraParameters\fR" window, by pressing "\fBZ\fR".
559
560
560
561
If playback is on, changing the player's parameters will make the player restart the playback so that the new parameters is used.
561
562
562
563
.IP\fBNote\fR
563
564
Any changes made this way will not be saved but will be in effect until \fBpyradio\fR terminates.
564
565
565
-
566
566
.SH PLAYER CONNECTION PROTOCOL
567
567
568
568
Most radio stations use plain old http protocol to broadcast, but some of them use https.
<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>
<p>This is actually your “<em>Home</em>” directory.</p>
50
-
<p>Please make a note that you will add "<strong>%USERPROFILE%\mplayer</strong> to PATH.</p></li>
53
+
<p>Please make a note that you will add "<strong>%USERPROFILE%\mplayer</strong> to PATH.</p></li>
51
54
<li><strong>%APPDATA%\pyradio</strong></p>
52
55
<p>This is (or will be) “<em>PyRadio’s configuration directory</em>”.</p>
53
56
<p>In case the <strong>pyradio</strong> directory does not exit, you just go ahead and create it.</p>
54
-
<p>(Make a note that you will add "<strong>%APPDATA%\pyradio\mplayer</strong> to PATH)</p></li>
57
+
<p>(Make a note that you will add "<strong>%APPDATA%\pyradio\mplayer</strong> to PATH)</p></li>
55
58
</ol>
56
59
<p>In either case, in order to do that, open an <strong>Explorer File Manager</strong> window, and enter at its location field <strong>%USERPROFILE%</strong> or <strong>%APPDATA%</strong>.</p>
57
60
<p>If you are unsure on how to do that, please refer to the following image (you can ENTER <strong>%USERPROFILE%</strong> or <strong>%APPDATA%</strong> or any other Windows System Variable this way).</p>
<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
35
<ul>
33
36
<li><ahref="#running-pyradio-on-windows">Running PyRadio on Windows</a></li>
<p>When the download is done, run its setup and select “<em>Custom Installation</em>” so that you can “<em>Add Python to environment varaibles</em>”. You can refer to the following image to see the relevant setting.</p>
<h4id="verifying-the-installation">1.2 Verifying the installation</h4>
90
-
<p>Either if you have just installed <strong>Python</strong> or you already have it installed, you need to verify that its executable is in the <strong>PATH</strong> (i.e.<strong>Python</strong> can be executed from a console by typing“<em>python</em>”).</p>
93
+
<p>Either if you have just installed <strong>Python</strong> or you already have it installed, you need to verify that its executable is in the <strong>PATH</strong> (i.e.<strong>Python</strong> can be executed from a console by typing“<em>python</em>”).</p>
91
94
<p>So, go ahead and open a console (the command is <strong>cmd</strong>) and type <strong>python</strong>.</p>
92
95
<p>If you get something similar to the following snippet, you are good to go.</p>
93
96
<pre>Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win
@@ -157,7 +160,7 @@ <h4 id="using-git">4.1 Using Git</h4>
157
160
devel\build_install_pyradio</pre>
158
161
<h4id="not-using-git">4.2 Not using Git</h4>
159
162
<p>Go to <atarget="_blank" href="https://github.com/coderholic/pyradio/releases">PyRadio’s Releases page</a> and download the latest release (either a zip or a tar.gz file).</p>
160
-
<p>Extract this file to your “<em>Home</em>” directory (“<strong>C:\Users\[Your User Name]</strong>” or “<strong>%USERPROFILE%</strong>) - you will get a directory whose name is similar to”<strong>pyradio-0.7.9</strong>".</p>
163
+
<p>Extract this file to your “<em>Home</em>” directory (“<strong>C:\Users\[Your User Name]</strong>” or “<strong>%USERPROFILE%</strong>) - you will get a directory whose name is similar to”<strong>pyradio-0.7.9</strong>".</p>
161
164
<p>I will use this name for the following examples; you will have to use the actual name of directory you got from the extraction.</p>
162
165
<p>Finally, open a console (press the <strong>Win</strong> key, type <strong>cmd</strong> and press <strong>ENTER</strong> or if you are on Windows 10, use <strong>Run it as Administrator</strong> as you can see in the following image).</p>
163
166
<p><atarget="_blank" href="https://members.hellug.gr/sng/pyradio/run-as-admin.jpg">Run as Administrator</a></p>
0 commit comments