mirror of
https://github.com/lidarr/Lidarr
synced 2025-01-30 02:41:45 +00:00
Fixed: XBMC Metadata errors when no episode image was available
This commit is contained in:
parent
365898df45
commit
e0975b9004
1 changed files with 1 additions and 3 deletions
|
@ -303,7 +303,7 @@ public override List<ImageFileResult> EpisodeImages(Series series, EpisodeFile e
|
|||
if (screenshot == null)
|
||||
{
|
||||
_logger.Debug("Episode screenshot not available");
|
||||
return null;
|
||||
return new List<ImageFileResult>();
|
||||
}
|
||||
|
||||
return new List<ImageFileResult>
|
||||
|
@ -341,8 +341,6 @@ private IEnumerable<ImageFileResult> ProcessSeasonImages(Series series, Season s
|
|||
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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue