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; break;
case "CollectionNumber": case "BelongsToCollection":
var tmdbCollection = reader.ReadElementContentAsString(); var tmdbCollection = reader.ReadElementContentAsString();
if (!string.IsNullOrWhiteSpace(tmdbCollection)) if (!string.IsNullOrWhiteSpace(tmdbCollection))
{ {

@ -67,7 +67,7 @@ namespace MediaBrowser.Providers.Savers
"TVcomId", "TVcomId",
"RottenTomatoesId", "RottenTomatoesId",
"MusicbrainzId", "MusicbrainzId",
"CollectionNumber", "BelongsToCollection",
"Genres", "Genres",
"Genre", "Genre",
"Studios", "Studios",
@ -343,7 +343,7 @@ namespace MediaBrowser.Providers.Savers
if (!string.IsNullOrEmpty(tmdbCollection)) if (!string.IsNullOrEmpty(tmdbCollection))
{ {
builder.Append("<CollectionNumber>" + SecurityElement.Escape(tmdbCollection) + "</CollectionNumber>"); builder.Append("<BelongsToCollection>" + SecurityElement.Escape(tmdbCollection) + "</BelongsToCollection>");
} }
if (item.Taglines.Count > 0) if (item.Taglines.Count > 0)

Loading…
Cancel
Save