Browse Source

Do not delete file locations for virtual episodes and seasons (#11954)

Tim Eisele 1 year ago
parent
commit
23b1251393
1 changed files with 4 additions and 2 deletions
  1. 4 2
      MediaBrowser.Providers/TV/SeriesMetadataService.cs

+ 4 - 2
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);
         }