mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-17 15:02:34 +02:00
Fixed: XBMC Metadata errors when no episode image was available
This commit is contained in:
parent
365898df45
commit
e0975b9004
@ -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 New Issue
Block a user