Advanced Duplicate Find & Fix 3.8.2 (2014-01-27)

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Do you have MM calculating your content hashes? If so, I think this scriptn can probably do the trick. If not, you could try my "Duplicate Report" script which calculates the duplicates based solely on the tags.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Bugfix release
Ver 2.5 (2007-07-16)
- Fixed embarrassing bug with '=' vs 'Like' in the SQL statement in "Find from more same, Custom search" (I used '=' instead of 'Like')
- Fixed bug with 'Album Artist' in the SQL statement in "Custom Duplicate Search"
- Added [Album Name] to "Same Content" & "Custom Duplicate Search" Group Nodes
- Changed Icon on all track nodes to the proper one

This is a highly recommended update since the script doesn't work as intended in previous versions.

Enjoy!
/Bex
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Vyper
Posts: 845
Joined: Tue May 23, 2006 5:53 pm

Post by Vyper »

Thanks for the fix! :D
Stop Button Freak
some1
Posts: 91
Joined: Tue Jul 03, 2007 3:10 am

Post by some1 »

THanks for the update! :)

edit:
Im now getting errors :(

I cant open up the Option planel:
Variable is undefinded "CreateLabel" @ Line 241
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Thanks guys!

@some1
The script works great here. Are you sure this script causes the problem? Line 241 is: Mnu.IconIndex = 24

Addition:
In Tagging Inconsistencies line 241 is (or should be): CreateLabel Sheet, "Select:", 346,0,100,20
Is that the case for you. Perhaps you have altered it by mistake?
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Mizery_Made
Posts: 2283
Joined: Tue Aug 29, 2006 1:09 pm
Location: Kansas City, Missouri, United States

Post by Mizery_Made »

I just opened MediaMonkey a moment ago (had it 'Closed To Tray') and was presented with 2 errors. They were from two different scripts, but since your the author of both, the errors were the same Error #, and it probably isn't any fault of either script, I'll just dump them here.

First came:

Code: Select all

Error #-2147418113 - 
File: "C:\Program Files\MediaMonkey\Scripts\Auto\AdvancedDuplicateFindFix.vbs", Line: 452, Column: 2
Followed by:

Code: Select all

Error #-2147418113 - 
File: "C:\Program Files\MediaMonkey\Scripts\Auto\TaggingInconsistencies.vbs", Line: 171, Column: 16
Then, finally presented with:

Code: Select all

Access violation at address 0063841 in module 'MediaMonkey.exe'. Read of address 00000040
Doesn't seem like it's any fault of either script, the line mentioned while different for both errors, contain the same thing. "Dim CurNode : Set CurNode = SDB.MainTree.CurrentNode" so this is probably something else causing it. Not sure. Thought I would make note of it though.
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Yes, I actually got the very same error last week. It seems that you can't have the exact same name of an object in two separate scripts, but that can not be the case? :-? And I don't know why it has started now when it has worked fine for so long time??

Anyway, the affected lines in Tagging Inconsistencies can be removed since I never used the function in question. I'll upload a new version of that script later which fixes the error.
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Guest

Re: Take pity on me

Post by Guest »

Sherwood wrote:Alright, I'm an absolute noob here, but I'm looking for a specific function and I can't tell if it's possible with this script. I've got 3000 duplicates, and I'd really rather not delete them all one-by-one. I'm willing to risk the possibility that I'm callously deleting some accidental non-dupes just for the convenience of not spending a whole weekend deleting files by hand. Is there a way to automatically delete or merge ALL duplicates at once, keeping only one instance of each?
Im in a similar situation. In particular, if a song has the same artist and song name, and is approximately the same length (maybe within 3-4 seconds), I would like to automatically delete whatever is the lower bitrate file. Is this possible, its for a relatively small mobile drive, so to save space, Im willing to risk temporarily loosing some music, I have 2400+ dupes, thanks in advance...
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

I haven't implemented auto-deletion yet, it's a bit to complicated for me, but try trixmoto's Duplicate report script!
http://www.mediamonkey.com/forum/viewtopic.php?t=16681
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
robojock
Posts: 417
Joined: Sun Sep 26, 2004 12:01 pm
Location: Windhoek,Namibia

Post by robojock »

does it work with mm3

edit: (not concentrating)
Teknojnky
Posts: 5537
Joined: Tue Sep 06, 2005 11:01 pm
Contact:

Post by Teknojnky »

robojock wrote:does it work with mm3

edit: (not concentrating)
No, MM3 uses a different database so the the SQL queries will have to be updated.

I am sure that once MM 3 database is finalized (it not currently) that many scripts will be updated.
Skywave
Posts: 22
Joined: Sun Oct 15, 2006 5:40 am

Excellent

Post by Skywave »

@Bex

I downloaded your script today. Used it without any problems, but I do have a similar request as Guest and Sherwood... Auto Deletion...

But your suggestion about Duplicate Report will do the trick for me just fine!!!

Thank you for an excellent script!!!
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Thanks!
Yeah, I'll try to implement some auto deletion functionality in a future version after MM3 is released.
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Skywave
Posts: 22
Joined: Sun Oct 15, 2006 5:40 am

Auto Deletion

Post by Skywave »

Just out of curiousity... What are the issues you are having with the Auto Deletion?

A suggestion, if I may: What about moving the songs to a different folder instead of deleting. That will give the user a chance of seeing what would have been deleted, and could just delete the entire folder if they wanted to... [Just a thought]
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

I don't know HTML enough to solve the task... :oops:
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Post Reply