mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 10:04:44 +01:00
added upnp ConnectionManager.cs
This commit is contained in:
@@ -267,7 +267,7 @@ namespace MediaBrowser.Server.Implementations.Channels
|
||||
{
|
||||
providerStartIndex = query.StartIndex;
|
||||
|
||||
if (!query.Limit.HasValue || query.Limit.Value > channelInfo.MaxPageSize.Value)
|
||||
if (query.Limit.HasValue && query.Limit.Value > channelInfo.MaxPageSize.Value)
|
||||
{
|
||||
throw new ArgumentException(string.Format("Channel {0} only supports a maximum of {1} records at a time.", channel.Name, channelInfo.MaxPageSize.Value));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user