diff --git a/MediaBrowser.Controller/Providers/BaseItemXmlParser.cs b/MediaBrowser.Controller/Providers/BaseItemXmlParser.cs
index 3c9a56010..59b7cd8db 100644
--- a/MediaBrowser.Controller/Providers/BaseItemXmlParser.cs
+++ b/MediaBrowser.Controller/Providers/BaseItemXmlParser.cs
@@ -737,6 +737,15 @@ namespace MediaBrowser.Controller.Providers
}
break;
}
+ case "AudioDbAlbumId":
+ {
+ var id = reader.ReadElementContentAsString();
+ if (!string.IsNullOrWhiteSpace(id))
+ {
+ item.SetProviderId(MetadataProviders.AudioDbAlbum, id);
+ }
+ break;
+ }
case "RottenTomatoesId":
var rtId = reader.ReadElementContentAsString();
if (!string.IsNullOrWhiteSpace(rtId))
diff --git a/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs b/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs
index 1d92b86e9..6a3d7d837 100644
--- a/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs
+++ b/MediaBrowser.Providers/Savers/XmlSaverHelpers.cs
@@ -466,6 +466,13 @@ namespace MediaBrowser.Providers.Savers
builder.Append("" + SecurityElement.Escape(externalId) + "");
}
+ externalId = item.GetProviderId(MetadataProviders.AudioDbAlbum);
+
+ if (!string.IsNullOrEmpty(externalId))
+ {
+ builder.Append("" + SecurityElement.Escape(externalId) + "");
+ }
+
externalId = item.GetProviderId(MetadataProviders.TvRage);
if (!string.IsNullOrEmpty(externalId))