From 86a5e72a65df638df2cde349ccd2ad8c5d40f88c Mon Sep 17 00:00:00 2001 From: oledfish <88390729+oledfish@users.noreply.github.com> Date: Tue, 7 Sep 2021 16:38:18 -0300 Subject: [PATCH] Add "Production" and "TV" episode orders. --- MediaBrowser.Providers/Plugins/Tmdb/TmdbClientManager.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MediaBrowser.Providers/Plugins/Tmdb/TmdbClientManager.cs b/MediaBrowser.Providers/Plugins/Tmdb/TmdbClientManager.cs index 4de4bf4db..e72af4a40 100644 --- a/MediaBrowser.Providers/Plugins/Tmdb/TmdbClientManager.cs +++ b/MediaBrowser.Providers/Plugins/Tmdb/TmdbClientManager.cs @@ -148,8 +148,10 @@ namespace MediaBrowser.Providers.Plugins.Tmdb private async Task GetSeriesGroupAsync(int tvShowId, string displayOrder, string language, string imageLanguages, CancellationToken cancellationToken) { TvGroupType? groupType = + string.Equals(displayOrder, "production", StringComparison.Ordinal) ? TvGroupType.Production : string.Equals(displayOrder, "absolute", StringComparison.Ordinal) ? TvGroupType.Absolute : string.Equals(displayOrder, "dvd", StringComparison.Ordinal) ? TvGroupType.DVD : + string.Equals(displayOrder, "tv", StringComparison.Ordinal) ? TvGroupType.TV : null; if (groupType == null)