Finding duplicates with different names (I know I know)

General discussion related to "Everything".
Post Reply
kinglifer
Posts: 16
Joined: Mon Aug 14, 2023 4:57 pm

Finding duplicates with different names (I know I know)

Post by kinglifer »

I have a few music videos that I am trying to find duplicates. For example, Doja Cat - Like That and Doja Cat - Like That (feat. Gucci Mane) are the same video and there may even be a Doja Cat - Like That (Clean) version.

I have no idea how to make a formula for this.

Any help would be appreciated.
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: Finding duplicates with different names (I know I know)

Post by NotNull »

( The following requires Everything 1.5 )

You will undoubtedly get some false positves (matches that are not really matches), like "Artist - song (ft. someone else).mp4" and "Artist - song (live).mkv, but the following should at least get you closer.
It will search for videofiles where the part before the first ( or [ is the same.
Videos can have different extensions (mkv, mpg,mov,...) so extension will be ignored.

Code: Select all

video:   regex:stem:^(.+?)(?=(\(|\[|$))   dupe:regmatch1
EDIT:
Just thought of a simpler way to get the same:

Code: Select all

video:   regex:stem:^([^([]+)    dupe:regmatch1
kinglifer
Posts: 16
Joined: Mon Aug 14, 2023 4:57 pm

Re: Finding duplicates with different names (I know I know)

Post by kinglifer »

Thank you. Spot on.
How do you know all this. LOL. seriously asking.
Again thank you.
Post Reply