Don't try to update XEM mapping if there isn't one

Updated TVDBLib to prevent an issue with Banner Colours blowing
everything up.
pull/4/head
Mark McDowall 12 years ago
parent 363ece3939
commit 1d860cbc1c

Binary file not shown.

@ -55,6 +55,14 @@ namespace NzbDrone.Core.Providers
public virtual void UpdateMappings(int seriesId)
{
var xemIds = _xemCommunicationProvider.GetXemSeriesIds();
if (!xemIds.Contains(seriesId))
{
_logger.Trace("Xem doesn't have a mapping for this series: {0}", seriesId);
return;
}
var series = _seriesProvider.GetSeries(seriesId);
if (series == null)

Loading…
Cancel
Save