save series first air date in xml

pull/702/head
Luke Pulverenti 12 years ago
parent 9fbb196464
commit b7f927d43a

@ -94,6 +94,11 @@ namespace MediaBrowser.Providers.Savers
}
}
if (series.PremiereDate.HasValue)
{
builder.Append("<FirstAired>" + SecurityElement.Escape(series.PremiereDate.Value.ToString("yyyy-MM-dd")) + "</FirstAired>");
}
XmlSaverHelpers.AddCommonNodes(item, builder);
builder.Append("</Series>");
@ -107,7 +112,8 @@ namespace MediaBrowser.Providers.Savers
"Status",
"Network",
"Airs_Time",
"Airs_DayOfWeek"
"Airs_DayOfWeek",
"FirstAired"
});
// Set last refreshed so that the provider doesn't trigger after the file save

@ -68,6 +68,7 @@ namespace MediaBrowser.Providers.Savers
"MusicbrainzId",
"CollectionNumber",
"Genres",
"Genre",
"Studios",
"Tags",
"Added",
@ -367,6 +368,8 @@ namespace MediaBrowser.Providers.Savers
}
builder.Append("</Genres>");
builder.Append("<Genre>" + SecurityElement.Escape(string.Join("|", item.Genres.ToArray())) + "</Genre>");
}
if (item.Studios.Count > 0)

Loading…
Cancel
Save