jesec / flood

A modern web UI for various torrent clients with a Node.js backend and React frontend.
https://flood.js.org
GNU General Public License v3.0
2.24k stars 135 forks source link

fix: add_paused changed to add_stopped in qbit 5 #810

Closed whiteout12 closed 1 month ago

whiteout12 commented 1 month ago

Description

In Qbittorrent 5 and later the "add_paused" option is changed to "add_stopped". This fix checks the apiversion and uses the correct key.

Related Issue

Screenshots

Types of changes

Dynamically set add_paused or add_stopped depending on apiversion