aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/InstantMixController.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2020-11-06 16:39:41 +0100
committerBond_009 <bond.009@outlook.com>2020-11-06 16:39:41 +0100
commit134fd0d9604ab2108e5008205ede3444aa1a7610 (patch)
tree61f3343609c6d8489dca6664347387156cc8be6d /Jellyfin.Api/Controllers/InstantMixController.cs
parentb21919c7f40770c909a0fc217bf2a326397f84f7 (diff)
> -> <
Diffstat (limited to 'Jellyfin.Api/Controllers/InstantMixController.cs')
-rw-r--r--Jellyfin.Api/Controllers/InstantMixController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/InstantMixController.cs b/Jellyfin.Api/Controllers/InstantMixController.cs
index 7682ceff3..7f8a2be12 100644
--- a/Jellyfin.Api/Controllers/InstantMixController.cs
+++ b/Jellyfin.Api/Controllers/InstantMixController.cs
@@ -316,7 +316,7 @@ namespace Jellyfin.Api.Controllers
TotalRecordCount = list.Count
};
- if (limit.HasValue && limit > list.Count)
+ if (limit.HasValue && limit < list.Count)
{
list = list.GetRange(0, limit.Value);
}