From 318b2a26de07c47d61ec12682a3698b7f568ba4e Mon Sep 17 00:00:00 2001 From: Mikal Stordal Date: Tue, 17 Dec 2024 00:38:00 +0100 Subject: [PATCH] fix: inverse reversed boolean logic --- Shokofin/Utils/Text.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shokofin/Utils/Text.cs b/Shokofin/Utils/Text.cs index a0cb7df..f41b58f 100644 --- a/Shokofin/Utils/Text.cs +++ b/Shokofin/Utils/Text.cs @@ -314,7 +314,7 @@ private static TitleProvider[] GetOrderedTitleProvidersByType(TitleProviderType }; private static string? GetMovieTitleByType(EpisodeInfo episodeInfo, SeasonInfo seasonInfo, TitleProviderType type, string? metadataLanguage) { - if (episodeInfo.Id[0] is not IdPrefix.TmdbMovie) + if (episodeInfo.Id[0] is IdPrefix.TmdbMovie) return GetEpisodeTitleByType(episodeInfo, seasonInfo, type, metadataLanguage); var mainTitle = GetSeriesTitleByType(seasonInfo, type, metadataLanguage);