Bug with clicking actors/media libraries listings when looking at movie info?

What I was told on another thread is when an edition tag is added to a movie listing the UUID of the movie changes, that’s why it is not listed on an actor’s page – the movie is not on the list of films (which I guess is by UUID?) that actor is in. Yet Plex is still collecting the info for the metadata that includes the same actor info.

Seems like there are two databases at work here behind the scenes that need to be linked up better.

Edition support on Credits page is a separate known issue.

The specific issue of this thread relates to Web and Desktop only. Upon initially viewing a person’s Credits page, a user’s owned PMS may not be displayed as an availability in the Movies & Shows in Media Libraries and Media Libraries hubs and Filmography section. Refreshing the page or navigating away and back to this Credits page usually resolves the issue. This same Credits page may eventually show the same issue over time.

:point_up: is my understanding of the issue. Correct me if I’m wrong here, please.

I can now reliably reproduce this issue.

The latest Web (4.134.2) and Desktop (1.97.2) releases have a fix for the issue reported here.

Tested on Web (4.134.2) and Desktop (1.97.2), the issue still persists with no improvement.

So you are saying if i update my server to the latest version and make sure my windows player is that version it will work?

What about the post below by x1ao4 saying he just tried it and it still doesn’t work?
I don’t want to sit here for hours again backing things up if the server update breaks my database with a updated version and i have to manually restore everything to reinstall the older version again.

My server version is 1.40.4.8679. I tested on Web (4.134.2) and Desktop (1.97.2). While the Discover Credits pages do list my libraries as sources in most cases, sometimes I have to reopen the Credits page multiple times for my libraries to appear. In random tests, I also found many instances where the listed libraries are incomplete. For example, I have films featuring certain actors in multiple libraries, but it often only shows one or two of the libraries, not all of them. Some libraries never show up at all. Therefore, for me, there has been no improvement, and the situation remains the same as before.

@x1ao4 thanks for the feedback! I should have put these releases have a “potential” fix in my comment. Can you show me some of these examples? Also if you could send me a copy of your DB that might be helpful.

For the libraries that do not show at all, do they have any of the library settings that would prevent them from showing up? Allow Adult Content is enabled or Library Visibility is set to Exclude Search? All metadata has been recently refreshed? If you are viewing content in one of these libraries that are not showing up, can you select a Person from the Cast & Crew section and land on the Credits Page?

This will also not address the issue with Editions. So let make sure that’s not a factor here too. Although you’ve reported before that Editions support is just as whacky (some Editions work and some do not) with regards to the Credits Pages.

@Commodore1581 If this issue is such a nuisance and a bother, then no. Wait for others to confirm. There are a couple other threads that I’m waiting for feedback from as well. As I mentioned before, I was recently able to reproduce the issue and the fix I quoted within this release resolved the issue for me. I was really hoping this was it.

thanks, i’ll hold off until other people comment or you get some more confirmations it works cause my issue is a little different than x1ao4

@Atomatth

Here are a few examples of my situation:

Ryan Gosling

Library 1: 电影
Agent: Plex Movie
Visibility: Include in home screen and global search
Include adult content: Off
Movies with Ryan Gosling: 7

Library 2: 云电影
Agent: Plex Movie
Visibility: Include in home screen and global search
Include adult content: Off
Movies with Ryan Gosling: 4

Library 3: 电影测试
Agent: Plex Movie
Visibility: Include in home screen and global search
Include adult content: Off
Movies with Ryan Gosling: 3

Ryan Gosling’s Credits Page: My library is not showing (Even after repeatedly accessing Ryan Gosling’s Credits Page, it does not show)

La La Land’s Discover Page: All 3 libraries with La La Land are showing (Library 1, Library 2, Library 3)

Jake Gyllenhaal

Library 1: 电影
Agent: Plex Movie
Visibility: Include in home screen and global search
Include adult content: Off
Movies with Jake Gyllenhaal: 8

Library 2: 云电影
Agent: Plex Movie
Visibility: Include in home screen and global search
Include adult content: Off
Movies with Jake Gyllenhaal: 7

Library 3: 电影测试
Agent: Plex Movie
Visibility: Include in home screen and global search
Include adult content: Off
Movies with Jake Gyllenhaal: 1

Jake Gyllenhaal’s Credits Page: Only Library 1 is showing (After repeatedly accessing, both Library 1 and Library 2 are displayed, but Library 3 still does not show)

