Fix Cover Unknown v1.0 (09-11-06) [MM3&2]

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

Moderators: Peke, Gurus

MoDementia
Posts: 1321
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Fix Cover Unknown v1.0 (09-11-06) [MM3&2]

Post by MoDementia »

No Longer Available
Last edited by MoDementia on Tue Feb 03, 2009 4:17 am, edited 2 times in total.
Vyper
Posts: 845
Joined: Tue May 23, 2006 5:53 pm

Post by Vyper »

Cool. This will come in handy in conjuction with Bex's latest Tagging Inconsistencies update. :D
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Post by nohitter151 »

Awesome, it works great!!
bob61
Posts: 157
Joined: Sun Dec 09, 2007 4:52 pm

Post by bob61 »

With all the updating I've been doing to my song database I've been adding a lot of cover art. Not sure why but a lot of tracks have a cover type of something other than "Front Cover". I was looking for a script to set all the cover types to "Front Cover" as that's all I have anyway. I found this script but wanted to check and see if anyone knew if this was compatible with MM3.

Also, since I want to change all my cover type to "Front Cover" I believe I would need to change the code slightly from:

Code: Select all

If CoverType = 0 Then
to

Code: Select all

If CoverType <> 3 Then
Can anyone confirm if this is correct change?

Thanks
MoDementia
Posts: 1321
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Post by MoDementia »

Had a quick look and it should work in MM3

the code changes are correct

Not sure if it will pass the version check. if not
change

Code: Select all

If CurrentVersion < RequiredMMVersion Then
    Dim RequiredMMVersionString : RequiredMMVersionString = Mid(RequiredMMVersion, 1, 1) & "." & Mid(RequiredMMVersion, 2, 1) & "." & Mid(RequiredMMVersion, 3, 1)
    Dim Text
    Text = "'" & ScriptName & "' needs MediaMonkey " & RequiredMMVersionString & " or above." + vbNewLine
    Text = Text & "Please Download the latest Version on http://www.MediaMonkey.com" & vbNewLine & vbNewLine
    SDB.MessageBox Text, mtError, Array(mbOK)
  Else
    Dim MenuItem : Set MenuItem = SDB.UI.AddMenuItem(SDB.UI.Menu_Scripts, 0, -1)
    MenuItem.Caption = "Fix Cover Type Unknown"
    MenuItem.Hint = "Changes Cover Type from Unknown to Front and Generates Playlist of Songs with Multiple Covers"
    MenuItem.IconIndex = 12
    MenuItem.UseScript = Script.ScriptPath
    MenuItem.OnClickFunc = "FixCoverUnknown"
  End If
to

Code: Select all

    Dim MenuItem : Set MenuItem = SDB.UI.AddMenuItem(SDB.UI.Menu_Scripts, 0, -1)
    MenuItem.Caption = "Fix Cover Type Unknown"
    MenuItem.Hint = "Changes Cover Type from Unknown to Front and Generates Playlist of Songs with Multiple Covers"
    MenuItem.IconIndex = 12
    MenuItem.UseScript = Script.ScriptPath
    MenuItem.OnClickFunc = "FixCoverUnknown"
dreadlyone
Posts: 48
Joined: Mon Jan 07, 2008 2:06 pm

Post by dreadlyone »

Triximoto's Album Art Tagger has this functionality as well as many other cover art manipulation options. check it out, you'll be happy, excited and giddy like a school girl once you do.
bob61
Posts: 157
Joined: Sun Dec 09, 2007 4:52 pm

Post by bob61 »

I looked at Album Art Tagger and didn't see any option to change cover type to Front. Saw option to Assign Front Cover Image, but nothing to change cover type - I must be overlooking that option?
Queseuq
Posts: 111
Joined: Sat Apr 05, 2008 8:30 am

Post by Queseuq »

This script would be really useful except it keeps crashing media monkey when it gets about half way through. No error message, just closes the media monkey window.

EDIT: Oops, just updated to the latest beta and it works perfectly now. My bad :oops:
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Post by nynaevelan »

MoD:

Is there a way to modify this script for it to identify tracks with art that is a dead link, even though the art is embedded in the file, and to move it to a particular playlist? Or once the tracks are identified a way to delete the info from the Covers table?? I've tried Trixmoto's Album Art Tagger script but it doesn't have the ability of identifying the tracks and even when I identify them it is not seeing the art as invalid.

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
MoDementia
Posts: 1321
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Post by MoDementia »

Not sure I understand the question, if it's embedded it can't be a dead link?

If it is external it is identifiable as a dead link.

If you mean the default image for no art has been embedded into the track I don't think there is a way to do it.

I seem to rememeber I had many like that from MM2. It had a bad habit of adding the No Art ( a see through CD case with a Note) to the track.

I think I had to go through them manually and delete them because it is a real image :(

[EDIT] Link a track I can download or a screen shot and I should be able to confirm it.
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Post by nynaevelan »

My art files are embedded in the file, but for these problem tracks the db still list them as having embedded art in the Covers table but when you go to the art properties there is no art there. I need a way other than manually scrolling through all the tracks to find these tracks. But seeing as the db is recognizing them as having aa, I don't know if what I need is possible. Here is what it looks like in the db using Bex's debug helper script.

Image

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
MoDementia
Posts: 1321
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Post by MoDementia »

Got it, this might not be the script to modify though :(

I'll see what I can do
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Post by Bex »

Nyn, did you ever try AAT and process: 07. Remove artwork which is invalid?
It says it should: Removing images with dead links or zero filesize.
Where zero filesize would be applicable here.
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
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Post by nynaevelan »

I came here because Bex suggested that you wrote a script for album art and this was the only one I could find from you that came close to what I needed.

Nyn
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
MoDementia
Posts: 1321
Joined: Thu Jun 15, 2006 3:26 pm
Location: Geelong, Victoria, Australia

Post by MoDementia »

nynaevelan wrote:I came here because Bex suggested that you wrote a script for album art and this was the only one I could find from you that came close to what I needed.

Nyn
Hehehe some typo Bex, Trix --> MoD
Post Reply