From 02678253b90988e8ebcd3de3056404ffec76371e Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Wed, 5 Jun 2024 17:02:59 -0400 Subject: [PATCH] Backport pull request #11954 from jellyfin/release-10.9.z Do not delete file locations for virtual episodes and seasons Original-merge: 23b12513933dbb43c7e653a1166df48462ed034c Merged-by: crobibero Backported-by: Joshua M. Boniface --- MediaBrowser.Providers/TV/SeriesMetadataService.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/MediaBrowser.Providers/TV/SeriesMetadataService.cs b/MediaBrowser.Providers/TV/SeriesMetadataService.cs index 41c6bd8f20..2389bce577 100644 --- a/MediaBrowser.Providers/TV/SeriesMetadataService.cs +++ b/MediaBrowser.Providers/TV/SeriesMetadataService.cs @@ -119,7 +119,8 @@ namespace MediaBrowser.Providers.TV virtualSeason, new DeleteOptions { - DeleteFileLocation = true + // Internal metadata paths are removed regardless of this. + DeleteFileLocation = false }, false); } @@ -176,7 +177,8 @@ namespace MediaBrowser.Providers.TV episode, new DeleteOptions { - DeleteFileLocation = true + // Internal metadata paths are removed regardless of this. + DeleteFileLocation = false }, false); }