Proposal: Handling for duplicate files

Feature requests not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
tuxolero
Posts: 44
Joined: Mon Mar 11, 2013 8:05 pm

Proposal: Handling for duplicate files

Post by tuxolero »

Hi,

I just noticed that two of my torrents have partially identical file names, even subdirectories. Example:

torrent 1:
  • my_dir/my-file1.png
  • my_dir/my-file2.png
  • my_dir/readme.txt
torrent 2:
  • my_dir/my-file3.jpg
  • my_dir/my-file4.jpg
  • my_dir/readme.txt
There is already a thread about duplicate file names viewtopic.php?f=8&t=10246 where the proposed solution is to download the torrents to different target dirs. But this is only doable when you know about the filename collision beforehand.

My proposal:
After downloading torrent metadata, check all filenames for collisions against all existing torrents. When a collision is detected, I suggest pausing the torrent and marking it as errorneous so the user can easily find the torrents needing some attention in his torrents list. Also, there should be a warning messagebox in GUI versions.
As an alternative to pausing the torrent, the colliding files could just be unchecked and the other ones downloaded.
But I personally would prefer the pausing variant.

I am using transmission-gtk on Xubuntu Linux.

Regards,
tuxolero
Post Reply