diff --git a/MediaBrowser.Providers/Savers/SeriesXmlSaver.cs b/MediaBrowser.Providers/Savers/SeriesXmlSaver.cs index e8ecea38b..4e2f538c7 100644 --- a/MediaBrowser.Providers/Savers/SeriesXmlSaver.cs +++ b/MediaBrowser.Providers/Savers/SeriesXmlSaver.cs @@ -94,6 +94,11 @@ namespace MediaBrowser.Providers.Savers } } + if (series.PremiereDate.HasValue) + { + builder.Append("" + SecurityElement.Escape(series.PremiereDate.Value.ToString("yyyy-MM-dd")) + ""); + } + XmlSaverHelpers.AddCommonNodes(item, builder); builder.Append(""); @@ -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 diff --git a/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs b/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs index fee3aa4fd..455d579cc 100644 --- a/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs +++ b/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs @@ -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(""); + + builder.Append("" + SecurityElement.Escape(string.Join("|", item.Genres.ToArray())) + ""); } if (item.Studios.Count > 0)