mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
dvd fix
This commit is contained in:
parent
21706ffa52
commit
7497fe9554
@ -604,7 +604,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||||||
|
|
||||||
if (vobs.Count > 0)
|
if (vobs.Count > 0)
|
||||||
{
|
{
|
||||||
var minSizeVobs = allVobs
|
var minSizeVobs = vobs
|
||||||
.SkipWhile(f => f.Length < minPlayableSize)
|
.SkipWhile(f => f.Length < minPlayableSize)
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
|
@ -846,8 +846,8 @@ namespace MediaBrowser.Server.Implementations.LiveTv
|
|||||||
|
|
||||||
var days = Math.Round(((double)maxPrograms) / programsPerDay);
|
var days = Math.Round(((double)maxPrograms) / programsPerDay);
|
||||||
|
|
||||||
// No less than 2, no more than 14
|
// No less than 2, no more than 7
|
||||||
return Math.Max(2, Math.Min(days, 14));
|
return Math.Max(2, Math.Min(days, 7));
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task<IEnumerable<Tuple<string, ChannelInfo>>> GetChannels(ILiveTvService service, CancellationToken cancellationToken)
|
private async Task<IEnumerable<Tuple<string, ChannelInfo>>> GetChannels(ILiveTvService service, CancellationToken cancellationToken)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user