update Music/MusicBrainzAlbumProvider.cs
This commit is contained in:
parent
31c8c3bf7f
commit
0c663a99dc
|
@ -307,8 +307,7 @@ namespace MediaBrowser.Providers.Music
|
|||
{
|
||||
case "release":
|
||||
{
|
||||
//var releaseId = reader.GetAttribute("id");
|
||||
string releaseId = null;
|
||||
var releaseId = reader.GetAttribute("id");
|
||||
|
||||
using (var subReader = reader.ReadSubtree())
|
||||
{
|
||||
|
@ -375,26 +374,11 @@ namespace MediaBrowser.Providers.Music
|
|||
case "release-group":
|
||||
{
|
||||
result.ReleaseGroupId = reader.GetAttribute("id");
|
||||
//explicitly consume these to avoid grabbing data from child nodes
|
||||
//reader.Skip();
|
||||
using (var subtree = reader.ReadSubtree())
|
||||
{
|
||||
}
|
||||
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:
|
||||
{
|
||||
reader.Skip();
|
||||
|
|
Loading…
Reference in New Issue
Block a user