fedarovich / qbittorrent-cli

Command line interface for QBittorrent
MIT License
312 stars 17 forks source link

How does share --time-limit work? #58

Closed KnifeFed closed 2 years ago

KnifeFed commented 2 years ago

I'm trying to figure out how --time-limit actually works. It says the format is [d.]HH:mm[:ss] but if I run:

qbt torrent share <HASH> --time-limit 1.00:00:00 It sets 86400 minutes = 60 days. --time-limit 1 sets the same.

--time-limit 0.10:00:00 sets 36000 minutes = 25 days.

--time-limit 01:00 sets 3600 minutes = 2.5 days.

I really don't understand how it's supposed to work.

fedarovich commented 2 years ago

Fixed in 1.7.22220.1