Page 1 of 2

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

Posted: Sat Jul 08, 2006 5:03 pm
by MoDementia
No Longer Available

Posted: Thu Apr 12, 2007 2:03 pm
by Vyper
Cool. This will come in handy in conjuction with Bex's latest Tagging Inconsistencies update. :D

Posted: Thu Apr 12, 2007 7:46 pm
by nohitter151
Awesome, it works great!!

Posted: Fri Apr 04, 2008 8:01 pm
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

Posted: Fri Apr 04, 2008 9:04 pm
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"

Posted: Fri Apr 04, 2008 9:39 pm
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.

Posted: Fri Apr 04, 2008 10:44 pm
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?

Posted: Sat Apr 05, 2008 8:34 am
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:

Posted: Fri Jun 06, 2008 3:18 pm
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

Posted: Fri Jun 06, 2008 6:12 pm
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.

Posted: Fri Jun 06, 2008 6:18 pm
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

Posted: Fri Jun 06, 2008 6:27 pm
by MoDementia
Got it, this might not be the script to modify though :(

I'll see what I can do

Posted: Fri Jun 06, 2008 6:36 pm
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.

Posted: Fri Jun 06, 2008 6:37 pm
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

Posted: Fri Jun 06, 2008 7:06 pm
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