mirror of
https://github.com/lidarr/Lidarr
synced 2025-03-03 18:15:37 +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 @@ public virtual void UpdateMappings()
|
||||||
|
|
||||||
public virtual void UpdateMappings(int seriesId)
|
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);
|
var series = _seriesProvider.GetSeries(seriesId);
|
||||||
|
|
||||||
if (series == null)
|
if (series == null)
|
||||||
|
|
Loading…
Reference in a new issue