Teredactle 37 Posted July 1, 2024 Posted July 1, 2024 I was wondering if there is a way to have Emby read the XMP metadata from photos? I've gone through and face tagged my family photos, in particular the super old ones and saved this info on the photo(s) and would love to be able to search Emby from those tag names in the XMP metadata. Any way to do this either by a plugin or perhaps this is already being worked on? TY!
Happy2Play 9780 Posted July 1, 2024 Posted July 1, 2024 From an old topic it appears to read but do not the extent of what is read or if it was disabled so @Lukewill have to comment further.
Teredactle 37 Posted July 1, 2024 Author Posted July 1, 2024 (edited) Face Tags? I have them written in the XMP metadata and they are in the RegionName field. Just want to confirm that Emby 4.6.7.0 supports looking that up in a photo library. If this is supported in a later version, I would then consider upgrading TY! Edited July 1, 2024 by Teredactle
Luke 42078 Posted July 1, 2024 Posted July 1, 2024 Nothing is looking in the RegionName field. Tags are supported via the Keywords field. But generally the older the Emby version that you use, the more limited this will be in terms of what photo file formats it will work with.
Teredactle 37 Posted July 1, 2024 Author Posted July 1, 2024 1 minute ago, Luke said: Nothing is looking in the RegionName field. Tags are supported via the Keywords field. But generally the older the Emby version that you use, the more limited this will be in terms of what photo file formats it will work with. Ok, I understand, the only field that is ready from XMP metadata is the keywords string/field. Do I understand correctly? I have tagged a lot of my photos with face names after facial recognition and was hoping to read that by emby so I can to people search by name.
Luke 42078 Posted July 1, 2024 Posted July 1, 2024 I am guessing in 4.6 it will only work with jpeg. The 4.6 server is using the skia graphics library to get this information, but it doesn't support extracting it from very many formats. The 4.8 server has supplemented this with libvips, and so it should work with all supported photo formats now.
Happy2Play 9780 Posted July 1, 2024 Posted July 1, 2024 I don't know if upgrading from 4.6 to 4.8 would even work properly with all the changes that happened in 4.7. I would guess one would need to do 4.6 to 4.7 then to 4.8.
Teredactle 37 Posted July 1, 2024 Author Posted July 1, 2024 I have 4.8 installed for testing on a separate rig and can test for these metadata tags!
Teredactle 37 Posted July 2, 2024 Author Posted July 2, 2024 So Emby doesn't pick up any of the face tags form the XMB metadata, I've added a bunch of JPGs to the latest version of Emby server, with a photos/videos library, and there is no metadata in those photos - yes, there is a way to manually add metadata, but this isn't automatically added/read. A plugin would be awesome to have, one that would look at XMB data RegionName field(s) and use that to populate the metadata. At this point I wish I was a programmer. To note though: Picasa writes the face tags to the "RegionName" field in XMP metadata DigiKam can read that field and import those tags, however when it writes it's not in the same place (is what I read); not clear where it writes them but not in the same place; however Digikam can to file renaming using the tags. I will (when time permits) look at Digikam to replace Picasa for this. In case others are doing this, it may be helpful. My workflow is Run facial recognition in all my home photo library Tag the faces recognized Write those tags to XMP metadata Use that metadata to rename the files, and append the names to the original file name. End result is my home photo library can be searched by person's name Having a plugin to read the XMP metadata directly from Emby server would save me step #4 here. Cheers 1
Teredactle 37 Posted July 9, 2024 Author Posted July 9, 2024 Would an addon like that be reasonable to build, or would it generate too much resources? Curious.
Luke 42078 Posted July 11, 2024 Posted July 11, 2024 Hi, yes supporting People via faces is something that can be looked at in future updates. Thanks.
CasaAtardecer 27 Posted April 9, 2025 Posted April 9, 2025 Hello friend, I was told by the devs that a new feature request was required to raise the subject of the possibility of using the ALBUM native metadata common to a lot of IMAGE file types in order to gather up PHOTOS into an Emby COLLECTION along with VIDEOS in that same COLLECTION; however, there were already lots of other PHOTO metadata-themed feature requests dating back several years, so I thought they were closed topics. This General forum discussion appears to be on the subject of whether and what XMP metadata Emby can read and use. Here is a question about how Emby handles the metadata differences between VIDEOS and PHOTOS: As you already know, users can populate their NFOs with the xml code <set><name>COLLECTION</name></set> to gather together VIDEOS into a COLLECTION; however, the only method to gather PHOTOS into that same COLLECTION is to edit manually the metadata for each PHOTO. At present, the Emby database accepts and records four native IMAGE file metadata tags; specifically, date, title, description (OVERVIEW), and subject (TAG). Can the Emby library database be updated to accept and record a native XMP metadata tag that my extremely tiny PHOTO community could use for COLLECTIONS; for example, ALBUM, which is already commonly coded into lots of different IMAGE file types? Cheers! Ta!
Luke 42078 Posted April 10, 2025 Posted April 10, 2025 6 hours ago, CasaAtardecer said: Hello friend, I was told by the devs that a new feature request was required to raise the subject of the possibility of using the ALBUM native metadata common to a lot of IMAGE file types in order to gather up PHOTOS into an Emby COLLECTION along with VIDEOS in that same COLLECTION; however, there were already lots of other PHOTO metadata-themed feature requests dating back several years, so I thought they were closed topics. This General forum discussion appears to be on the subject of whether and what XMP metadata Emby can read and use. Here is a question about how Emby handles the metadata differences between VIDEOS and PHOTOS: As you already know, users can populate their NFOs with the xml code <set><name>COLLECTION</name></set> to gather together VIDEOS into a COLLECTION; however, the only method to gather PHOTOS into that same COLLECTION is to edit manually the metadata for each PHOTO. At present, the Emby database accepts and records four native IMAGE file metadata tags; specifically, date, title, description (OVERVIEW), and subject (TAG). Can the Emby library database be updated to accept and record a native XMP metadata tag that my extremely tiny PHOTO community could use for COLLECTIONS; for example, ALBUM, which is already commonly coded into lots of different IMAGE file types? Cheers! Ta! Duplicate Re:
Teredactle 37 Posted April 10, 2025 Author Posted April 10, 2025 My post was not the same as those other two (duplicate) posts, but rather to see if Emby can (through a plugin or natively) read the metadata from the photo files (jpg), in particular the XMP metadata for face tags, so one could search Emby by person name in the face tag metadata, and Emby would then return all photos with that person.
Luke 42078 Posted April 10, 2025 Posted April 10, 2025 1 hour ago, Teredactle said: My post was not the same as those other two (duplicate) posts, but rather to see if Emby can (through a plugin or natively) read the metadata from the photo files (jpg), in particular the XMP metadata for face tags, so one could search Emby by person name in the face tag metadata, and Emby would then return all photos with that person. HI, yes that's something we can look at in future updates. Thanks.
CasaAtardecer 27 Posted May 14, 2025 Posted May 14, 2025 Hello @Teredactle, It might interest you to learn that @Lukehas only just recently "crafted" a new metadata tag ("embycollections") for Photo files. It took quite a bit of research and trial/error, but the end result is that you can now create a custom XMP tag in your photos that Emby can read and gather into its Collections area. This has a lot of advantages over the Tags (Subject metadata) area because Collections has a details view, where you can group, filter, and sort your media items, whereas in Tags, you cannot do any of these things. I imagine that something like this could be developed as a custom "embypeople" XMP tag that will create a searchable people tag for your photos. Cheers! 1
Teredactle 37 Posted May 16, 2025 Author Posted May 16, 2025 Hi @CasaAtardecerand @Lukethanks for replying to this post. I'm not sure I understand though. So, if I have photos with XMP tags, Emby (photos library) can now read those tags when I do a search? Is this documented anywhere so I can take a look and better understand? Thank you!
CasaAtardecer 27 Posted May 16, 2025 Posted May 16, 2025 Hello @Teredactle To the best of my knowledge, at present Emby will read 5 photo file metadata tags: These are title, filecreatedate, subject, description, and embycollections. The last one is a custom tag that you will have to create on your own using an XMP editing tool. These 5 tags for Photos will then become title, ‘date added’ (if your Emby settings are configured this way), tag, overview, and collections, respectively, when added to an Emby library that will recognize photo file extensions. As far as I can tell, title, tag, and collections are searchable by Emby, while ‘date added’ and overview are not. @Lukeis the authority with regard to documentation. As a fellow photo archivist, I hope this helps you out. We are in the minority here and do not get the same attention as movie, tv, music, and games. But I am trying to change that. Cheers!
Teredactle 37 Posted May 16, 2025 Author Posted May 16, 2025 Thanks, good infos!!! i have no "just photos" libraries, because my hone photos and videos are in the mixed type libraries so i can share with my family. @Lukedoes embycollection apply to the home videos photos types of libraries too, if not can it? I looked at those libraries sorting options but didnt find the option for embycollection Thanks
Teredactle 37 Posted May 16, 2025 Author Posted May 16, 2025 Im going to create a temporary photos library to test if embycollection will pull/find photos that i know have this Xmp populated with face tags
CasaAtardecer 27 Posted May 16, 2025 Posted May 16, 2025 Hello @Teredactle, My primary enjoyment of Emby at the present time is also to archive and share Home Videos and Photos with family and friends via the Roku TV app. Emby consolidates all videos and photos within the Home Video and Photo library type that carry the same metadata name(s) for Collection(s) together into one or more Collections. As I said before, the custom tag that you will have to write into your PHOTO files for Emby to understand is called 'embycollections' that was crafted by @Luke. However, the collections tag for VIDEO files is NOT an embedded metadata tag; rather, it is written into the XML NFO file that must accompany each video. Emby reads and understands each different file type (i.e., video and photo), and their corresponding xml code (i.e., NFO for video and embycollections for photo), and consolidates them into a Collection that has the name of whatever value you have used in your xml. I hope this helps to clarify things a little bit more for you. Cheers!
CasaAtardecer 27 Posted May 16, 2025 Posted May 16, 2025 5 minutes ago, Teredactle said: this Xmp populated with face tags Hello @Teredactle, provided your tag name in your photo files is called 'embycollections' Emby should read the values and create Collection(s) for each of the different values of the tag. Good luck! Cheers!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now