mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 09:34:44 +01:00
added a new encoding settings page under advanced
This commit is contained in:
@@ -980,5 +980,19 @@ namespace MediaBrowser.Server.Implementations.LiveTv
|
||||
{
|
||||
return ActiveService.CloseLiveStream(id, cancellationToken);
|
||||
}
|
||||
|
||||
public GuideInfo GetGuideInfo()
|
||||
{
|
||||
var programs = _programs.ToList();
|
||||
|
||||
var startDate = programs.Select(i => i.Value.ProgramInfo.StartDate).Min();
|
||||
var endDate = programs.Select(i => i.Value.ProgramInfo.StartDate).Max();
|
||||
|
||||
return new GuideInfo
|
||||
{
|
||||
StartDate = startDate,
|
||||
EndDate = endDate
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user