M3UAndroid icon indicating copy to clipboard operation
M3UAndroid copied to clipboard

Support for custom headers

Open steinxborg opened this issue 1 year ago • 3 comments

Support for custom header like this: #EXTINF:-1 tvg-id="FOX BUSINESS" ,FOX BUSINESS (Stream 1)
#EXTVLCOPT:http-origin=https://live-streamfootball.com #EXTVLCOPT:http-referrer=https://live-streamfootball.com/ #EXTVLCOPT:http-user-agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 https://livecdn-iptv001.rumsport.com/livetv2/1369/index.m3u8

Without the headers, stream will result in 403 error.

steinxborg avatar Oct 23 '24 13:10 steinxborg

It is hard to adapt all the protocols, we decided to introduce an extension system in the future. We will also place some hooks(user-agent, custom parser rule etc.) at certain places in the software execution.

oxyroid avatar Nov 01 '24 08:11 oxyroid

@oxyroid https://github.com/oxyroid/M3UAndroid/discussions/206

oxyroid avatar Nov 01 '24 08:11 oxyroid

VLC custom headers are pretty standardized at this point.

https://github.com/oxyroid/M3UAndroid/issues/231

If you can't do it or won't do it, could we at least get the ability to manually enter header information?

mister-monster avatar Jan 15 '25 19:01 mister-monster