Backport pull request #11954 from jellyfin/release-10.9.z

Do not delete file locations for virtual episodes and seasons

Original-merge: 23b1251393

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
Shadowghost 2024-06-05 17:02:59 -04:00 committed by Joshua M. Boniface
parent aeb0aded91
commit 02678253b9

View file

@ -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);
}