Page 1 of 2
[1399] Image Type = Not Specified
Posted: Sat Jul 02, 2011 12:45 pm
by nynaevelan
Hi:
I have several tracks that has the not specified as cover type, which means I need to fix them, all my covers are embedded into the files. Can anyone tell me how to identify these tracks in order to fix them? I have tried identifying them with the sql viewer script but I don't know what to look for. I remember having this problem a year or two or three ago but I do not remember how I fixed it and a forum search is not giving me any results. Oh and before you suggest it, I have already tried to use the unknown artwork and inconsistent artwork node in files to edit. I looked at some of these tracks using Bex's debug viewer script and it doesn't see them as having any problems. Please someone, can you help me??
Nyn
Re: [1399] Image Type = Not Specified
Posted: Sat Jul 02, 2011 12:51 pm
by nynaevelan
I found the old script that was created to fix these type of problems, unfortunately it is one of MoDementia's scripts and he removed it from production, so I am still screwed

Here is the old topic:
http://www.mediamonkey.com/forum/viewto ... nt#p173403
Re: [1399] Image Type = Not Specified
Posted: Sat Jul 02, 2011 1:46 pm
by ZvezdanD
nynaevelan wrote:Can anyone tell me how to identify these tracks in order to fix them?
Magic Nodes?
Re: [1399] Image Type = Not Specified
Posted: Sat Jul 02, 2011 4:17 pm
by nynaevelan
You have an idea what criteria I should be using to find them?? I think the covertype is the field I want to search on but I do not know which number to use. I looked in the database but that doesn't offer me any clues as to which one it is for not specified.
EDIT:
Oh and by the way as far as MM is concerned these tracks have valid covers in the cover table so I am not sure MN will be able to find them.
Nyn
Re: [1399] Image Type = Not Specified
Posted: Sat Jul 02, 2011 4:52 pm
by nynaevelan
Here is an example of a track using Bex's debug viewer script:
covertype1 by
nynaevelan1, on Flickr
covertype2 by
nynaevelan1, on Flickr
Re: [1399] Image Type = Not Specified
Posted: Sat Jul 02, 2011 6:25 pm
by ZvezdanD
Did you tried to expand Cover Type node from the Magic Nodes folder? Do you have "No specified" sub-node? What you get when you select "Unknown" sub-node?
I think that trixmoto has some add-on which could deal with the missing linked bitmaps it this is what you need.
Re: [1399] Image Type = Not Specified
Posted: Sat Jul 02, 2011 6:32 pm
by nynaevelan
ZvezdanD wrote:Did you tried to expand Cover Type node from the Magic Nodes folder? Do you have "No specified" sub-node? What you get when you select "Unknown" sub-node?
I am not sure what you mean?
ZvezdanD wrote:I think that trixmoto has some add-on which could deal with the missing linked bitmaps it this is what you need.
Yes the Album Art Tagger, this is what I am going to use to fix them once I find them.
EDIT:

