@page @model IndexModel @{ ViewData["Title"] = "Airing Soon Anime"; }

๐Ÿ—“๏ธ Airing Soon Anime @(Model.AiringShows == null ? "No data" : (Model.AiringShows.Count + (Model.AiringShows.Count == 1 ? " show" : " shows")))

Anime with an upcoming or recent latest episode, drawn from the TMDB and AniList caches. Sorted by air date (soonest first).

@if (!string.IsNullOrEmpty(Model.ErrorMessage)) { } @if (Model.AiringShows == null || Model.AiringShows.Count == 0) {
๐Ÿ“บ

No airing soon shows found

The Redis cache either returned no entries or the airing soon list is empty.

} else {
@foreach (var show in Model.AiringShows) {
@if (!string.IsNullOrWhiteSpace(show.HeroImageUrl)) { }
@if (!string.IsNullOrWhiteSpace(show.PosterUrl)) { @show.Title poster } else {
๐Ÿ—‚๏ธ
} @if (show.LatestSeasonNumber.HasValue && show.LatestSeasonNumber > 0) { Season @show.LatestSeasonNumber }

@show.Title

@if (show.AlternateTitles.Count > 0) {

@string.Join(" ยท ", show.AlternateTitles)

}
@if (show.VoteAverage.HasValue && show.VoteAverage > 0) { @string.Format("{0:0.0}", show.VoteAverage) TMDB } @if (show.AnilistScore.HasValue && show.AnilistScore > 0) { @string.Format("{0:0.0}", show.AnilistScore) AniList }
@if (show.LatestEpisodeNumber > 0) { @if (show.TotalEpisodes.HasValue && show.TotalEpisodes > 0) { Episode @show.LatestEpisodeNumber of @show.TotalEpisodes } else { Episode @show.LatestEpisodeNumber } } @if (show.LatestOrdinalEpisodeNumber.HasValue && show.LatestOrdinalEpisodeNumber > 0) { @show.LatestOrdinalEpisodeNumber episodes overall } @if (!string.IsNullOrWhiteSpace(show.AnilistStatus)) { @show.AnilistStatus } @if (show.SeasonYear.HasValue) { @show.SeasonYear } @if (show.IsFinaleNext && show.IsFuture) { ๐Ÿ Season finale }
@if (show.Genres.Count > 0 || show.Tags.Count > 0) {
@foreach (var genre in show.Genres) { @genre } @foreach (var tag in show.VisibleTags) { #@tag } @if (show.OverflowTags.Count > 0) {
+@show.OverflowTags.Count more @foreach (var tag in show.OverflowTags) { #@tag }
}
} @if (show.EpisodeProgressPercent.HasValue) {
} @if (!string.IsNullOrWhiteSpace(show.Overview)) {

@if (show.OverviewIsSeasonSpecific && show.LatestSeasonNumber > 0) { Season @show.LatestSeasonNumber โ€” } @show.Overview

} else {

No overview available.

}
TMDB @if (!string.IsNullOrWhiteSpace(show.AnilistUrl)) { AniList } @if (show.Download) { โœ“ Marked for download } else {
} @if (show.SecondaryImages.Count > 0) { }
}
}