Page 1 of 1

3.2.0 Alpha and qibittorrent-nox

Posted: Sat Mar 21, 2015 2:47 pm
by dsm1212
I'm running 3.1.12 fine but when I build 3.2.0 Alpha and try that it never opens the webui port. I can see with netstat it is only listening on the torrent port. Very wierd. Is nox broken in the alpha or is there a build script change I need to request the webui?

thanks
steve

Re: 3.2.0 Alpha and qibittorrent-nox

Posted: Sat Mar 21, 2015 3:09 pm
by ciaobaby
Is

Are both
WebUI\UseUPnP
and
WebUI\Enabled

set to true inĀ  /~/.config/qBittorrent/qBittorrent.conf ?

Re: 3.2.0 Alpha and qibittorrent-nox

Posted: Sat Mar 21, 2015 4:21 pm
by dsm1212
UseUPnP was not in there at all. I added that and hey it showed up! Found a bug immediately though. Menus on chrome don't let me pick anything but the first entry. Works on IE.

Thanks!!

steve

Re: 3.2.0 Alpha and qibittorrent-nox

Posted: Sat Mar 21, 2015 4:30 pm
by dsm1212
Whoops something else wrong. 3.2.0 alpha is not responding to the web api command to list torrents. Did anything change in that area? Maybe I need a new preferences entry to enable the api?

edit: other api commands work. It's just json/torrents to get the list that returns nothing.
edit: on further examination none of the "json" query commands work. Only "command" operations work.

steve

Re: 3.2.0 Alpha and qibittorrent-nox

Posted: Sun Mar 22, 2015 1:25 am
by sledgehammer_999
Are you using your own script/webui?
If yes, v3.2.0 has undegone major WebUI API refactoring.
All API is in this file: https://github.com/qbittorrent/qBittorr ... cation.cpp

Re: 3.2.0 Alpha and qibittorrent-nox

Posted: Sun Mar 22, 2015 3:51 am
by dsm1212
Ok, I see it changed from json/torrents to query/torrents. I have to say though I saw this before and tried it to no avail, but it works now. Maybe I had a stale browser or something before.

It still doesn't work from my bash script though like it did before. Do I need to get a cookie or token to supply now? utorrent has a cookie required you can get with a specific /token url.

thanks

steve

Re: 3.2.0 Alpha and qibittorrent-nox

Posted: Sun Mar 22, 2015 11:34 am
by sledgehammer_999
Unofficial docs from one of the devs: https://gist.github.com/pmzqla/7e5733dbecfc50ee4ecd
In the comments they also talk about the new login method.
It misses 2 new api for "sequential download" and "first last piece priority" but you can still figure them out from the file I linked in the previous comment.

Re: 3.2.0 Alpha and qibittorrent-nox

Posted: Sun Mar 22, 2015 6:41 pm
by dsm1212
Got it working. Thx.

Re: 3.2.0 Alpha and qibittorrent-nox

Posted: Sun Apr 05, 2015 3:32 am
by dsm1212
I'm having weird behavior with the API on 3.2.0 Alpha. I have the webui set to not require auth from the same host. Interactively a command via wget always works, but from a finish script the same command returns nothing. It did in fact work at one point and I've not updated anything. How can I enable more logging? I only get like two lines sent to the log with 3.2.0. Is there a new way to turn tracing on or something? I'd really like to see what the web api code is doing with these calls.

thanks
steve