added audio db id's to xml
This commit is contained in:
parent
a29cd06883
commit
eaf1d39089
|
@ -737,6 +737,15 @@ namespace MediaBrowser.Controller.Providers
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case "AudioDbAlbumId":
|
||||||
|
{
|
||||||
|
var id = reader.ReadElementContentAsString();
|
||||||
|
if (!string.IsNullOrWhiteSpace(id))
|
||||||
|
{
|
||||||
|
item.SetProviderId(MetadataProviders.AudioDbAlbum, id);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case "RottenTomatoesId":
|
case "RottenTomatoesId":
|
||||||
var rtId = reader.ReadElementContentAsString();
|
var rtId = reader.ReadElementContentAsString();
|
||||||
if (!string.IsNullOrWhiteSpace(rtId))
|
if (!string.IsNullOrWhiteSpace(rtId))
|
||||||
|
|
|
@ -466,6 +466,13 @@ namespace MediaBrowser.Providers.Savers
|
||||||
builder.Append("<AudioDbArtistId>" + SecurityElement.Escape(externalId) + "</AudioDbArtistId>");
|
builder.Append("<AudioDbArtistId>" + SecurityElement.Escape(externalId) + "</AudioDbArtistId>");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
externalId = item.GetProviderId(MetadataProviders.AudioDbAlbum);
|
||||||
|
|
||||||
|
if (!string.IsNullOrEmpty(externalId))
|
||||||
|
{
|
||||||
|
builder.Append("<AudioDbAlbumId>" + SecurityElement.Escape(externalId) + "</AudioDbAlbumId>");
|
||||||
|
}
|
||||||
|
|
||||||
externalId = item.GetProviderId(MetadataProviders.TvRage);
|
externalId = item.GetProviderId(MetadataProviders.TvRage);
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(externalId))
|
if (!string.IsNullOrEmpty(externalId))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user