mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-26 20:14:45 +01:00
update live tv grid style
This commit is contained in:
@@ -1007,12 +1007,7 @@ namespace MediaBrowser.Server.Implementations.LiveTv
|
||||
innerProgress.RegisterAction(p => progress.Report(90 + (p * .1)));
|
||||
await CleanDatabaseInternal(progress, cancellationToken).ConfigureAwait(false);
|
||||
|
||||
foreach (var program in _programs.Values
|
||||
.Where(i => (i.StartDate - DateTime.UtcNow).TotalDays <= 1)
|
||||
.ToList())
|
||||
{
|
||||
RefreshIfNeeded(program);
|
||||
}
|
||||
RefreshIfNeeded(_programs.Values.Where(i => (i.StartDate - DateTime.UtcNow).TotalDays <= 1).ToList());
|
||||
}
|
||||
finally
|
||||
{
|
||||
@@ -1145,8 +1140,6 @@ namespace MediaBrowser.Server.Implementations.LiveTv
|
||||
_refreshedPrograms.Clear();
|
||||
progress.Report(90);
|
||||
|
||||
RefreshIfNeeded(programs.Take(500));
|
||||
|
||||
// Load these now which will prefetch metadata
|
||||
var dtoOptions = new DtoOptions();
|
||||
dtoOptions.Fields.Remove(ItemFields.SyncInfo);
|
||||
|
||||
@@ -206,7 +206,7 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
Condition = ProfileConditionType.LessThanEqual,
|
||||
Property = ProfileConditionValue.AudioChannels,
|
||||
Value = "5",
|
||||
IsRequired = true
|
||||
IsRequired = false
|
||||
},
|
||||
new ProfileCondition
|
||||
{
|
||||
@@ -220,7 +220,7 @@ namespace MediaBrowser.Server.Implementations.Sync
|
||||
codecProfiles.Add(new CodecProfile
|
||||
{
|
||||
Type = CodecType.VideoAudio,
|
||||
Codec = "ac3",
|
||||
Codec = "aac,mp3",
|
||||
Conditions = new[]
|
||||
{
|
||||
new ProfileCondition
|
||||
|
||||
Reference in New Issue
Block a user