Jump to content

Metadata for Multiple Versions?


Recommended Posts

Posted

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.

image.thumb.png.f655d20660af17afa48e817cdcef4d6d.png

Metadata example for one movie (from the movies screen):

image.png.539ad0593cb75f8534d37b2df0b23cde.png

Meanwhile, if I search Mission Impossible, I get the following results:

image.thumb.png.93f1d18bf0a1859e982ba32dd9bd679b.png

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.

image.png.6f49369b153d94d83d0eb6aef9c5cd75.png

 

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.

image.thumb.png.93101890d53c91a44be06028da1b1749.png

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.

 

Posted

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.

  • Agree 1
Posted

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?

 

Posted
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.

Posted

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.)

image.png.10c4e8ab40522a5477131cd949d715fb.png

 

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)

image.png.5e0577f6a276957e0610bf91a85ba60b.png

 

Interesting to note that when I view Mission Impossible on the browser, it shows ID: 450347.

 

Posted
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.)

image.png.10c4e8ab40522a5477131cd949d715fb.png

 

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)

image.png.5e0577f6a276957e0610bf91a85ba60b.png

 

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

  • Thanks 1
Posted

Perfect, thanks! Time to rework some stuff.

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...