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
<li><ahref="#specifying-a-station's-referer-url">Specifying a station’s Referer URL</a>
123
123
<ul>
124
124
<li><ahref="#a-note-of-caution">A note of caution</a></li>
125
+
<li><ahref="#note-about-mplayer">Note about MPlayer</a></li>
125
126
</ul></li>
126
127
<li><ahref="#extra-player-parameters">Extra Player Parameters</a>
127
128
<ul>
@@ -1767,7 +1768,7 @@ <h3 id="changing-player-mid-session">Changing player mid-session</h3>
1767
1768
<p>If <strong>recording is on</strong> while using the previously activated player, it will remain on with the newly activated one. This actually means that the recording will stop when the old player is stopped and resumed when the new player is activated (creating a new recorder file). There is just one exception to that; selecting <strong>VLC</strong> is not possible on <strong>Windows</strong>, since <strong>VLC</strong> does not support recording on this platform.</p>
1768
1769
<pstyle="margin: 1.5em 4em 0 4em; text-indent: -2.5em;"><strong>Note:</strong> The activated player will not be saved; <strong>PyRadio</strong> will still use the player defined at its config next time it is executed.</p>
1769
1770
<h3id="specifying-a-stations-referer-url">Specifying a station’s Referer URL</h3>
1770
-
<p>Although <strong>PyRadio</strong> is meant to be a readio station player, it can also be used to listen to video stations transmitting m3u8 playlists (HTTP Live Streaming or HLS).</p>
1771
+
<p>Although <strong>PyRadio</strong> is meant to be a radio station player, it can also be used to listen to video stations transmitting m3u8 playlists (HTTP Live Streaming or HLS).</p>
1771
1772
<p>The thing with these transmissions is that usually a <strong>Referer URL</strong> has to be provided so that the connection does not fail.</p>
1772
1773
<p><strong>PyRadio</strong> now does support the declaration of a <strong>Referer URL</strong> for individual stations; it does it in an “anorthodox” way, but it is possible.</p>
1773
1774
<p>So, let us imagine that a station called “<em>My video station</em>” has been added to a playlist. The user tries to play it but it fails; the referer URL is missing.</p>
@@ -1777,6 +1778,19 @@ <h3 id="specifying-a-stations-referer-url">Specifying a station’s Referer URL<
1777
1778
<h4id="a-note-of-caution">A note of caution</h4>
1778
1779
<p>If such a file has been created for a station, please do not rename the station in the playlist manually; the “link” to the referer file will be lost.</p>
1779
1780
<p>Rename the station using <strong>PyRadio</strong> rename functionality and save the playlist instead; the referer file will be renamed as well.</p>
1781
+
<h4id="note-about-mplayer">Note about MPlayer</h4>
1782
+
<p>This will unfortunately not work with <strong>MPlayer</strong>.</p>
1783
+
<p>It seems it will not use the <strong>Referer</strong> provided, as shown in the following part of the command execution output:</p>
1784
+
<pre>[tcp @ 0x7f4a42c7fa60]Successfully connected to XX.XX.XXX.XX port 443
1785
+
[https @ 0x7f4a42c7fa60]request: GET /live/XXXXXXXX.m3u8 HTTP/1.1
<h3id="extra-player-parameters">Extra Player Parameters</h3>
1781
1795
<p>All three supported players can accept a significant number of “<em>command line options</em>”, which are well documented and accessible through man pages (on linux and MacOs) or the documentation (on Windows).</p>
1782
1796
<p><strong>PyRadio</strong> uses some of these parameters in order to execute and communicate with the players. In particular, the following parameters are in use <strong>by default</strong>:</p>
@@ -751,7 +752,7 @@ If **recording is on** while using the previously activated player, it will rema
751
752
752
753
### Specifying a station's Referer URL
753
754
754
-
Although **PyRadio** is meant to be a readio station player, it can also be used to listen to video stations transmitting m3u8 playlists (HTTP Live Streaming or HLS).
755
+
Although **PyRadio** is meant to be a radio station player, it can also be used to listen to video stations transmitting m3u8 playlists (HTTP Live Streaming or HLS).
755
756
756
757
The thing with these transmissions is that usually a **Referer URL** has to be provided so that the connection does not fail.
757
758
@@ -771,6 +772,25 @@ If such a file has been created for a station, please do not rename the station
771
772
772
773
Rename the station using **PyRadio** rename functionality and save the playlist instead; the referer file will be renamed as well.
773
774
775
+
#### Note about MPlayer
776
+
777
+
This will unfortunately not work with **MPlayer**.
778
+
779
+
It seems it will not use the **Referer** provided, as shown in the following part of the command execution output:
780
+
781
+
```
782
+
[tcp @ 0x7f4a42c7fa60]Successfully connected to XX.XX.XXX.XX port 443
783
+
[https @ 0x7f4a42c7fa60]request: GET /live/XXXXXXXX.m3u8 HTTP/1.1
784
+
User-Agent: Lavf/60.16.100
785
+
Accept: */*
786
+
Range: bytes=0-
787
+
Connection: close
788
+
Host: XXXXXX-XXXXXXXXX.XXXXXX.XXX.XXX.XX
789
+
Icy-MetaData: 1
790
+
791
+
[https @ 0x7f4a42c7fa60]HTTP error 403 Forbidden
792
+
```
793
+
774
794
### Extra Player Parameters
775
795
776
796
All three supported players can accept a significant number of "*command line options*", which are well documented and accessible through man pages (on linux and MacOs) or the documentation (on Windows).
Copy file name to clipboardExpand all lines: docs/pyradio.1
+26-1
Original file line number
Diff line number
Diff line change
@@ -843,7 +843,7 @@ The activated player will not be saved; **PyRadio** will still use the player de
843
843
844
844
.SH Specifying a station's Referer URL
845
845
846
-
Although \fBpyradio\fR is meant to be a readio station player, it can also be used to listen to video stations transmitting m3u8 playlists (HTTP Live Streaming or HLS).
846
+
Although \fBpyradio\fR is meant to be a radio station player, it can also be used to listen to video stations transmitting m3u8 playlists (HTTP Live Streaming or HLS).
847
847
848
848
The thing with these transmissions is that usually a \fBRefererURL\fR has to be provided so that the connection does not fail.
849
849
@@ -866,6 +866,31 @@ If such a file has been created for a station, please do not rename the station
866
866
Rename the station using \fBpyradio\fR rename functionality and save the playlist instead; the referer file will be renamed as well.
867
867
.RE
868
868
869
+
\fBNote\fR
870
+
.RS2
871
+
872
+
This will unfortunately not work with \fBMPlayer\fR.
873
+
874
+
It seems it will not use the \fIReferer\fR provided, as shown in the following part of the command execution output:
0 commit comments