View Single Post
Old 09-29-2024, 07:07 PM   #3
calibre-user
Junior Member
calibre-user began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2024
Device: Mac OS
Quote:
Originally Posted by BetterRed View Post
Have you tried using the Embed metadata feature, you will probably need to add it to a toolbar/menu, Q.E.D. on Windows:

Attachment 211115

BR
First, thank you BR for the suggestion. Am pleasantly surprised at the diverse array of functionality Kovid Goyal has implemented in Calibre.

Moments ago, I ran the "embed metadata" successfully on a pdf file and was able to see the tags with the terminal command mdls (on a Mac). So, Calibre embeds the metadata into what I believe is called the XMP headers in a pdf file but not the extended attributes of a file (viewable with command xattr on a Mac).

Embedded Calibre tags aren't interpreted by Mac OS as tags ~probably~ because Calibre tags are written to a different key in the XMP header. A file's Mac OS tags show up in that file's XMP header under the key "kMDItemUserTags" while Calibre's embed metadata feature writes Calibre tags to the key "kMDItemKeywords". But the real reason might require more digging into how Mac reads tags off a file.

While my Calibre tags have not yet turned into Mac OS tags, this feels like a step in the right direction. I think I should next figure out a means of using the embedded metadata content to set the file's Mac OS tags.

Last edited by calibre-user; 09-29-2024 at 07:11 PM. Reason: added more details
calibre-user is offline   Reply With Quote