aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndrajith K L2022-12-05 11:27:55 +0530
committerIndrajith K L2022-12-05 11:27:55 +0530
commit4b91f9cecd4195462c4e7f48846a56a10a3d3660 (patch)
tree86d951b0e7d52e8a4cacb1a3d4515fdc4ac87276
parent2cbed2c4ba550d03d3118768d393215d0888e50a (diff)
downloadretrowave-player-4b91f9cecd4195462c4e7f48846a56a10a3d3660.tar.gz
retrowave-player-4b91f9cecd4195462c4e7f48846a56a10a3d3660.tar.bz2
retrowave-player-4b91f9cecd4195462c4e7f48846a56a10a3d3660.zip
Fixes in Playlist duration calculation
-rw-r--r--player.js2
1 files changed, 1 insertions, 1 deletions
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}
`;
});