More changes to add Torrents automatically; Modified cache to 8 days; Modified season finale lookups for edge case
This commit is contained in:
@@ -65,6 +65,10 @@ public class IndexModel : PageModel
|
||||
_logger.LogWarning(ex, "Failed to retrieve Anilist cache item for title: {Title}", airingItem.Title);
|
||||
}
|
||||
|
||||
// With no details from either source there is nothing worth displaying.
|
||||
if (cacheItem == null && anilistItem == null)
|
||||
continue;
|
||||
|
||||
viewModels.Add(new AiringShowViewModel
|
||||
{
|
||||
AiringSoon = airingItem,
|
||||
|
||||
Reference in New Issue
Block a user