From 77c646d1f1a87502f283857ed5342537c22f8410 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Tue, 6 May 2025 22:57:22 +0800 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D1=80=D1=80=D0=B5=D0=BA=D1=82?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=BA=D0=B0=20=D1=80=D0=B0=D0=B7=D0=BC?= =?UTF-8?q?=D0=B5=D1=80=D0=BD=D0=BE=D1=81=D1=82=D0=B8=20=D0=BF=D1=80=D0=BE?= =?UTF-8?q?=D1=86=D0=B5=D0=BD=D1=82=D0=BE=D0=B2=20=D0=B2=20=D1=80=D0=B5?= =?UTF-8?q?=D0=B7=D1=83=D0=BB=D1=8C=D1=82=D0=B0=D1=82=D0=B5=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D0=B2=D0=B5=D1=80=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/checker/checker.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/checker/checker.go b/app/checker/checker.go index 811af3e..0dce5ec 100644 --- a/app/checker/checker.go +++ b/app/checker/checker.go @@ -260,9 +260,9 @@ func CheckChannels(pls playlist.Playlist) playlist.Playlist { log.Printf( "Checked successfully! online=%d onlinePercent=%.2f%% offline=%d offlinePercent=%.2f%% elapsedTime=%.2fs", pls.OnlineCount, - float64(pls.OnlineCount)/float64(len(pls.Channels))*100, + float32(pls.OnlineCount)/float32(len(pls.Channels))*100, pls.OfflineCount, - float64(pls.OfflineCount)/float64(len(pls.Channels))*100, + float32(pls.OfflineCount)/float32(len(pls.Channels))*100, time.Since(startTime).Seconds(), )