Fixed #3599 and moved the collections button to a more suitable location

This commit is contained in:
tidusjar 2020-06-10 23:18:03 +01:00
parent 636de044ef
commit e1265046b5
3 changed files with 15 additions and 4 deletions

View file

@ -149,9 +149,19 @@ namespace Ombi.Core.Engine.V2
if (!string.IsNullOrEmpty(item.Images?.Medium))
{
item.Images.Medium = item.Images.Medium.Replace("http", "https");
item.Images.Medium = item.Images.Medium.Replace("http:", "https:");
}
if (item.Cast?.Any() ?? false)
{
foreach (var cast in item.Cast)
{
if (!string.IsNullOrEmpty(cast.Character?.Image?.Medium))
{
cast.Character.Image.Medium = cast.Character?.Image?.Medium.Replace("http:", "https:");
}
}
}
return await GetExtraInfo(showInfoTask, item);
}