diff --git a/Jellyfin.Plugin.Tvdb/TvdbClientManager.cs b/Jellyfin.Plugin.Tvdb/TvdbClientManager.cs index f3b0370..4ae0cc6 100644 --- a/Jellyfin.Plugin.Tvdb/TvdbClientManager.cs +++ b/Jellyfin.Plugin.Tvdb/TvdbClientManager.cs @@ -287,7 +287,16 @@ public Task> GetEpisodesPageAsync( episodeQuery.DvdSeason = searchInfo.ParentIndexNumber.Value; break; case "absolute": - episodeQuery.AbsoluteNumber = searchInfo.IndexNumber.Value; + if (searchInfo.ParentIndexNumber.Value == 0) + { + episodeQuery.AiredEpisode = searchInfo.IndexNumber.Value; + episodeQuery.AiredSeason = searchInfo.ParentIndexNumber.Value; + } + else + { + episodeQuery.AbsoluteNumber = searchInfo.IndexNumber.Value; + } + break; default: // aired order