Enable more warnings as errors (#11288)

This commit is contained in:
Bond-009
2024-04-13 01:45:01 +02:00
committed by GitHub
parent 134bf7a6a5
commit 7d28d08e08
9 changed files with 27 additions and 26 deletions

View File

@@ -35,7 +35,7 @@ namespace Emby.Server.Implementations.Library
item.Id = libraryManager.GetNewItemId(item.Path, item.GetType());
item.IsLocked = item.Path.IndexOf("[dontfetchmeta]", StringComparison.OrdinalIgnoreCase) != -1 ||
item.IsLocked = item.Path.Contains("[dontfetchmeta]", StringComparison.OrdinalIgnoreCase) ||
item.GetParents().Any(i => i.IsLocked);
// Make sure DateCreated and DateModified have values