mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-23 08:15:27 +00:00
Don't try to update XEM mapping if there isn't one
Updated TVDBLib to prevent an issue with Banner Colours blowing everything up.
This commit is contained in:
parent
363ece3939
commit
1d860cbc1c
2 changed files with 8 additions and 0 deletions
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…
Reference in a new issue