From ee3f926149b86a55a506e66c193f2506232992a0 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 29 Apr 2024 13:35:36 +0200 Subject: [PATCH] Removed debug messages --- api/progress.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/progress.go b/api/progress.go index c2e327171..5a9bfd5bb 100644 --- a/api/progress.go +++ b/api/progress.go @@ -124,13 +124,13 @@ func (r progressRoutes) saveProgress(c *gin.Context) { watchedToLastSilence := false - logger.Debug("Save progress") + //logger.Debug("Save progress") duration := stream.Duration.Int32 if duration == 0 { dur := stream.End.Sub(stream.Start) duration += int32(dur.Seconds()) + int32(dur.Minutes())*60 + int32(dur.Minutes())*60*60 } - logger.Debug("Duration", "duration", duration) + //logger.Debug("Duration", "duration", duration) if duration != 0 { lastSilence := slices.MaxFunc(stream.Silences, func(silence model.Silence, other model.Silence) int { return int(silence.End) - int(other.End)