mirror of
https://github.com/Readarr/Readarr.git
synced 2026-03-29 18:14:28 -04:00
Fixed: XBMC Metadata errors when no episode image was available
This commit is contained in:
@@ -303,7 +303,7 @@ namespace NzbDrone.Core.Metadata.Consumers.Xbmc
|
||||
if (screenshot == null)
|
||||
{
|
||||
_logger.Debug("Episode screenshot not available");
|
||||
return null;
|
||||
return new List<ImageFileResult>();
|
||||
}
|
||||
|
||||
return new List<ImageFileResult>
|
||||
@@ -341,8 +341,6 @@ namespace NzbDrone.Core.Metadata.Consumers.Xbmc
|
||||
filename = String.Format("season-specials-{0}.jpg", image.CoverType.ToString().ToLower());
|
||||
}
|
||||
|
||||
var path = Path.Combine(series.Path, filename);
|
||||
|
||||
yield return new ImageFileResult(Path.Combine(series.Path, filename), image.Url);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user