Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to update watched folders using Web API #9679
qBittorrent version and Operating System
v4.1.3 on Ubuntu 16.04
If on linux, libtorrent and Qt version
Using Qbittorrent repository on Ubnutu 16
What is the problem
Unable to update scan_dirs with Web API on v4.1.3.
What is the expected behavior
It should update scan_dirs.
Steps to reproduce
Extra info(if any)
changed the title from
[Bug] Web API
Unable to update watched folders using Web API
Oct 12, 2018
The decoding and parsing is done in https://github.com/qbittorrent/qBittorrent/blob/master/src/base/scanfoldersmodel.cpp#L339 and
So yeah we use Qt's functions basically. I'm not sure if the following is where it actually happens but here goes: read http://doc.qt.io/qt-5/qvariant.html#value and maybe http://doc.qt.io/qt-5/qvariant.html#toString source code if you want details how it's decoded and http://doc.qt.io/qt-5/qvariant.html#toHash for encoding (not sure at all about this one).
It seems our WebAPI documentation is outdated regarding expected values for
In your case, the
All possible values are: