From de430cf16660a3d65992ffa7f509e6dfbdae0c57 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Mon, 5 Dec 2022 03:59:56 +0530 Subject: Fixes Duration in playlist * Removes Decimals from duration --- player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player.js b/player.js index d1071f2..9fb7b17 100644 --- a/player.js +++ b/player.js @@ -204,7 +204,7 @@ historyArray.forEach((musicData) => { playListData = `${playListData} -#EXTINF:${musicData.duration/600}, ${musicData.title} +#EXTINF:${Math.ceil(musicData.duration/600)}, ${musicData.title} https://retrowave.ru/${musicData.streamUrl} `; }); -- cgit v1.2.3