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

Use Math.Clamp in GetGuideDays

pull/10878/head
Patrick Barron 1 year ago
parent 4399b51dca
commit 502cbe77b2

@ -159,7 +159,7 @@ public class GuideManager : IGuideManager
var config = _config.GetLiveTvConfiguration();
return config.GuideDays.HasValue
? Math.Max(1, Math.Min(config.GuideDays.Value, MaxGuideDays))
? Math.Clamp(config.GuideDays.Value, 1, MaxGuideDays)
: 7;
}

Loading…
Cancel
Save