-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Doesn't work on mac, can't find any duplicate videos #558
Comments
It says 0 files were added and it scans 0 files for duplicates so I'm not suprised it won't find any. Can you copy these files into VDF folder and try it again? I'm not too familiar with Mac but maybe it doesn't have permission to access your downloads folder. |
I followed your instructions and moved it to the App directory, as follows: Still doesn't work, it can't find any files |
I have this same problem on a Mac using the e253212 release from Jan 30, 2025. I've narrowed the problem down a bit. When it generates the file list everything is fine (i.e. the full contents list of the directory and subdirectories are added to the database) but when it goes to do the duplicate checking it does not use any of the files in the top level directory. Given the following directory structure and contents and telling videodupes to search /Volumes/Farnsworth/Test/:
The only duplicates that videodupes will find are the ones that are within test1/ and test2/, it does not check the files in the base search directory against any others. It only correctly identifies these pairs (and identifies no triplicates) and misses all the other ones that involve items in the base scan directory: It recognizes files in the base directory exist (and enters them into the database) but it does not involve them in the duplicate scan as evidenced by the log:
EDIT TO ADD More information: it seems like the problem is that VDF is entering a blank array for "grayBytes" and 'null' in the "mediaInfo" field of the database for files in the base search directory which precludes those files from being included in the scan because they fail the "!InvalidEntryForDuplicateCheck" check on line 450 of ScanEngine.cs. Same file structure as described above, here is the json database:
Putting the entire folder structure described above one folder layer lower, but leaving the base search the same fixes everything, which is a very annoying solution depending on how one is organizing files and looking for duplicates within sets. |
Environment
Describe the bug
No duplicate videos were found, even if there were copies of the original video files in the folder
The scan was completed quickly without any errors
Snapshots
The text was updated successfully, but these errors were encountered: