found working solution for ':user-agent=' & ':http-referrer='

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
elitedata
Blank Cone
Blank Cone
Posts: 58
Joined: 20 Jan 2022 20:17

found working solution for ':user-agent=' & ':http-referrer='

Postby elitedata » 24 Apr 2022 00:07

if you find that adding custom ':user-agent=' and custom ':http-referrer=' strings under "edit options" does not work when opening a network stream, remove the quotes " " around your agent and referrer strings (example below).
old method for user agent and referrer that does not work (quotes around the strings):

Code: Select all

:http-user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0" :http-referrer="https://vaughn.live"
new method for user agent and referrer that does work (quotes removed from the strings):

Code: Select all

:http-user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0 :http-referrer=https://vaughn.live
for whatever reason, the previous method with quotes around the strings *did* work until VLC was upgraded from 3.0.16 to 3.0.17.4.
additionally, if you have created an XSPF playlist file with quotes around the user agent and referrer strings prior to upgrading to 3.0.17.4, you will also have to remove the quotes (") from around the strings in the file by editing the file in notepad.
i should note that this issue started when upgrading from 3.0.16 to 3.0.17.4 and persisted even after downgrading to 3.0.16 from 3.0.17.4 (clean install, remove cache and preferences did not make a difference), so this solution may apply to any version of VLC as it may work with quotes around the string or without quotes around the strings.

Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 89 guests