aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/TvShowsController.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-01-03 17:40:22 +0100
committerJoshua M. Boniface <joshua@boniface.me>2021-01-23 15:37:25 -0500
commit9c83a6cef9e77e13c175b941158e192770163503 (patch)
tree10aea954e986d6818d90b544355209216f8a399d /Jellyfin.Api/Controllers/TvShowsController.cs
parent910819c71ce715af2938484fa346b4f69eaf3615 (diff)
Merge pull request #4936 from crobibero/series-start-item-id
Fix inverted SkipWhile (cherry picked from commit 841996c642eebfe80b092394953f0b8b7c874cfb) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
Diffstat (limited to 'Jellyfin.Api/Controllers/TvShowsController.cs')
-rw-r--r--Jellyfin.Api/Controllers/TvShowsController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/TvShowsController.cs b/Jellyfin.Api/Controllers/TvShowsController.cs
index 03fd1846d..ca18901e5 100644
--- a/Jellyfin.Api/Controllers/TvShowsController.cs
+++ b/Jellyfin.Api/Controllers/TvShowsController.cs
@@ -267,7 +267,7 @@ namespace Jellyfin.Api.Controllers
if (startItemId.HasValue)
{
episodes = episodes
- .SkipWhile(i => startItemId.Value.Equals(i.Id))
+ .SkipWhile(i => !startItemId.Value.Equals(i.Id))
.ToList();
}