Skip to content
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

Plex - Add proxy configuration for library streams #757

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gianmarco-mameli
Copy link

linuxserver.io


  • I have read the contributing guideline and understand that I have made the correct modifications

Description

Hi, I'm experiencing a problem in Plex with Auto Proxy mod behind Swag, in some version of the plex app and via web, the subtitles are not displayed even if correctly active on the player; specifically the subtitles are external in SRT format.
I've found a post on the Plex forum describing the solution (link on Source/References), and I've tested it successfully including the fix in the Plex proxy configuration sample.
For reference before the fix in the error.log on nginx inside SWAG you can find error like this:

2025/03/20 14:43:57 [error] 1348#1348: *75271 upstream sent duplicate header line: 
"Content-Length: 57218", previous value: "Content-Length: 57218" while reading response header from upstream, 
client: x.x.x.x, server: plex.*, request: "GET /library/streams/1407?X-Plex-Token=xxxxxxxxxxxxxxxxxx&encoding=utf-8 
HTTP/1.1", upstream: "http://x.x.x.x:32400/library/streams/1407?X-Plex-Token=xxxxxxxxxxxxxxx&encoding=utf-8", host: 
"plex.domain.io"

Benefits of this PR and context

In Plex you can finally use and see external SRT subtitles on Plex App versions like Linux or Web

How Has This Been Tested?

Used SWAG with Auto-Proxy mod and modified the plex.subdomain.conf.sample with the new location /library/streams/; Played some movies with external SRT subtitles in Plex for Linux and via web, the subtitles now are working correctly, no more errors on nginx

Source / References

https://forums.plex.tv/t/external-srt-subtitles-are-not-working/886540/29

@gianmarco-mameli gianmarco-mameli changed the title Add proxy configuration for Plex library streams Plex - Add proxy configuration for library streams Mar 20, 2025
@gianmarco-mameli
Copy link
Author

Hi, any news on this PR? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant