It seems that whenever I use 'ZIP' as BaseType in a user-defined file type, it doesn't seem to work. Here's an example (sample file attached):
zxp => {
BaseType => 'ZIP',
MIMEType => 'application/vnd.adobe.air-ucf-package+zip',
Description => 'Adobe Zip Format Extension Package',
}
It simply won't report file type description here, it doesn't report the extension as ZXP. There are other examples, too:
costylepack => {
BaseType => 'ZIP',
Description => 'Capture One Style Package',
},
I'll also attach a sample of that.
Am I doing something wrong? Or is the problem in my app's intelligence? Or might this be a problem with ExifTool?
- J
I'll look into this when I get a chance. Give me a day or two.
- Phil
I've seen the same issue with XML as BaseType:
cxf => {
BaseType => 'XML',
MIMEType => 'text/xml',
Description => 'Color Exchange Format',
}
It works great for all other config I have. - J
Well, darn, I found a typo in my config, and now both the ZXP and COSTYLEPACK are working fine. So sorry.
I'm attaching a ZIP-based file format that doesn't work still. It seems to be part of a family of file types that are zips but hide the .zip extension on the desktop. I think this may be the source of the issue...?
I do still have trouble with the XML-based files, including the CXF file provided.
- J
See, even the uploader put z .zip on it!
See attached for how macOS 10.15.7 displays this. - J
Another example of XML-base not working for me (attached):
costyle => {
BaseType => 'XML',
MIMEType => 'text/xml',
Description => 'Capture One Style',
},
Right. The problem is that XML isn't a supported file type, so it can't be used as a BaseType in the config file.
Maybe there is something I can do about this.
- Phil
OK. You can work around it like this:
XML => {
BaseType => 'XMP',
MIMEType => 'text/xml',
Description => 'Extensible Markup Language',
},
costyle => 'XML',
Currently you can't assign a different description for costyle... I'll look into this.
- Phil
I have another example where even a description doesnt seem to work:
afphoto => {
Description => 'Affinity Photo Document',
}
- J
Another XML-based unsupported file type, in case it is helpful. - J