From 44e7bbaa593132d2a839ae4a019574efa6a9580b Mon Sep 17 00:00:00 2001 From: mkelvers Date: Mon, 4 May 2026 11:12:27 +0200 Subject: [PATCH] fix: default to ep=1 when no progress --- templates/watch.gohtml | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/watch.gohtml b/templates/watch.gohtml index 9f0d8d3..d25c0a8 100644 --- a/templates/watch.gohtml +++ b/templates/watch.gohtml @@ -4,6 +4,7 @@ {{$anime := .Anime}} {{$episodes := .Episodes}} {{$currentEpID := .CurrentEpID}} +{{if or (not $currentEpID) (eq (printf "%v" $currentEpID) "0") (eq (printf "%v" $currentEpID) "")}}{{$currentEpID = "1"}}{{end}} {{$totalEpisodes := len $episodes}}