VLC for Android please enable http-referrer and http-user-agent

Feature requests for VLC.
stillpointx
New Cone
New Cone
Posts: 4
Joined: 06 Dec 2019 18:12

VLC for Android please enable http-referrer and http-user-agent

Postby stillpointx » 06 Dec 2019 22:20

I can get Vlc 3.0.8 on Ubuntu 18.04 64bit desktop to work using http-referrer and http-user-agent using
an xspf file, an m3u file, and a Lua script file but when I load any of those files using VLC for Android on my Tablet running vlc 3.2.3 it doesn't work and I get an error "The location <url link> cannot be played"

Here's an example of a M3U file which works in Vlc 3.0.8 on Ubuntu 18.04 64bit desktop.
vlc 3.0.8 on Ubuntu 18.04 64bit

Code: Select all

#EXTM3U x-tvg-url="http://epg.streamstv.me/epg/guide-canada.xml.gz" #EXTVLCOPT:http-user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.25 Safari/537.36 #EXTVLCOPT:http-referrer=https://referrerlink.tv/channel/ #EXTINF:-1 tvg-id="CSPAN-US" tvg-name="CSPAN-US" tvg-language="English" tvg-logo="https://s3.amazonaws.com/schedulesdirect/assets/stationLogos/s10161_h3_aa.png" group-title="",C-Span https://skystreams-lh.akamaihd.net/i/SkyC1_1@500806/master.m3u8 #EXTINF:-1 tvg-id="CSPAN 2-US" tvg-name="CSPAN 2-US" tvg-language="English" tvg-logo="https://cdn.tvpassport.com/image/station/240x135/cspan2.png" group-title="",C-Span 2 https://skystreams-lh.akamaihd.net/i/SkyC2_1@500807/master.m3u8 #EXTINF:-1 tvg-id="CSPAN 3-US" tvg-name="CSPAN 3-US" tvg-language="English" tvg-logo="https://cdn.tvpassport.com/image/station/240x135/cspan3.png" group-title="",C-Span 3 https://skystreams-lh.akamaihd.net/i/SkyC3_1@500808/master.m3u8
How can I get http-referrer and/or http-user-agent to work / and/or test/fixed in VLC for Android?

davorj
New Cone
New Cone
Posts: 1
Joined: 09 Oct 2020 22:53

Re: VLC for Android please enable http-referrer and http-user-agent

Postby davorj » 09 Oct 2020 23:00

According to this bug request (https://trac.videolan.org/vlc/ticket/22206), it seems as if `http-user-agent` setting in m3u files once worked on Android, and now does not. Anyone?

Now I also see that @stillpointx made a bug request: https://code.videolan.org/videolan/vlc- ... ssues/1142.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: Rémi Denis-Courmont and 4 guests