From 4b91f9cecd4195462c4e7f48846a56a10a3d3660 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Mon, 5 Dec 2022 11:27:55 +0530 Subject: Fixes in Playlist duration calculation --- player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player.js b/player.js index 997bd17..47c2084 100644 --- a/player.js +++ b/player.js @@ -204,7 +204,7 @@ historyArray.forEach((musicData) => { playListData = `${playListData} -#EXTINF:${Math.ceil(musicData.duration/100)}, ${musicData.title} +#EXTINF:${Math.ceil(musicData.duration/1000)}, ${musicData.title} https://retrowave.ru/${musicData.streamUrl} `; }); -- cgit v1.2.3