[OE2.0] stream.m3u vs. vlc-3.0.0

  • Hi!


    Since vlc-3.0.0 the stream.m3u files generated by the webinterface fail if "alternate services" are in use, because the URIs are not urlencoded.


    VLC up to 2.2.5 urlencoded the blanks to "+". This was removed in VLC 3 which enforces correctly encoded URIs in m3u files.


    eg:

    Code
    #EXTM3U
    #EXTVLCOPT--http-reconnect=true
    http://192.168.1.65:8001/1:134:1:0:0:0:0:0:0:0:FROM BOUQUET "alternatives.orf1_hd.tv" ORDER BY bouquet


    I fixed it by changing ....

    Diff
    --- web/stream.m3u.xml.orig
    +++ web/stream.m3u.xml
    @@ -1,4 +1,4 @@
     <e2:screen name="M3uStreamingWebScreen">#EXTM3U
     #EXTVLCOPT--http-reconnect=true
    -http://<e2:element source="localip" />:8001/<e2:element source="ref"><e2:convert type="web:TextToHTML" /></e2:element>
    +http://<e2:element source="localip" />:8001/<e2:element source="ref"><e2:convert type="web:TextToURL" /></e2:element>
     </e2:screen>


    and (please s/%_/%/g ... the forum soft urldecodes code sections)


    Now I correctly get it with encoded blanks and quotes and vlc 3 is willing to open it.


    I think services.m3u.xml should be changed as well:

  • Hoppla. Vor lauter posten im VLC Forum habe ich ganz übersehen, dass hier ja Deutsch gesprochen wird. Sorry. Ich nehme an es bedarf keiner Übersetzung des Bugreports :winking_face: