Skip to content
This repository was archived by the owner on Apr 12, 2025. It is now read-only.
This repository was archived by the owner on Apr 12, 2025. It is now read-only.

Allow overriding the includeRelated parameter for the item metadata endpoint #26

@darthShadow

Description

@darthShadow

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions