Merge pull request #6528 from oledfish/additional-episode-orders

pull/7448/head
Joshua M. Boniface 3 years ago committed by GitHub
commit 6e80c9b25f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -165,8 +165,13 @@ 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, "originalAirDate", StringComparison.Ordinal) ? TvGroupType.OriginalAirDate :
string.Equals(displayOrder, "absolute", StringComparison.Ordinal) ? TvGroupType.Absolute :
string.Equals(displayOrder, "dvd", StringComparison.Ordinal) ? TvGroupType.DVD :
string.Equals(displayOrder, "digital", StringComparison.Ordinal) ? TvGroupType.Digital :
string.Equals(displayOrder, "storyArc", StringComparison.Ordinal) ? TvGroupType.StoryArc :
string.Equals(displayOrder, "production", StringComparison.Ordinal) ? TvGroupType.Production :
string.Equals(displayOrder, "tv", StringComparison.Ordinal) ? TvGroupType.TV :
null;
if (groupType == null)

Loading…
Cancel
Save