-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Playlist with referrer or referer support #126
Comments
I'm curious why is it useful to set the referrer? Can it always be the same value? Why is the I think if this |
Its useful to watch IPTV playlists. The referrer is a must and has to change per playlist item. If the referrer isn't correct the m3u8 file doesn't play. There are lists online to watch things like PBS (public broadcasting channel) NASA etc. I usually have to manually type --referrer="https://example.com/" each time I want to watch something different. If the playlist manager could handle this I could just use the playlist manager to select the "channel" I want from the list. KODI and VLC already do this in their own ways but of course MPV the nicest player out of the 3. I'm not so much interested in the #EXTVLCOPT. But handling the |referer= at the end (they're the most common) would be amazing. |referrer= at the end is the way KODI handles playlist referrers. Example usage in the command line is: mpv https:/example.com/playlist.m3u8 --referrer=http://example.net/ Oh and #EXTVLCOPT:http-referrer= doesn't really need to be handled as long as the "--referrer=" command line option is set. It would just require parsing the #EXTVLCOPT line and keeping everything after referrer= to set the option. |
I see. I think this is not doable with a script, as the information of the playlist metadata is not available. I would recommend opening an issue on the mpv repository. |
Could support be added for kodi style playlists which have |referer= at the end of the url or vlc style playlists that have the:
#EXTVLCOPT:http-referrer= option by using that info to set the --referrer= command line option on the fly?
Thanks for for the great script. I understand if its not possible or outside of the scope of this script
The text was updated successfully, but these errors were encountered: