-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration with new InFileMetadata #534
Comments
Hi JC, I'll get back to you after the weekend. Meanwhile have a look at the docs. Frank |
Hi JC, Had some time to spare, and the subject has my interest, so I'm replying sooner. Here are some thoughts:
Some assumptions. (please correct me if I'm wrong)
Customizing GUI
Planning
Challenges
Alternatives
Back to the drawing board.
Frank |
Hi JC, I'm afraid that info doesn't help me a lot. Frank |
FrankBijnen, not sure if you are responding to my post or a separate conversation with jc508. I posted to show jc508 a real world example of custom fields within ExifToolGui. |
Hi Frank, The impetus for this is, as I said, Windows removing the ability to directly edit the metadata and the eternal push to get things in the cloud So I have been communicating with Brandt Redd (https://www.filemeta.org) who is very helpful offering advice from an Academic perpective.
To clean this up I converted all the BMP to JPG, DOC to DOCX, XLS to XLXS - cant remember about the RTF though. I should say there is potentially another Organisation who might be interested - they have mega genomic files. I haven't looked at the file types yet but, architecturally, they could be catered for by addition of one or more 'wrapper' modules. So
just for simplicity imagine an 'Admin' user also gets to edit the DocumentID in the following list This is where the definition for the current Museum client is upto...
(ps All these are currently defined in XML configuration documents so they could be edited and a simple restart would enable the changes) I have looked at the doco for exifToolGui, especially, around the 'custom' values. Now on to your 'challenges'. Reading over the weekend I have also discovered that Pascal and C# do not play well together - if at all. I was pleasently supprised to find that the ancestor of Pascal is Algol - my first much loved programming language. I often wondered where it went. Finally - my thoughts on exifToolGui being good for me was not its ability to interface with exiftool but its framework. And as for timing - back in February I told the users this was probably a 3 year task (ie it was huge). Thanks for the interest and for listening JC Sample 2 Domain Metadata.txt |
Yes, you're right. I mixed things up. Sorry for that. Frank |
Frank, What is needed is an edit grid - as per any of the sub tabs under 'Metadata'
So its just like (what I imagine happens for) 'Custom' entries. P.S. I think we are many time zones apart so I apologise if things appear out of order. I am in UTC+10 South Eastern Australia |
Hi John, Thanks for the info. Makes it a lot clearer to me. First some quotes.
True
This is where we disagree. You can define your own XMP tags, adding a virtually unlimited nbr of tags.
If we were to agree on the 'plugin model' I could make a framework that you can 'extend'.
Thanks for your opinion. Credits go to Bogdan Hrastnik the original developer. Using the Demo XMP custom fields:
The UserDefined FileList, the Custom view and the Workspace should be more or less what you want, or at least give you an idea what XMP custom tags can do. Functional requirements Plugins: I can see 2 plugins: (Just thinking out loud, not sure if this works)
E.G. -Familyname="Family 1' =>
Challenges:
Frank |
Ah Thanks. Confirms my assumptions. You're already writing to XMP. That's good.
That is one reason more to define custom Tags.
See the demo. That does exactly that.
Netherlands. Frank |
@jc508 Meanwhile I have changed the custom XMP fields. It now shows how to use multiple schema's. The Schema names I have used are IFM01 and IFM02, but you can think of better names. See the Zip file. BTW: I dont understand why the DocumentID is duplicated. Also I have had time to think about the plugin(s). Bottomline:
When you choose the Custom XMP fields solution, you only have to make sure the data is stored in that way. Everything else works out of the box. (with some setup)
My advice is to go for the Custom XMP fields solution! Frank BTW: Out of curiousity I had a look at one of your repositories. ExifToolWrapper. What strikes me:
Config for multiple Schema's
How the data is written to the JPG file in the XMP block. Just plain XML. I think it is far more readable.
|
@FrankBijnen I only selected MetaTags because it was an existing codeblock I could recycle which, by the way, also handled the 'only-one-item-has-changed' scenario. Stand By.. JC |
Several other issues have arisen that have a higher priority- this project has had to go go to the back burner for a bit. |
No Problem. In The Netherlands we have a saying: "goed werk heeft tijd nodig" (Use google translate it does a fair job) Frank |
Frank, When it comes to editing in the 'Workspace' panel I am finding it very un-intuitive. If we were to explore the idea of a Plugin some more then this panel would be where it came in.
Finally I see your ideas for multiple Schema. In reality it is probably simpler than both of us have been thinking. JC |
Hi John, Good to hear from you. I will reply in more detail this week, for now only some remarks about editing in the workspace. I dont think it is as bad as you think, but I'm open to suggestions. First of all have a look at the preferences. The default values are what you see in the screenshot. (when GUI has to create an INI file) I may have given you an INI file with my personal settings. Also with these settings, double clicking will not add/delete attributes from the list in the Workspace. It is a setting not meant for normal use, only to make adding and deleting attributes faster. The normal way to add/delete attributes would be in the Workspace manager Frank |
Hi Frank, I am working on an 'InFileMetadata' solution to manage User Specified Metadata items.
This has been working with NTFS extended attributes as per the sample.
With Microsoft/Windows recently removing the ability to easily define and edit this metadata we had to find another solution.
The client here is our local Museum who are 'tagging' their digital collection, currently around 50,000 files.
Cuting the story short the design selected is to use Brandt Redd's "Metatags" (https://www.filemeta.org/MetaTag)
ie to actually build something that gives life to this design.
Once the metadata is encapsulated it is stored inside a single 'field'/'attribute' of the file.
For image files this is using exiftool and for Office type files it is using OpenXML. (With hooks left for anybody else to write a module to deal with other file types)
Anyway this bottom layer has been written and I am now looking for a GUI to plug it into.
Hey presto - ExifToolGui LOOKS perfect!
I can just see my user-defined metadata items appearing on the righthand 'Metadata' / Custom Tab
I am sure you are very busy but could you please spare some time to discuss how this might be achieved?
Some might be easy - like point me to the doco that says what 'Custom' metadata is and whether it can be configured.
Other bits are probably hard - i.e. it doesn't look like ExifToolGui has provision for 'Plugins'
I am available to assist if you like but I don't speak pascal (yet).
The new modules have been written in .Net 8.0 C# are are happy under Windows or Linux
I look forward to your feedback
Thanks
JC
The text was updated successfully, but these errors were encountered: