-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow overriding the includeRelated parameter for the item metadata endpoint #26
Comments
I'm also seeing this issue and am happy to provide a test server if required. I can send an invite to my current server and run any tests needed or can deploy a duplicate container that you're free to work on. |
Alright added an option I put an 5 second timeout on the media related call. (so that if related works it will still show up under a media item in the UI' and disabled includeRelated on
let me know |
Would it be possible to add some intelligence to this? Something like this:
|
I could also add a timeout check to the include parameter yes. Would like to know if the current functionality works tho before committing more time Fyi the initial functionality has been merged into main and released |
Will let @Quick104 test and report since this seems to happen more frequently for a few users and not for others (considering the relatively few users in the linked plex threads). It happened to me too a few months ago but I haven't been able to reproduce the issue recently. |
May also be a good idea to post on the linked thread (https://forums.plex.tv/t/plex-movie-issue-cpu-death-spiral/828916) and let anyone facing the issue try it out too. |
Awesome, that was fast! The current functionality works as expected. Playback and "View XML" both load instantly and the related content times out after 5 seconds for effected items. |
Allright then in gonna close this issue. It’s fine for the moment. If the need arises then a new issue can be created |
Following the discussion from #24 (comment).
Sometimes, plex can have corrupt metadata for related items which results in the default item metadata API, with
includeRelated=1
, to take a long time or fail altogether. Since the plex clients call this metadata API before starting playback, any error here results in playback failing too. And if playback of the same item is attempted multiple times, it can cause the Plex CPU usage to shoot up and result in everything failing.Forum References:
https://forums.plex.tv/t/view-xml-and-playback-of-certain-items-makes-plex-unresponsive-includerelated-1/830514
https://forums.plex.tv/t/plex-movie-issue-cpu-death-spiral/828916
Trying to override the parameter from Nginx or HAProxy has caused other issues, presumably because it results in the the
Related
section of the response being missing altogether rather than simply being empty.The text was updated successfully, but these errors were encountered: