Skip to content

Commit

Permalink
fix: add extra type for 'talk show'
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Nov 5, 2024
1 parent eed069f commit 751a12a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Shokofin/Utils/Ordering.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,16 +252,18 @@ public static int GetSeasonNumber(ShowInfo showInfo, SeasonInfo seasonInfo, Epis
)
return ExtraType.Clip;
// Behind the Scenes
if (title.Contains("behind the scenes", System.StringComparison.CurrentCultureIgnoreCase))
if (title.Contains("behind the scenes", System.StringComparison.OrdinalIgnoreCase))
return ExtraType.BehindTheScenes;
if (title.Contains("making of", System.StringComparison.CurrentCultureIgnoreCase))
if (title.Contains("making of", System.StringComparison.OrdinalIgnoreCase))
return ExtraType.BehindTheScenes;
if (title.Contains("music in", System.StringComparison.CurrentCultureIgnoreCase))
if (title.Contains("music in", System.StringComparison.OrdinalIgnoreCase))
return ExtraType.BehindTheScenes;
if (title.Contains("advance screening", System.StringComparison.CurrentCultureIgnoreCase))
if (title.Contains("advance screening", System.StringComparison.OrdinalIgnoreCase))
return ExtraType.BehindTheScenes;
if (title.Contains("premiere", System.StringComparison.CurrentCultureIgnoreCase))
if (title.Contains("premiere", System.StringComparison.OrdinalIgnoreCase))
return ExtraType.BehindTheScenes;
if (title.Contains("talk show", System.StringComparison.OrdinalIgnoreCase))
return ExtraType.Featurette;
return null;
}
default:
Expand Down

0 comments on commit 751a12a

Please sign in to comment.