aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIndrajith K L2022-12-05 03:57:29 +0530
committerIndrajith K L2022-12-05 03:57:29 +0530
commitc3721f2f557d43f6fd25d39f3c2fecd332895af3 (patch)
tree8d876cc6660fa645b08db8a9cc3a0dcfea5d18c3
parentb9a255e13acab4b182f9499a6d943385349cd85b (diff)
downloadretrowave-player-c3721f2f557d43f6fd25d39f3c2fecd332895af3.tar.gz
retrowave-player-c3721f2f557d43f6fd25d39f3c2fecd332895af3.tar.bz2
retrowave-player-c3721f2f557d43f6fd25d39f3c2fecd332895af3.zip
Fixes Duration in playlist
-rw-r--r--player.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/player.js b/player.js
index 43408aa..d1071f2 100644
--- a/player.js
+++ b/player.js
@@ -204,7 +204,7 @@
historyArray.forEach((musicData) => {
playListData = `${playListData}
-#EXTINF:${(musicData.duration/60000).toFixed(2)}, ${musicData.title}
+#EXTINF:${musicData.duration/600}, ${musicData.title}
https://retrowave.ru/${musicData.streamUrl}
`;
});