mirror of
https://github.com/tubearchivist/tubearchivist-plex.git
synced 2026-03-23 20:37:11 +00:00
[GH-ISSUE #110] [Installation Help]: Subtitles support #43
Labels
No labels
bug
bug
documentation
duplicate
enhancement
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tubearchivist/archived-tubearchivist-plex#43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bmcdonough on GitHub (Oct 18, 2025).
Original GitHub issue: https://github.com/tubearchivist/tubearchivist-plex/issues/110
Installation instructions
Operating System
Linux
Your installation or setup question
Does the support of subtitles require setting "Local Media Assets" to enable?
It works when I enable that feature.
I am starting to suspect it has to do with "language" value. I only obfuscated the video ID, the code is returning
'xx'.Should I continue to debug why it's not working without that setting?
Relevant log output
@bmcdonough commented on GitHub (Oct 21, 2025):
after a LOT of painful debugging within the PMS Framework library:
/usr/lib/plexmediaserver/Resources/Plug-ins-f737b826c/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/localization.pyThe issue is within the TubeArchivist-Agent use of the Framework
Locale.Language.Matchwhich expects a 2 character language. The subtitles I have from youtube are using 5 characters:en-USI added some logic to parse on the hyphen and pass the first 2 characters, which then works:
I will submit a pull request tomorrow with greater details.
@bmcdonough commented on GitHub (Oct 22, 2025):
I created a pull request to identify and handle subtitle languages with hyphens. Closing this issue as resolved.
Pull Request: https://github.com/tubearchivist/tubearchivist-plex/pull/111