mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-27 10:58:44 +01:00
dvd fix
This commit is contained in:
@@ -846,8 +846,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv
|
||||
|
||||
var days = Math.Round(((double)maxPrograms) / programsPerDay);
|
||||
|
||||
// No less than 2, no more than 14
|
||||
return Math.Max(2, Math.Min(days, 14));
|
||||
// No less than 2, no more than 7
|
||||
return Math.Max(2, Math.Min(days, 7));
|
||||
}
|
||||
|
||||
private async Task<IEnumerable<Tuple<string, ChannelInfo>>> GetChannels(ILiveTvService service, CancellationToken cancellationToken)
|
||||
|
||||
Reference in New Issue
Block a user