|
|
@ -307,8 +307,7 @@ namespace MediaBrowser.Providers.Music
|
|
|
|
{
|
|
|
|
{
|
|
|
|
case "release":
|
|
|
|
case "release":
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//var releaseId = reader.GetAttribute("id");
|
|
|
|
var releaseId = reader.GetAttribute("id");
|
|
|
|
string releaseId = null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
using (var subReader = reader.ReadSubtree())
|
|
|
|
using (var subReader = reader.ReadSubtree())
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -375,31 +374,16 @@ namespace MediaBrowser.Providers.Music
|
|
|
|
case "release-group":
|
|
|
|
case "release-group":
|
|
|
|
{
|
|
|
|
{
|
|
|
|
result.ReleaseGroupId = reader.GetAttribute("id");
|
|
|
|
result.ReleaseGroupId = reader.GetAttribute("id");
|
|
|
|
//explicitly consume these to avoid grabbing data from child nodes
|
|
|
|
|
|
|
|
//reader.Skip();
|
|
|
|
|
|
|
|
using (var subtree = reader.ReadSubtree())
|
|
|
|
using (var subtree = reader.ReadSubtree())
|
|
|
|
{
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//explicitly consume these to avoid grabbing data from child nodes
|
|
|
|
|
|
|
|
//case "text-representation":
|
|
|
|
|
|
|
|
//case "artist-credit":
|
|
|
|
|
|
|
|
//case "medium-list":
|
|
|
|
|
|
|
|
//case "tag-list":
|
|
|
|
|
|
|
|
//case "label-info-list":
|
|
|
|
|
|
|
|
//case "release-event-list":
|
|
|
|
|
|
|
|
// {
|
|
|
|
|
|
|
|
// using (var subtree = reader.ReadSubtree())
|
|
|
|
|
|
|
|
// {
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// break;
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
{
|
|
|
|
{
|
|
|
|
reader.Skip();
|
|
|
|
reader.Skip();
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|