qbittorrent / qBittorrent

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

Add ability to copy/export loaded torrent file with human-readable name #10626

Closed WalrusInAnus closed 4 years ago

WalrusInAnus commented 5 years ago

Would it be possible to add an option that would prevent torrent file names from being randomized? I need to transfer half my stuff to a seedbox and can't tell what is what, because the file names are garbage.

thalieht commented 5 years ago

It's the torrent's hash and it's intended for internal use (there must be no name collision). Can't you just copy paste their magnet links from the transfer list?

WalrusInAnus commented 5 years ago

Most of my torrents don't come from magnets. Besides, I don't know what you mean by transfer list :(

thalieht commented 5 years ago

The list in qBt where you see the torrents, select torrents, right click and copy magnet links. No idea if it works with private torrents though.

WalrusInAnus commented 5 years ago

Oh ok. I'll give it a try.

WalrusInAnus commented 5 years ago

It works. Thanks.

WalrusInAnus commented 5 years ago

Actually, it doesn't work too well. Since it's only possible to copy the magnet link (even the torrent didn't come from a magnet...), you have to initiate the download first in order to get info about the files. This is problematic when you're adding torrent while the downloaded data already exist - it could be overwritten.

So the feature request still stands....

iheartcsharp commented 5 years ago

To prevent filename conflicts either prepend or append the hash to the original file name. Example if you have a file named foobar.torrent with a hash of a4b3ee32, store the file as a4b3ee32-foobar.torrent or a4b3ee32-foobar.torrent

WalrusInAnus commented 5 years ago

You don't even understand what am I asking.

thalieht commented 5 years ago

A workaround would be #1296 but it's abandoned.

xnoreq commented 5 years ago

Simply copy all .torrent files to any directory you like and load them into qbittorrent paused. Then manage the torrents in qbittorrent? I don't see the problem.

This is problematic when you're adding torrent while the downloaded data already exist - it could be overwritten.

This is not true. If data already exists then qbittorrent will recheck.

To prevent filename conflicts either prepend or append the hash to the original file name

What original file name? A torrent is identified by its hash. Hence you can only find a hash in magnet links, for example. In this case there's no file name at all. The filename of .torrent files is arbitrary.

FranciscoPombal commented 4 years ago

I changed the title to something more appropriate.

@xnoreq your solution is valid if OP wants to move all of their torrents. But in case they just want to move some, it is indeed very cumbersome to establish the correspondence between .torrent files and displayed torrent name and copy the desired ones.

FranciscoPombal commented 4 years ago

Superseded by https://github.com/qbittorrent/qBittorrent/issues/10529