Update collection id in xml reader and saver
This commit is contained in:
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…
Reference in New Issue
Block a user