INTERACT FORUM
Windows => Third Party Plug-ins, Programs, and Skins => Topic started by: raldo on September 03, 2009, 09:23:08 am
-
Is it possible to access image metadata from the plugin API?
When you select tag for a jpg image in the action window and then press JPG topmost in the tag frame, the format page appears. That's the info I'd like to access (just read).
I know how to do this from the file and I've also managed to parse XMP, but the process is quite slow. There is also the problem where data may not be synchronized between the image and the MC database. I'd think that this problem would have less impact if I read from the MC database.
-
bump...
-
You might be able to do this with the "Tag()" function in an expression? I was able to use this to access the gapless information when they recently added it as so:
MJFileAutomation.GetFilledTemplate("Tag(Gapless Header)")
See the wiki (http://wiki.jrmediacenter.com/index.php/Media_Center_expression_language#Tag.28....29:_Reads_in_the_physical_file_tag_rather_than_looking_in_the_database)for more info.
-
You might be able to do this with the "Tag()" function in an expression? I was able to use this to access the gapless information when they recently added it as so:
MJFileAutomation.GetFilledTemplate("Tag(Gapless Header)")
See the wiki (http://wiki.jrmediacenter.com/index.php/Media_Center_expression_language#Tag.28....29:_Reads_in_the_physical_file_tag_rather_than_looking_in_the_database)for more info.
In the wiki, this particular api function looks like it would read from the file on disk and not from the library, am I correct?
Is "Gapless Header" an audio tag? I'm unsure what the image metadata equivalent of your method call would look like. Is the "raw" image metadata stored in a tag with as one big text string?
-
In the wiki, this particular api function looks like it would read from the file on disk and not from the library, am I correct?
Correct.
I'm unsure what the image metadata equivalent of your method call would look like. Is the "raw" image metadata stored in a tag with as one big text string?
Sorry, I don't know what accessing the image tags would look like but I think you can do it with this function if someone can tell you what the syntax should be.
-
Sorry, I don't know what accessing the image tags would look like but I think you can do it with this function if someone can tell you what the syntax should be.
Ok, thanks..