mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-15 00:52:24 +00:00
Respect lock state when updating season 0 name
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user