oxyroid / M3UAndroid

FOSS Player, which made of jetpack compose. Android 8.0 and above supported.
https://t.me/m3u_android
Apache License 2.0
440 stars 40 forks source link

Feature request: http-referrer parameter support #177

Open LITUATUI opened 3 months ago

LITUATUI commented 3 months ago

Please add support to the "http-referrer" parameter.

Example:

#EXTINF:-1 group-title="TV" tvg-id="CubavisionInternacional.cu" tvg-logo="https://raw.githubusercontent.com/LITUATUI/M3UPT/main/logos/Cubavisión-Internacional.png",Cubavisión Internacional
#EXTVLCOPT:http-referrer=https://teveo.cu/
https://cdn.teveo.cu/live/video/A36pWmuWvZBQskuZ/ngrp:gppfydfzpSUn9Udy.stream/playlist.m3u8

This channel opens with IPTV players that support the "http-referrer" parameter, like Kodi PVR IPTV Simple Client or OTT Navigator for example.

Thanks!

oxyroid commented 3 months ago

Thank you for submitting this feature request. Could you please provide more details so we can better understand this?

thomraider12 commented 3 weeks ago

Thank you for submitting this feature request. Could you please provide more details so we can better understand this?

The '#EXTVLCOPT:' is a tag used in M3U playlists to specify options for compatible media players. It indicates that the following parameters are options specific to how players should handle the stream. The 'http-referrer=https://teveo.cu/' is setting the HTTP referrer header for the media request. The http-referrer option tells the media player to include a specific referrer URL when making the HTTP request for the stream. In this case, it is set to https://teveo.cu/.

LITUATUI commented 3 weeks ago

Forgot about this issue sorry.

Curiously, the M3U IPTV app added support to the referrer parameter today.

The Portuguese channel SIC Notícias also requires this parameter, please check my public IPTV list with this channel.