Very strange behaivour, I'm posting here since I couldn't find anything for my Error Code and not understanding why it isn't working
To cut a long story short, I'm making a skin for VLC where you don't need the libcad plugin!
I have the following measureFor some reason, this is not working, when I run the skin, I get
I managed to fix this in a bit of a convoluted way, I looked at the packets in the Developer Tools menu, looked at the headers and decided to move the Auth part from the URL to the Headers stolen from thereThis works like how I wanted, which is very good, but I'm just wondering what I did wrong, did the HTTP authentication part of the code never expect actual IPs that don't have TDL ending?
Actually, this entire post was a ruse, should I use status.xml or status.json to parse VLC's data? 🤔
To cut a long story short, I'm making a skin for VLC where you don't need the libcad plugin!
I have the following measure
Code:
[VLCRoot]Measure=WebParserURL=http://#UserName#:#Password#@#IpAdress#:#Port#/requests/status.xmlRegExp=.*
- Fetching: http://:1234@localhost:8080/requests/status.xml (VLCMeter\VLCMeter.ini - [VLCRoot])
(the link actually works when I curl it in cmd)
- (Fetch error) The parameter is incorrect. (ErrorCode=87) (VLCMeter\VLCMeter.ini - [VLCRoot])
I managed to fix this in a bit of a convoluted way, I looked at the packets in the Developer Tools menu, looked at the headers and decided to move the Auth part from the URL to the Headers stolen from there
Code:
[VLCRoot]Measure=WebParserURL=http://#IpAdress#:#Port#/requests/status.xmlHeader=Authorization: Basic #UserName#:#Password#RegExp=.*
Actually, this entire post was a ruse, should I use status.xml or status.json to parse VLC's data? 🤔
Statistics: Posted by Jeff — 31 minutes ago — Replies 0 — Views 12