I had a brain fart for a second there, I did expand it but it only identified 1 track. As far as the database is concered all the tracks have valid front cover images but they are not showing in either the album art window or the album art properties option sheet.
Is it possible to delete everything in the covers table and then rescan the files into the db since the art is embedded in the files??
Nyn
Re: [1399] Image Type = Not Specified
Posted: Sat Jul 02, 2011 6:39 pm
by ZvezdanD
nynaevelan wrote:ZvezdanD wrote:Did you tried to expand Cover Type node from the Magic Nodes folder? Do you have "No specified" sub-node? What you get when you select "Unknown" sub-node?
I am not sure what you mean?
I mean what I asked. Do you see tracks that you are looking for when you select "No specified" or "Unknown" sub-node of the "Cover Type" node?
I just read MoDementia's thread and I am not sure what kind of problem his add-on solved.
Re: [1399] Image Type = Not Specified
Posted: Sat Jul 02, 2011 6:50 pm
by ZvezdanD
nynaevelan wrote:EDIT: Is it possible to delete everything in the covers table and then rescan the files into the db since the art is embedded in the files??
Wait! You want to say that you have some tracks which are wrongly tagged as they have embedded cover arts, but actually they don't have them? That is really strange, it should be reported as a bug to MM developers.
Re: [1399] Image Type = Not Specified
Posted: Sat Jul 02, 2011 6:55 pm
by nynaevelan
ZvezdanD wrote:nynaevelan wrote:EDIT: Is it possible to delete everything in the covers table and then rescan the files into the db since the art is embedded in the files??
Wait! You want to say that you have some tracks which are wrongly tagged as they have embedded cover arts, but actually they don't have them? That is really strange, it should be reported as a bug to MM developers.
This has been going on for quite some time, I found the old topic from MoDementia where he was helping me before with my mm3 database and it dates back to 2008, Jiri was aware of the conversation then. MoDementia had created a script for me that fixed them but unfortunately I had a hard drive failure and I no longer have a copy and he removed his scripts from availability. I am trying to search through some old cd backups to see if I have a copy somewhere.
Nyn
Re: [1399] Image Type = Not Specified
Posted: Sat Jul 02, 2011 7:06 pm
by ZvezdanD
I still don't understand. Do you have cover arts that are marked as linked, but has missing bitmap files or you have missing cover arts that are marked as embedded?
If you are looking for the first case, i.e. missing external bitmap files, you could use RegExp Find & Replace to locate such tracks with the following settings:
Find what: ^.*
Into: whatever, e.g. Title
Regular expression 1: checked
Replace with:
Code: Select all
Execute("SetVar 0, ""$&"": Dim ix: For ix = 0 To oSongData.AlbumArt.Count -1: If oSongData.AlbumArt.Item(ix).ItemStorage = 1 Then If Not SDB.Tools.FileSystem.FileExists(oSongData.AlbumArt.Item(ix).PicturePath) Then SetVar 0, ""Missing Cover Art File!"": Exit For: End If: End If: Next") & GetVar(0)
VBScript expression: checked
Don't execute that preset, i.e. don't press Replace button! Choose Keep to replace from the dropdown button next to the Replace All button and you should get extracted tracks with missing bitmap file. Of course, before you enter into the RegExp dialog box you should select all tracks that you want to search.
Re: [1399] Image Type = Not Specified
Posted: Sat Jul 02, 2011 7:24 pm
by nynaevelan
All the art is embedded and MM is still has references in the cover table that the art is embedded but when you look at these tracks in either the album art node or the album art properties window is doesn't show the album art, it will show the blank image and have the description as "not specified". Look at the pics I posted a few posts earlier, that is what the art looks like. But I cannot figure out how to identify which tracks they are without coming across them as I am working within MM. I would like to be able to find them and fix them if at all possible. Bex's script recognizes them as linked to bad links, but MM is not recognizing any linked album at all.
Nyn
Re: [1399] Image Type = Not Specified
Posted: Sat Jul 02, 2011 7:33 pm
by ZvezdanD
nynaevelan wrote:All the art is embedded ... Bex's script recognizes them as linked to bad links, but MM is not recognizing any linked album at all.
I still don't get it. If they are embedded or linked? Anyway, I just edited the previous post, take a look at it, maybe it could help you.
Re: [1399] Image Type = Not Specified
Posted: Sat Jul 02, 2011 8:02 pm
by ZvezdanD
Here is another Replace with string. Maybe with it you could find the missing embedded cover arts as well, but I am not sure about that part:
Code: Select all
Execute("SetVar 0, ""$&"": Dim ix: For ix = 0 To oSongData.AlbumArt.Count -1: If oSongData.AlbumArt.Item(ix).ItemStorage = 1 Then If Not SDB.Tools.FileSystem.FileExists(oSongData.AlbumArt.Item(ix).PicturePath) Then SetVar 0, ""Missing Cover Art File!"": Exit For: End If: Else If oSongData.AlbumArt.Item(ix).Image.ImageDataLen = 0 Then SetVar 0, ""Missing Embedded Cover Art!"": Exit For: End If: End If: Next") & GetVar(0)
I suppose that the only reliable solution would be to try to save each embedded art as bitmap file, but this could be time consuming and would require intensive writing to the hard disk.
Re: [1399] Image Type = Not Specified
Posted: Sat Jul 02, 2011 8:55 pm
by nynaevelan
Use this in magic nodes??