Merge pull request #7105 from 1337joe/specials-folder-lock

This commit is contained in:
Joshua M. Boniface 2022-01-04 18:16:57 -05:00 committed by GitHub
commit 4da240d731
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ namespace MediaBrowser.Providers.TV
{ {
var updatedType = base.BeforeSaveInternal(item, isFullRefresh, updateType); var updatedType = base.BeforeSaveInternal(item, isFullRefresh, updateType);
if (item.IndexNumber.HasValue && item.IndexNumber.Value == 0) if (item.IndexNumber == 0 && !item.IsLocked && !item.LockedFields.Contains(MetadataField.Name))
{ {
var seasonZeroDisplayName = LibraryManager.GetLibraryOptions(item).SeasonZeroDisplayName; var seasonZeroDisplayName = LibraryManager.GetLibraryOptions(item).SeasonZeroDisplayName;