Update collection id in xml reader and saver

This commit is contained in:
Eric Reed 2013-08-19 15:52:03 -04:00
parent 50bb545b53
commit 426bf48c7a
2 changed files with 3 additions and 3 deletions

View File

@ -571,7 +571,7 @@ namespace MediaBrowser.Controller.Providers
}
break;
case "CollectionNumber":
case "BelongsToCollection":
var tmdbCollection = reader.ReadElementContentAsString();
if (!string.IsNullOrWhiteSpace(tmdbCollection))
{

View File

@ -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("<CollectionNumber>" + SecurityElement.Escape(tmdbCollection) + "</CollectionNumber>");
builder.Append("<BelongsToCollection>" + SecurityElement.Escape(tmdbCollection) + "</BelongsToCollection>");
}
if (item.Taglines.Count > 0)