update playlist xml saving

This commit is contained in:
Luke Pulverenti
2014-08-04 23:41:56 -04:00
parent 2714127d2b
commit c5319bb4ae
77 changed files with 1768 additions and 1002 deletions

View File

@@ -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;
}
}

View File

@@ -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
};
}
}