mirror of
https://github.com/tubearchivist/tubearchivist-jf-plugin.git
synced 2026-03-23 20:37:14 +00:00
Labels
No labels
bug
enhancement
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tubearchivist/archived-tubearchivist-jf-plugin#75
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-jf-plugin/pull/62
Author: @mattkduran
Created: 10/17/2025
Status: ❌ Closed
Base:
master← Head:fix/playback-crash-issue-60📝 Commits (1)
e301a24Fix: Prevent crash when playing non-TubeArchivist media📊 Changes
1 file changed (+6 additions, -0 deletions)
View changed files
📝
Jellyfin.Plugin.TubeArchivistMetadata/Plugin.cs(+6 -0)📄 Description
Problem
The plugin crashes with
System.ArgumentException: Guid can't be empty (Parameter 'id')when users play movies or other non-TubeArchivist content.Root Cause
The
OnPlaybackProgressmethod inPlugin.cs(line 178) attempts to traverse the TV show hierarchy (Episode → Season → Series → Collection) for ALL media playback events, including movies. Since movies don't follow this hierarchy structure, callingGetItemById()on a movie's parent can result in empty GUIDs, causing an exception.Changes Made
Added a type check to immediately return if the item is not an Episode, before attempting any hierarchy traversal:
This ensures the plugin only processes TubeArchivist content (YouTube videos stored as TV Episodes) and safely ignores movies, music, and other media types.
Testing
Tested in Docker container with Jellyfin 10.10.7:
Before Fix
After Fix
(No errors - movie playback ignored as expected)
Fixes #60
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.