diff options
author | Indrajith K L | 2022-12-05 03:59:56 +0530 |
---|---|---|
committer | Indrajith K L | 2022-12-05 03:59:56 +0530 |
commit | de430cf16660a3d65992ffa7f509e6dfbdae0c57 (patch) | |
tree | f9886c64b53b3f3d5a18a45133643ec7e6710b7b | |
parent | c3721f2f557d43f6fd25d39f3c2fecd332895af3 (diff) | |
download | retrowave-player-de430cf16660a3d65992ffa7f509e6dfbdae0c57.tar.gz retrowave-player-de430cf16660a3d65992ffa7f509e6dfbdae0c57.tar.bz2 retrowave-player-de430cf16660a3d65992ffa7f509e6dfbdae0c57.zip |
Fixes Duration in playlist
* Removes Decimals from duration
-rw-r--r-- | player.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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} `; }); |