aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/TvShowsController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2021-01-02 19:23:54 -0700
committercrobibero <cody@robibe.ro>2021-01-02 19:23:54 -0700
commita15e126ef87d2c1dc81206ae6abe07e16c3d1469 (patch)
treeb1d2dcf576aae9a96085ed201c906ac6526e8fb1 /Jellyfin.Api/Controllers/TvShowsController.cs
parentd1da1aa4076f6eaa408fbc50d600686b7b219fc6 (diff)
Fix inverted SkipWhile
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();
}