iloveparks 7 Posted February 19, 2024 Posted February 19, 2024 I'm struggling to figure out how exactly Emby handles metadata for movies with multiple versions. I am only dealing with 1080P/4K versions right now. I have followed appropriate naming conventions so that Emby automatically groups them together and I can choose the version to play. However, there are instances of a movie with multiple qualities where metadata changes seem to only affect one of the versions and/or metadata discrepancies appear in certain screens. Is this intended? Here is an example showing the Mission Impossible movies from the main "Movies" section of my library. All movies in their proper sort order(metadata field locked) and custom posters. Metadata example for one movie (from the movies screen): Meanwhile, if I search Mission Impossible, I get the following results: Rogue Nation metadata is no longer locked, etc. as Emby is now presenting me the "4K" version first, poster is back to a default poster, etc. Interestingly if I select the "Movies" tab in the search results, things seem off again, but in a slightly different way again, as if slightly different metadata is being used. Example of issues in screenshot above: - "Mission Impossible" should be "Mission: Impossible" (as it is on the main Movies screen.) - "Mission Impossible Fallout" should be "Mission: Impossible Fallout" (as it is on the main Movies screen.) Thanks in advance for any help.
roaku 842 Posted February 19, 2024 Posted February 19, 2024 With grouped multiversioning, each item still gets its own metadata. There just isn't a metadata editor available for each version (yet?). So, you can separate the versions and edit their metadata separately, then rejoin. Or, if you have nfo writing/reading enabled, you can go to the folder for that movie and edit each nfo file with your updates and refresh metadata. 1
iloveparks 7 Posted February 19, 2024 Author Posted February 19, 2024 Thanks @roaku- follow up question would be if there is a good way to update metadata for both items using the API? Seems like not when they are joined?
roaku 842 Posted February 19, 2024 Posted February 19, 2024 9 minutes ago, iloveparks said: Thanks @roaku- follow up question would be if there is a good way to update metadata for both items using the API? Seems like not when they are joined? I'm not sure on that one. I just haven't ever looked into it.
iloveparks 7 Posted February 19, 2024 Author Posted February 19, 2024 Unfortunately it seems that the ItemUpdate/Item specific endpoints all require an Item ID (logical) and it seems like Emby creates a second "ID" for the grouped items but I can't seem to programmatically discover it. Getting the full item for Mission Impossible returns an ID of 400781. (Queried the /Users/<USERID>/Items endpoint with Mission Impossible and selected the result where the name matched - only 7 total results.) Pulling the full item does also give me "MediaStreams" which shows the two different files, but the "item_id" field is blank within them. I would think this is the field I need, but no idea why it is blank.. (For both entries) Interesting to note that when I view Mission Impossible on the browser, it shows ID: 450347.
roaku 842 Posted February 19, 2024 Posted February 19, 2024 22 minutes ago, iloveparks said: Unfortunately it seems that the ItemUpdate/Item specific endpoints all require an Item ID (logical) and it seems like Emby creates a second "ID" for the grouped items but I can't seem to programmatically discover it. Getting the full item for Mission Impossible returns an ID of 400781. (Queried the /Users/<USERID>/Items endpoint with Mission Impossible and selected the result where the name matched - only 7 total results.) Pulling the full item does also give me "MediaStreams" which shows the two different files, but the "item_id" field is blank within them. I would think this is the field I need, but no idea why it is blank.. (For both entries) Interesting to note that when I view Mission Impossible on the browser, it shows ID: 450347. Maybe try the Items (not Users/Items) endpoint with the 'AnyProviderIdEquals' parameter? https://dev.emby.media/reference/RestAPI/ItemsService/getItems.html 1
iloveparks 7 Posted February 19, 2024 Author Posted February 19, 2024 Perfect, thanks! Time to rework some stuff. 1
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