Respect lock state when updating season 0 name
This commit is contained in:
parent
c6a1dcf420
commit
3eb4bbbb86
|
@ -35,7 +35,7 @@ namespace MediaBrowser.Providers.TV
|
|||
{
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user