mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-31 03:11:07 +02: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
Binary file not shown.
@ -55,6 +55,14 @@ public virtual void UpdateMappings()
|
||||
|
||||
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 New Issue
Block a user