fedarovich / qbittorrent-cli

Command line interface for QBittorrent
MIT License
303 stars 16 forks source link

Issues when setting file priority #54

Open KnifeFed opened 2 years ago

KnifeFed commented 2 years ago

Currently, in the docs, it says you can set file priority to one of SKIP | NORMAL | HIGH | MAXIMAL.

If I run: qbt torrent file priority <hash> --set ? --file 1

I get: The values for --set must be one of the following: skip, minimal, verylow, low, normal, high, veryhigh, maximal.

If I run: qbt torrent file priority <hash> --set high --file 1

I get: Response status code does not indicate success: 400 (Bad Request).

If I run: qbt torrent file priority <hash> --set veryhigh --file 1

The file gets a "High" priority.

So essentially, the options should be skip | normal | high | maximum, meaning minimal, verylow, low and veryhigh shouldn't exist and maximal should be maximum.

fedarovich commented 2 years ago

It actually depends on the version of qBittorrent you use.