mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #12909] [MERGED] Don't try to prune images for virtual episodes. #13412
Reference in New Issue
Block a user
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/jellyfin/jellyfin/pull/12909
Author: @revam
Created: 10/29/2024
Status: ✅ Merged
Merged: 10/31/2024
Merged by: @crobibero
Base:
release-10.10.z← Head:fix-prune-episode-images📝 Commits (1)
b401943Don't try to prune images for virtual episodes.📊 Changes
2 files changed (+3 additions, -2 deletions)
View changed files
📝
CONTRIBUTORS.md(+1 -0)📝
MediaBrowser.Providers/Manager/ItemImageProvider.cs(+2 -2)📄 Description
Changes
Don't try to prune images for virtual episodes, since they don't have a containing folder path to look for metadata in. This was causing issues when attempting to refresh a library, series or episode with replace all and replace images enabled.
I also added myself to the contributors file since I've forgotten to do that in previous PRs.
Issues
Didn't make one, but it will prevent these kinds of stack traces from stopping a refresh or library scan when it tries to prune images for a virtual episode;
Example of it attempting to prune the images of a virtual episode right before it will throw the above error;

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.