Closed chessset5 closed 3 weeks ago
Reading this over again I am not 100% that start_paused_enabled
is meant for Start BitTorrent session in a paused state
, regardless, start_paused_enabled
isn't doing anything when posted via the API.
The wiki is probably not up to date.
This string seems to have been renamed to add_stopped_enabled
with PR #20532. See commit/file change: https://github.com/qbittorrent/qBittorrent/commit/5d1c2496063b41874e85af0145b153e006fc92d3#diff-90b22e23f40f2d63acaf72e075355de5190f200f0d1a324591c4f1914fe12da4L142
For the current keys available in v5.0.x you can look in AppController::preferencesAction()
Cool thanks
qBittorrent & operating system versions
qBittorrent: 5.0.1 x64 Qt: 6.7.3 Python: Python312 Operating system:
What is the problem?
I am scripting in python and I am trying to set the
start_paused_enabled
preference via the API but noticed it is missing from the API in qB 5.0.1.Several other settings are also missing from preferences, specifically:
According to https://github.com/qbittorrent/qBittorrent/wiki/WebUI-API-(qBittorrent-4.1)#get-application-preferences All these settings should be available via the API.
The settings that are currently available via the API are as follows:
Steps to reproduce
If you run the following python script, which is a cut down version of the one I am creating, you will notice in the return json, start_paused_enabled is missing from the output.
Furthermore in Advanced Settings in qB torrent the value of
Start BitTorrent session in a paused state
is still in the same state it was before running the script.This was the state after running the script, it should be enabled.
Additional context
No response
Log(s) & preferences file(s)
qbittorrent.log