Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/jellyfin/commit/3b341c06db66ae675b37102e6c5d4009def1b48d You should set ROOT_URL correctly, otherwise the web may not work correctly.

Move TimerInfo start time logic out of RecordingHelper

pull/11054/head
Patrick Barron 1 year ago
parent cac7ff84ca
commit 3b341c06db

@ -7,11 +7,6 @@ namespace Jellyfin.LiveTv.Recordings
{
internal static class RecordingHelper
{
public static DateTime GetStartTime(TimerInfo timer)
{
return timer.StartDate.AddSeconds(-timer.PrePaddingSeconds);
}
public static string GetRecordingName(TimerInfo info)
{
var name = info.Name;

@ -95,7 +95,7 @@ namespace Jellyfin.LiveTv.Timers
return;
}
var startDate = RecordingHelper.GetStartTime(item);
var startDate = item.StartDate.AddSeconds(-item.PrePaddingSeconds);
var now = DateTime.UtcNow;
if (startDate < now)

Loading…
Cancel
Save