Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Search For Existing Data Files not working?
#1
I've been in the process of organizing my torrents and renaming things to be uniform. I have some torrents with files that need to be renamed by a pattern.

Example:


Code:
File 1 -> File 001
File 2 -> File 002
File 3 -> File 003
File 4 -> File 004
File 5 -> File 005

As a software engineer, I naturally chose to use some tools to automate this so I wouldn't have to do each one by hand. The only problem now is that Vuze has no idea about the new names. I assumed that "Search for existing data files..." would automatically find and recognize the new file names, but it completes each time with:



Code:
11/2/16 8:17 PM: Enumerating files in M:\Torrents\TorrentName
..
Found 841 files with 810 distinct sizes
Processing 'TorrentName', piece size=8.00 MB
Matched=0, complete=16, no candidates=0, remaining=0 (total=840)
11/2/16 8:17 PM: Complete, downloads updated=0

Am I doing something wrong? The only other way I know of to re-link the files is to right click on each one and click "Rename or Retarget", but at that point I might as well to "Quick Rename" on each one.

Any help would be greatly appreciated!
Reply
#2
Are they small files? Due to pieces spanning file boundaries it will only work with files that contain at least one complete piece - in your case greater than something like 8-16MB
Reply
#3
(11-02-2016, 09:00 PM)'parg' Wrote: Are they small files? Due to pieces spanning file boundaries it will only work with files that contain at least one complete piece - in your case greater than something like 8-16MB

 

They are most definitely large files - almost all of them are 500MB - 1GB, with the smallest being 60MB. I just tried again, renaming and moving 15 files, then selecting the 15 files in Vuze and running Search for Existing Data Files on the new folder containing the same 15 files - still 0 matched.
Reply
#4
I have noticed this too. I would say Search for Existing Data Files works less than 25% of the time. The file size versus one complete piece would account for some of that now that I think about it, especially in cases where it found some but not all files in a torrent. But as Stephen304 says it will sometimes not work even on big files.
Reply
#5
The matching logic is fairly simple, in the locateFiles method in

https://svn.vuze.com/public/client/trunk...Utils.java

if you're interested. See if you can see where it's failing!
Reply
#6
Can we get this into working please.
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [RFE] Detect (and sanitize) files that are too long detelosk 4 1,336 07-24-2017, 12:49 AM
Last Post: detelosk
  search problems broy 4 1,449 07-13-2017, 04:15 PM
Last Post: RICHIE419



Users browsing this thread: 1 Guest(s)