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>
37
-
<h2id="requirements">Requirements <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></style></h2>
38
38
<!-- vim-markdown-toc Marked -->
39
39
<ul>
40
+
<li><ahref="#requirements">Requirements</a></li>
40
41
<li><ahref="#installation">Installation</a></li>
41
42
<li><ahref="#command-line-options">Command line options</a></li>
<h2id="requirements">Requirements <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></style></h2>
@@ -384,15 +388,15 @@ <h3 id="extra-player-parameters">Extra Player Parameters</h3>
384
388
<p><strong>PyRadio</strong> provides a way for the user to add extra parameters to the player, either by a command line parameter, or the “<em>Configuration Window</em>” (under “<em>Player:</em>”).</p>
385
389
<p>This way, 10 sets of parameters can be inserted and made available for selection.</p>
386
390
<h4id="using-the-command-line">Using the command line</h4>
387
-
<p>When the command line parameter (<strong>-epp</strong> or <strong>–extra_player_parameters</strong>) 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.</p>
391
+
<p>When the command line parameter (<strong>-ep</strong> or <strong>–extra_player_parameters</strong>) 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.</p>
388
392
<p>The format of the parameter is the following: <strong>[player_name:parameters]</strong></p>
389
393
<p>Where:</p>
390
394
<ul>
391
395
<li><strong>player_name</strong>: the name of the player</li>
392
396
<li><strong>parameters</strong>: the actual player parameters</li>
<pstyle="margin: 1.5em 4em 0 4em; text-indent: -2.5em;"><strong>Note:</strong> When a parameter is passed to “<em>mpv</em>” or “<em>mplayer</em>”, <strong>PyRadio</strong>" will use the default player profile (called “<strong>pyradio</strong>”).</p>
397
401
<p>For “<em>mpv</em>” and “<em>mplayer</em>” a profile can be specified (“<em>vlc</em>” does not support profiles). In this case the format of the <strong>parameters</strong> part of the command line is: <strong>profile:profile_name</strong>.</p>
398
402
<p>Where:</p>
@@ -401,7 +405,7 @@ <h4 id="using-the-command-line">Using the command line</h4>
401
405
<li><strong>profile_name</strong>: the name of a profile. The profile must be already defined in the player’s configuration file.</li>
<h4id="using-the-configuration-window">Using the Configuration Window</h4>
406
410
<p>When the user uses the configuration window (shown in the following image), he is presented with an interface which will permit him to select the player to use with <strong>PyRadio</strong> and edit its extra parameters.</p>
<pstyle="margin: 1.5em 4em 0 4em; text-indent: -2.5em;"><strong>Note:</strong> Starting with <strong>PyRadio v. 0.8.9</strong>, <em>mplayer</em>’s default profile will use its internal mixer to adjust its volume; this is accompliced using the “<em>softvol=1</em>” and “<em>softvol-max=300</em>” lines above. The user may choose to remove these lines from the config (to activate system-wide volume adjustment) or add them to the config (in case the profile was created by an older <strong>PyRadio</strong> version).</p>
445
452
<h2id="displaying-station-info">Displaying Station Info <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></style></h2>
446
453
<p>When a connection to a radio station has been established, the station starts sending audio data for the user to listen to.</p>
<p>If for any reason <strong>PyRadio</strong> always starts in “<em>locked mode</em>”, one can <strong>unlock</strong> the session, using the “<em>–unlock</em>” command line parameter.</p>
547
554
<h2id="update-notification">Update notification <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></style></h2>
548
555
<p><strong>PyRadio</strong> will periodically (once every 10 days) check whether a new version has been released.</p>
549
-
<p>If so, a notification message will be displayed, informing the user about it.</p>
556
+
<p>If so, a notification message will be displayed, informing the user about it and asking to proceed with updating the program (provided this is not a distribution package).</p>
557
+
<h3id="updating-a-pre-0.8.9-installation">Updating a pre 0.8.9 installation</h3>
558
+
<p>First thing you do is get the installation script. Open a <strong>terminal</strong> and type:</p>
<p><strong>Note</strong>: If you have neither <em>wget</em> or <em>curl</em> installed, or you are on Windows, just right click on <atarget="_blank" href="https://raw.githubusercontent.com/coderholic/pyradio/master/pyradio/install.py">this link</a> and use your browser “<strong>Save link as</strong>” menu entry to save the file in your home folder.</p>
565
+
<p>Finally, execute the command:</p>
566
+
<pre>python install.py --force</pre>
550
567
<h2id="cleaning-up">Cleaning up <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></style></h2>
551
568
<p><strong>PyRadio</strong> will uninstall all previously installed versions when updated (using the <strong>-U</strong> command line parameter), so no extra steps are needed any more to house keep your system.</p>
552
569
<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>
Use Radio Browser service (<atarget="_blank" href="https://github.com/coderholic/pyradio/issues/80">#80</a><atarget="_blank" href="https://github.com/coderholic/pyradio/issues/93">#93</a><atarget="_blank" href="https://github.com/coderholic/pyradio/issues/112">#112</a>)</li>
Update / uninstall using command line parameters (-U / -R) - v. 0.8.9</li>
589
-
<li><inputtype="checkbox" disabled="" />
590
-
Use Radio Browser service (<atarget="_blank" href="https://github.com/coderholic/pyradio/issues/80">#80</a><atarget="_blank" href="https://github.com/coderholic/pyradio/issues/93">#93</a><atarget="_blank" href="https://github.com/coderholic/pyradio/issues/112">#112</a>)</li>
591
608
</ul>
592
609
<h2id="acknowledgment">Acknowledgment <spanstyle="padding-left: 10px;"><supstyle="font-size: 50%"><ahref="#" title="Go to top of the page">Top</a></sup></style></h2>
593
610
<p><strong>PyRadio</strong> uses code from the following projects:</p>
0 commit comments