mpv icon indicating copy to clipboard operation
mpv copied to clipboard

Support for #EXTVLCOPT:http-referrer in M3U Playlists

Open kungfubeaner opened this issue 3 years ago • 2 comments

Before requesting a new feature make sure it hasn't been requested yet. https://github.com/mpv-player/mpv/labels/meta%3Afeature-request

Expected behavior of the wanted feature

read the #EXTVLCOPT:http-referrer= tag from M3U playlists and set the --referrer option accordingly

Alternative behavior of the wanted feature

N/A

Log file

There are m3u playlists that wont play in MPV. I end up having to read the m3u file manually then calling MPV again with --referrer to specify the referrer to make it work. Several video players support this feature so I wondered if MPV (my favorite video player) handles it and was surprised that it doesn't.

kungfubeaner avatar Aug 14 '22 02:08 kungfubeaner

Hmm kodi uses a different method to pass a referrer. by adding |referer=https://example.com to the end so I guess its not a standard. could both ways be supported? Whats even stranger is that the curl option is referer with one R and so is yt-dlp's but others are also 2 r's if i remember correctly. who knows

kungfubeaner avatar Aug 14 '22 05:08 kungfubeaner

hilarious, yet annoying at the same time garoto.

kungfubeaner avatar Aug 14 '22 15:08 kungfubeaner

I concur, mpv should recognize http-referrer in EXTVLCOPT. I noticed SMPlayer recognizes it and passes the option to mpv.

colemar avatar Nov 23 '23 21:11 colemar

Related to https://github.com/mpv-player/mpv/pull/12806

debugzxcv avatar Nov 24 '23 22:11 debugzxcv