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.
Finding duplicates with different names (I know I know)
Re: Finding duplicates with different names (I know I know)
( 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.
EDIT:
Just thought of a simpler way to get the same:
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
Just thought of a simpler way to get the same:
Code: Select all
video: regex:stem:^([^([]+) dupe:regmatch1
Re: Finding duplicates with different names (I know I know)
Thank you. Spot on.
How do you know all this. LOL. seriously asking.
Again thank you.
How do you know all this. LOL. seriously asking.
Again thank you.