Skip to content

Commit

Permalink
Add support for regional, alternate, altdvd orders (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
scampower3 authored May 17, 2024
1 parent b8bba81 commit 236d28e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Jellyfin.Plugin.Tvdb/TvdbClientManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,9 @@ public async Task<IReadOnlyList<ArtworkType>> GetArtworkTypeAsync(CancellationTo
{
switch (searchInfo.SeriesDisplayOrder)
{
case "regional":
case "alternate":
case "altdvd":
case "dvd":
episodeNumber = searchInfo.IndexNumber.Value;
seasonNumber = searchInfo.ParentIndexNumber.Value;
Expand Down Expand Up @@ -493,6 +496,9 @@ public async Task<IReadOnlyList<ArtworkType>> GetArtworkTypeAsync(CancellationTo
{
switch (searchInfo.SeriesDisplayOrder)
{
case "regional":
case "alternate":
case "altdvd":
case "dvd":
case "absolute":
seriesResponse = await seriesClient.GetSeriesEpisodesAsync(page: 0, id: seriesTvdbId, season_type: searchInfo.SeriesDisplayOrder, season: seasonNumber, episodeNumber: episodeNumber, airDate: airDate, cancellationToken: cancellationToken).ConfigureAwait(false);
Expand Down

0 comments on commit 236d28e

Please sign in to comment.