From afe4899fcd21f8b4cc82d5aefc407823f2b6b738 Mon Sep 17 00:00:00 2001 From: Mikal Stordal Date: Fri, 15 Nov 2024 02:17:22 +0100 Subject: [PATCH] fix: fix episode type masking Fix the episode type masking i just broke in the last commit. --- Shokofin/API/Info/SeasonInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shokofin/API/Info/SeasonInfo.cs b/Shokofin/API/Info/SeasonInfo.cs index f84eb45..61f2489 100644 --- a/Shokofin/API/Info/SeasonInfo.cs +++ b/Shokofin/API/Info/SeasonInfo.cs @@ -159,7 +159,7 @@ public SeasonInfo( if (episode.Shoko.IsHidden) continue; var seriesConfiguration = seriesConfigurationMap[episode.Shoko.IDs.ParentSeries.ToString()]; - var episodeType = seriesConfiguration.EpisodesAsSpecials ? EpisodeType.Special : episode.AniDB.Type; + var episodeType = episode.AniDB.Type is EpisodeType.Normal && seriesConfiguration.EpisodesAsSpecials ? EpisodeType.Special : episode.AniDB.Type; switch (episodeType) { case EpisodeType.Normal: episodesList.Add(episode);