mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 17:44:43 +01:00
update playlist xml saving
This commit is contained in:
@@ -1045,13 +1045,6 @@ namespace MediaBrowser.Controller.Entities
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (info.ItemIndexNumber.HasValue)
|
||||
{
|
||||
if (info.ItemIndexNumber.Value != (i.IndexNumber ?? -1))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,6 @@ namespace MediaBrowser.Controller.Entities
|
||||
public string ItemName { get; set; }
|
||||
public string ItemType { get; set; }
|
||||
public int? ItemYear { get; set; }
|
||||
public int? ItemIndexNumber { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Serves as a cache
|
||||
@@ -24,11 +23,8 @@ namespace MediaBrowser.Controller.Entities
|
||||
{
|
||||
return new LinkedChild
|
||||
{
|
||||
ItemName = item.Name,
|
||||
ItemYear = item.ProductionYear,
|
||||
ItemType = item.GetType().Name,
|
||||
Type = LinkedChildType.Manual,
|
||||
ItemIndexNumber = item.IndexNumber
|
||||
Path = item.Path,
|
||||
Type = LinkedChildType.Manual
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user