Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 482

Weird behaivour with WebParser HTTP Authentication

$
0
0
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 measure

Code:

[VLCRoot]Measure=WebParserURL=http://#UserName#:#Password#@#IpAdress#:#Port#/requests/status.xmlRegExp=.*
For some reason, this is not working, when I run the skin, I getand then the error
  • (Fetch error) The parameter is incorrect. (ErrorCode=87) (VLCMeter\VLCMeter.ini - [VLCRoot])
I have genuinley looked at everything I wrote, up and down, left and right, diagonally, through my monitor (I'm a ghost and I can phase throught it) and it dosen't make sense.
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=.*
This 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? 🤔

Statistics: Posted by Jeff — 31 minutes ago — Replies 0 — Views 12



Viewing all articles
Browse latest Browse all 482

Trending Articles