qbittorrent / qBittorrent

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

Allow automatic renaming of single files with torrent #17190

Open dizzyMongoose opened 2 years ago

dizzyMongoose commented 2 years ago

Suggestion

When renaming a torrent, if the torrent is a single file, add an option to automatically rename the file to be the same as the torrent name. This could be a checkbox on the torrent's Rename... dialog that's only visible when the torrent is determined to have one file.

Ideally this would also be implemented in reverse, i.e., having the option to rename the torrent when you rename a file within the torrent. This could be implemented just for when there's a single file or for any number of files, but the latter would be less consistent behavior.

Use case

If a torrent consists of a single file, I usually will want the file's name to match the torrent. Having an option to automatically rename the file saves me the step of renaming the torrent, then copying the torrent name, opening the torrent's content tab, selecting the single file within the torrent, and pasting the torrent name as the file's so they match.

Extra info/examples/attachments

No response

dizzyMongoose commented 2 years ago

Similar to this, when the torrent has multiple files, renaming the torrent should let you automatically rename the folder to the same.

dizzyMongoose commented 1 year ago

Wanted to point out that this is a standard option on Vuze/BiglyBT and is very convenient for organizing torrents on disk. It's a hassle in qBittorrent in its current form when I rename the listing and then need to remember to also go and rename the file/folder it's using on disk.

BiglyBT rename dialog