[1399] Image Type = Not Specified

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: [1399] Image Type = Not Specified

Re: [1399] Image Type = Not Specified

by nynaevelan » Sun Jul 03, 2011 9:30 am

That didn't help but I do not think it is my tracks but something wrong with MM as I mentioned here: http://www.mediamonkey.com/forum/viewto ... =6&t=59055

Nyn

Re: [1399] Image Type = Not Specified

by ZvezdanD » Sun Jul 03, 2011 2:57 am

nynaevelan wrote:Use this in magic nodes??
You missed my post where I said that you could use the RegExp Find & Replace add-on with the settings that I posted. That was the new Replace with string for it. Please, try it and tell me if it could find your missing covers.

Re: [1399] Image Type = Not Specified

by nynaevelan » Sat Jul 02, 2011 8:59 pm

ZvezdanD wrote:
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.
This might be a good idea, I could breakup the process to run individual genre's overnight, that way it wouldn't be too taxing on the system.

Thanks for helping me with this. :D

Nyn

Re: [1399] Image Type = Not Specified

by nynaevelan » Sat Jul 02, 2011 8:55 pm

Use this in magic nodes??

Re: [1399] Image Type = Not Specified

by ZvezdanD » Sat Jul 02, 2011 8:02 pm

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

by ZvezdanD » Sat Jul 02, 2011 7:33 pm

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

by nynaevelan » Sat Jul 02, 2011 7:24 pm

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

by ZvezdanD » Sat Jul 02, 2011 7:06 pm

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

by nynaevelan » Sat Jul 02, 2011 6:55 pm

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

by ZvezdanD » Sat Jul 02, 2011 6:50 pm

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

by ZvezdanD » Sat Jul 02, 2011 6:39 pm

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

by nynaevelan » Sat Jul 02, 2011 6:32 pm

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: :lol: :lol: 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

by ZvezdanD » Sat Jul 02, 2011 6:25 pm

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

by nynaevelan » Sat Jul 02, 2011 4:52 pm

Here is an example of a track using Bex's debug viewer script:

Image
covertype1 by nynaevelan1, on Flickr

Image
covertype2 by nynaevelan1, on Flickr

Re: [1399] Image Type = Not Specified

by nynaevelan » Sat Jul 02, 2011 4:17 pm

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

Top