diff options
| author | oledfish <88390729+oledfish@users.noreply.github.com> | 2021-09-07 16:38:18 -0300 |
|---|---|---|
| committer | oledfish <88390729+oledfish@users.noreply.github.com> | 2021-09-07 16:38:18 -0300 |
| commit | 86a5e72a65df638df2cde349ccd2ad8c5d40f88c (patch) | |
| tree | 21e983cea2ed12d3159fff9bb7bb0336583c391d | |
| parent | c794e48562e209a93886a91a7d99380462350194 (diff) | |
Add "Production" and "TV" episode orders.
| -rw-r--r-- | MediaBrowser.Providers/Plugins/Tmdb/TmdbClientManager.cs | 2 |
1 files changed, 2 insertions, 0 deletions
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<TvGroupCollection> 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) |
