Use TMDbCollectionId instead

This commit is contained in:
Eric Reed 2013-08-19 16:00:23 -04:00
parent 426bf48c7a
commit eec92175f9
2 changed files with 3 additions and 3 deletions

View File

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

View File

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