nskillen / rainmeter-nzbget

1 stars 1 forks source link

Won't work if username and password is set #1

Open mversion opened 8 years ago

mversion commented 8 years ago

Any way to get this to work if your NZBGet installation has a username and password setup?

nskillen commented 8 years ago

Whoa, someone actually found this thing?!

Anyway, I haven't touched rainmeter for quite a while now, but...

From the NZBGet API docs:

The RPC server uses HTTP basic authentication. The URL would be something like:

so try this:

add two new [Variables]

USER=username
PASS=password

And then modify the two URL lines in [NZBGetStatus] and [NZBGetQueue] to read:

URL="https://#USER#:#PASS#@#HOST#:#PORT#/rest/of/path/here"

instead of

URL="https://#HOST#:#PORT#/rest/of/path/here"

That might work. If it doesn't, I'm not sure what you'd do.