From 426bf48c7a0044b37c0283f50932f63dd48c6304 Mon Sep 17 00:00:00 2001 From: Eric Reed Date: Mon, 19 Aug 2013 15:52:03 -0400 Subject: [PATCH] Update collection id in xml reader and saver --- MediaBrowser.Controller/Providers/BaseItemXmlParser.cs | 2 +- MediaBrowser.Providers/Savers/XmlSaverHelpers.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MediaBrowser.Controller/Providers/BaseItemXmlParser.cs b/MediaBrowser.Controller/Providers/BaseItemXmlParser.cs index 0084fe96c..e9d3306b2 100644 --- a/MediaBrowser.Controller/Providers/BaseItemXmlParser.cs +++ b/MediaBrowser.Controller/Providers/BaseItemXmlParser.cs @@ -571,7 +571,7 @@ namespace MediaBrowser.Controller.Providers } break; - case "CollectionNumber": + case "BelongsToCollection": var tmdbCollection = reader.ReadElementContentAsString(); if (!string.IsNullOrWhiteSpace(tmdbCollection)) { diff --git a/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs b/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs index 07f4da342..d8f43a36a 100644 --- a/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs +++ b/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs @@ -67,7 +67,7 @@ namespace MediaBrowser.Providers.Savers "TVcomId", "RottenTomatoesId", "MusicbrainzId", - "CollectionNumber", + "BelongsToCollection", "Genres", "Genre", "Studios", @@ -343,7 +343,7 @@ namespace MediaBrowser.Providers.Savers if (!string.IsNullOrEmpty(tmdbCollection)) { - builder.Append("" + SecurityElement.Escape(tmdbCollection) + ""); + builder.Append("" + SecurityElement.Escape(tmdbCollection) + ""); } if (item.Taglines.Count > 0)