3.2.0 Alpha and qibittorrent-nox

Linux specific questions, problems.
Post Reply
dsm1212

3.2.0 Alpha and qibittorrent-nox

Post 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
ciaobaby

Re: 3.2.0 Alpha and qibittorrent-nox

Post by ciaobaby »

Is

Are both
WebUI\UseUPnP
and
WebUI\Enabled

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

Re: 3.2.0 Alpha and qibittorrent-nox

Post 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
dsm1212

Re: 3.2.0 Alpha and qibittorrent-nox

Post 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
Last edited by dsm1212 on Sat Mar 21, 2015 9:54 pm, edited 1 time in total.
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: 3.2.0 Alpha and qibittorrent-nox

Post 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
dsm1212

Re: 3.2.0 Alpha and qibittorrent-nox

Post 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
Last edited by dsm1212 on Sun Mar 22, 2015 4:06 am, edited 1 time in total.
sledgehammer_999
Administrator
Administrator
Posts: 2443
Joined: Sun Jan 23, 2011 1:17 pm

Re: 3.2.0 Alpha and qibittorrent-nox

Post 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.
dsm1212

Re: 3.2.0 Alpha and qibittorrent-nox

Post by dsm1212 »

Got it working. Thx.
dsm1212

Re: 3.2.0 Alpha and qibittorrent-nox

Post 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
Post Reply