Life’s Discover Page: All 2 libraries with Life are showing (Library 1, Library 3)

Emma Stone

Library 1: 电影
Agent: Plex Movie
Visibility: Include in home screen and global search
Include adult content: Off
Movies with Emma Stone: 9

Library 2: 云电影
Agent: Plex Movie
Visibility: Include in home screen and global search
Include adult content: Off
Movies with Emma Stone: 7

Library 3: 电影测试
Agent: Plex Movie
Visibility: Include in home screen and global search
Include adult content: Off
Movies with Emma Stone: 1

Library 4: 综艺
Agent: Plex Series
Visibility: Include in home screen and global search
Include adult content: Off
TV Shows with Emma Stone: 1

Emma Stone’s Credits Page: Only Library 1 and Library 4 are showing (Even after repeatedly accessing, only Library 1 and Library 4 are displayed)

La La Land’s Discover Page: All 3 libraries with La La Land are showing (Library 1, Library 2, Library 3)

As shown above, the Discover Pages for Movies and TV shows correctly display all libraries and list all my libraries as sources. However, the Credits Page often fails to display my libraries or shows them incompletely, with some libraries consistently not appearing.

Additionally, all my movies include Edition information, which is directly entered into the Edition field rather than being added through the filename. Even if I delete all Edition information, the issue persists, so I don’t believe it is related to the Edition.

Especially since the Discover Pages for Movies correctly identify these films and libraries, it’s only the Credits Page that has issues.

Yes, all items have been correctly matched and metadata has been refreshed. I can access the Credits Page for the cast through the cast avatar from any library’s movies, but in some cases, the Credits Page fails to display certain libraries.

I will send my Plex Media Server databases to you via private message. I previously sent them once, but it seems the data I provided did not help resolve the issue, as the problem still persists.

He was only providing the English dub of Calcifer in the movie. Plex does not list dubbing cast. It only lists the original cast, which is Japanese in every movie by Hayao Miyazaki.

How many total movies in each of those libraries?

Library 1: 1143
Library 2: 864
Library 3: 40
Library 4: 69

Can you upload the XML data for the same movie in each library?

Does the XML contain personal account information? I don’t know if I should share it with others.

Nothing personal besides your folder/filename.

Library 1.txt (163.1 KB)
Library 2.txt (131.4 KB)
Library 3.txt (146.1 KB)

Thanks, this partially confirms my theory.

One more thing. Can you show the entire advanced settings tab for each library?

Here are my findings. @Atomatth


The first issue was the actor credit page used to query the server for the entire filmography of the actor. For some actors this filmography can be huge and could overload some systems. This specific issue is fixed in Plex Web 4.134.2 and Plex for Desktop 1.97.2 which now chunks the filmography in batches of 10 items at a time.


The second issue is what I think is causing the missing libraries. The actor credits page queries the sever using the API endpoint /library/metadata/<guid>. This endpoint appears to be adapted from /library/metadata/<ratingKey> when Discover was introduced.

Rating keys are unique IDs and every item is assigned an ID in the server’s database. My theory is the server’s database query has something like a ORDER BY id LIMIT 1 in the query for the /library/metadata/<ratingKey> endpoint. This was fine for the original endpoint since there can only ever be one item associated to a rating key.

I think this LIMIT 1 has been carried over to the /library/metadata/<guid> endpoint. However, the GUID is not unique to a single item in the database and multiple items in different libraries can share the same GUID. This means the server will only return one item in the response even when there are multiple.

I have confirmed this by matching an item to the same movie in multiple libraries so they all share the same GUID. The /library/metadata/<guid> endpoint will always return a single item with the lowest rating key. This correlates with ORDER BY id LIMIT 1. The result of all this is that the actor credit page will only show one item from a single library, typically which ever library had the item added to first (lowest rating key).


@x1ao4 Based on the info you provided above, I would expect La La Land from library 3 to show up on Ryan Gosling’s credit page.

  • La La Land in Library 1 has an edition title so it is excluded.
  • La La Land in Library 2 has an edition title so it is excluded.
  • La La Land in Library 3 does not have an edition title.

Based on my theory above, the “LIMIT 1” response should return La La Land in Library 3.

But that is not the case. Ryan Gosling’s credit page does not show any of my libraries, while Emma Stone’s credit page shows Library 1. Meanwhile, the Discover Page for La La Land shows all three libraries.

Library 3 has never been displayed on any credit page; it does not appear on any actor’s credit page.