Update collection id in xml reader and saver

pull/702/head
Eric Reed 11 years ago
parent 50bb545b53
commit 426bf48c7a

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

@ -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)

Loading…
Cancel
Save