aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndrajith K L2022-12-05 11:26:04 +0530
committerIndrajith K L2022-12-05 11:26:04 +0530
commit2cbed2c4ba550d03d3118768d393215d0888e50a (patch)
tree6a24eb3376d177d2d4b5d3138c8b9d983383971d
parentde430cf16660a3d65992ffa7f509e6dfbdae0c57 (diff)
downloadretrowave-player-2cbed2c4ba550d03d3118768d393215d0888e50a.tar.gz
retrowave-player-2cbed2c4ba550d03d3118768d393215d0888e50a.tar.bz2
retrowave-player-2cbed2c4ba550d03d3118768d393215d0888e50a.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 9fb7b17..997bd17 100644
--- a/player.js
+++ b/player.js
@@ -204,7 +204,7 @@
historyArray.forEach((musicData) => {
playListData = `${playListData}
-#EXTINF:${Math.ceil(musicData.duration/600)}, ${musicData.title}
+#EXTINF:${Math.ceil(musicData.duration/100)}, ${musicData.title}
https://retrowave.ru/${musicData.streamUrl}
`;
});