Update BaseNfoParser to handle user defined IExternalIds

pull/1154/head
Darrell King 8 years ago
parent 4104bc4716
commit 27070bd43a

@ -964,7 +964,19 @@ namespace MediaBrowser.XbmcMetadata.Parsers
} }
default: default:
reader.Skip(); var providerId = reader.Name;
if (_validProviderIds.ContainsKey(providerId))
{
var id = reader.ReadElementContentAsString();
if (!string.IsNullOrWhiteSpace(id))
{
item.SetProviderId(_validProviderIds[providerId], id);
}
}
else
{
reader.Skip();
}
break; break;
} }
} }

Loading…
Cancel
Save