qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
25.98k stars 3.82k forks source link

Smart Closing & Smart Shutdown / Restart seeding option #20745

Open iAvoe opened 2 months ago

iAvoe commented 2 months ago

Suggestion

Smart Closing: When this option is ticked, closing qBittorrent will stop accepting new seeding queues, eventually close when all uploads are finished. Smart Shutdown / Restart: Above feature with capability to shut down or reboot the operating system, only accessible with a right-click context menu, or Tools(T) in toolbar.

Use case

When user installs a system update that requires a restart, and they can wait a bit, this feature will provide a more graceful program termination for the downloading end. (In my case I am the only seeder for a bunch of torrents simply because these are like 20 years old files).

Improving seeding on standard PC, which would save average user's cost on investing for a NAS or server, which increases the likelihood for them to donate. Consider this is valuable enough to be a premium add-on.

iAvoe commented 2 months ago

Note that this introduces a new state of this software, so there can be compatibility issues will some OSes, and I don't know how qBittorrent behaves on other OSes.

LazyPajen commented 2 months ago

Is this similar? https://github.com/qbittorrent/qBittorrent/issues/18993

iAvoe commented 2 months ago

Is this similar? #18993

It is different, you don't want to pause all torrents as you are seeding many torrents with mixed status, which some are paused, pausing torrent on quitting would broke your configuration, where as decline new download queue wouldn't.