Comments (10)
[Dijji@26/10/2017]
Be aware, however, that since the exported XML is simply a mechanism to backup the metadata properties stored in the alternate stream attached to the file by File Meta, then even after you have registered the extension, metadata property values held within the file will not be exported.
On the other hand, as extending the property handler diverts all written values to the alternate stream, all meta data properties written after the File Meta handler has been added, whether or not an initial value appears within the file, will be exported.
Dijji
from filemeta.
[Dijji@25/10/2017]
For File Meta to read metadata properties for an extension, you need to register that extension using the File Meta Association Manager first.
Note that in the case of .jpg, File Meta would be extending the existing Microsoft property handler, so be sure to read the documentation first so that you understand the full implications.
Dijji
from filemeta.
[SimonKravis@25/10/2017]
The jpg extension is greyed out in the File Extension column in File Meta Association Manager and shows as having IPropertyStore Handler for Images in the Property Handler column. The button Add File Meta Handler is also greyed out for this extension.
For file extensions not showing a handler, the extension is not greyed out and the Add File Meta Handler button is enabled.
from filemeta.
[Dijji@26/10/2017]
What version are you running? The ability to extend existing property handlers was introduced in version 1.5. The behaviour that you are describing would be expected in versions before that.
Dijji
from filemeta.
[SimonKravis@26/10/2017]
I have v 1.5, so the reason no metadata is exported is that is was not set by FileMeta as pointed out in the preceding comment. I would like to use FileMeta to programmatically set metadata and it would appear that the way to do this is to write an xml file and then import it. However, when I import the following XML file
<Metadata>
<Storage Description="SummaryInformation" FormatID="{F29F85E0-4FF9-1068-AB91-08002B27B3D9}">
<Property Name="System.Title" Id="2" Type="VT_LPWSTR" TypeId="31">
<Value>Title2</Value>
</Property>
</Storage>
</Metadata>
The file is successfully imported and filemeta -ec file.jpg reproduces the xml. However, properties as shown in the Details tab of the file properties as shown in FileExplorer in Windows 10 does not show the value set for the Title field.
from filemeta.
[Dijji@28/10/2017]
Metadata export and import to and from XML works directly against the alternate stream property storage, which we now know is working as it should.
The appearance of these properties in Explorer is driven by the registry settings controlled by the File Association Manager. Nothing will appear there until you have set up File Meta as the property handler for the .jpg extension. Is it possible that you are somehow still running an old version of the Association Manager? I would expect the product version in the Details tab of the executable properties to be 1.5.6128.24231.
Dijji
from filemeta.
[SimonKravis@28/10/2017]
I had version FileAssociationManager,exe v 1.2.5235.19622 and FileMeta.exe v 1.2.5235.0 installed. Downloading and installing latest 64 bit version I have FileMetaAssoc.exe v 1.5.6128.24231 last modified 11/10/2016 and FileMeta.exe is still 1. 2.5235.0.
FileAssocManager has a different interface where it is possible to add a File Meta handler to the extension .jpg. When this button is clicked, a message appears saying that this action will extend the existing handler and create a custom profile for the extension and asking if the use wishes to proceed.
Attempting to use FileMeta.exe to add a metadata field without extending the existing handler for .jpg (which is IpropertyStore Handler for Images) with the command
FileMeta.exe -i -x=SetTitle.xml File.jpg
results in the command prompt being returned with no indication that any metadata has been added, and FileMeta.exe -ec File.jpg does not return any values.
After clicking Yes for confirmation of extension of property handler the command
FileMeta.exe -i -x=SetTitle.xml File.jpg
returns Error 0x80030005 obtaining IPropertySetStorage
and
FileMeta.exe -ec File.jpg returns
from filemeta.
[Dijji@31/10/2017]
0x80030005 is access denied, i.e. a permissions failure. This may be because you have two versions of File Meta installed. The designed process is to uninstall the old version, then install the new version. Installation does not remove the old version in place. Please remove version 1.2 and version 1.5, then reinstall 1.5. No configuration data will be lost.
Please also note that I will be moving the project to GitHub in the next few days, so we may have to continue your issue there.
Dijji
from filemeta.
Sorry for reviving, but if I want to export metadata from all media files I have to...
- register the extension (
.jpg
) - some kind of touch command run against each file to "move" the existing Windows metadata to FileMeta's alternate data stream?
filemeta -ec myimage.jpg
would output all of the metadata now
What ought I do for step 2?
from filemeta.
Step 2 doesn’t exist at the moment, but maybe it should. I will do a little research into the possibilities of reading all the available properties from a file, which I think is the hardest bit.
Dijji
from filemeta.
Related Issues (20)
- "windows will not allow the handler for mp4 to be extended" HOT 1
- Can't View or Edit any Tags within PowerShell HOT 3
- Adding Custom Properties Not Currently Available HOT 1
- Questions about FileMeta HOT 4
- DigiKam won't read or write PNG or GIF tags HOT 1
- File Meta Hander for files with no extension? HOT 2
- Can't add keyword tags to mp3s - Windows demands admin permissions HOT 2
- Category/Tags no longer saving when added. HOT 5
- How to see any tags? How to protect tags? HOT 1
- Software overwriting meta data on save. Can I store my tags in an external file somewhere? HOT 5
- M4A-Files - Context Menu - Metadata HOT 1
- Windows Explorer keeps crashing after few days of usage HOT 1
- Export to / Import from (hidden) .xml HOT 1
- can I use the "Everything"? HOT 3
- Sad news about Dijji HOT 2
- Fork released HOT 1
- Is ReFs supported?
- rightclick+m,file rename function failure
- Option to Hide Any Prop Title, Not Just Empty Ones
- Log file - created several GB in a couple of days.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from filemeta.