mirror of
https://github.com/tubearchivist/tubearchivist-plex.git
synced 2026-03-23 20:37:11 +00:00
[PR #114] Fix episode thumbnails returning invalid URI on Windows #115
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#115
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?
📋 Pull Request Information
Original PR: https://github.com/tubearchivist/tubearchivist-plex/pull/114
Author: @tayloramurphy
Created: 2/1/2026
Status: 🔄 Open
Base:
main← Head:fix/windows-thumbnail-uri📝 Commits (1)
262cd58Fix episode thumbnails returning invalid URI on Windows📊 Changes
2 files changed (+7 additions, -10 deletions)
View changed files
📝
Contents/Code/__init__.py(+1 -1)📝
Scanners/Series/TubeArchivist Series Scanner.py(+6 -9)📄 Description
Fixes #98
The Plex Photo Transcoder on Windows fails with
GetPathFromUri: invalid uriwhen resolving episode thumbnail paths. The issue is that the internal metadata path ends up too long — the episode number format combined with the agent identifier creates paths right at the edge of what Plex can handle.The scanner was stripping only the century from the episode date (
episode[2:]), which left 8-digit episode numbers for anything 2010 and later. Since the year is already stored in the season, this changes it to strip the full year (episode[4:]), bringing episode numbers down to 6 digits and keeping paths short enough for the Photo Transcoder to resolve.The
released_atdate is now computed from the original date string directly instead of being reconstructed from the shortened episode number.Also fixes a pre-existing mismatch where
CachePathin the agent used a hyphen (tubearchivist-agent) instead of matching the actualCFBundleIdentifierunderscore (tubearchivist_agent).Note: This is a breaking change — existing libraries will need a full rescan.
I ran this on Windows 11, version 24H2. Plex Version 1.112.0.359-0d79a49f
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.