This commit is contained in:
unknowableshade committed 2022-01-03 13:47:53 +03:00
1 parent 2e0b2a7a87
commit 34edd9fb7e
1 file changed
+1 -1
+1 -1
View File
@@ -31,7 +31,7 @@ export function queueDesigner(queue: track[], page: number, nowPlaying: AudioRes
const hPlayed = `${Math.floor(nowPlaying.playbackDuration / 1000 / 60 / 10)}${Math.floor(nowPlaying.playbackDuration / 1000 / 60) % 10}`;
const mPlayed = `${Math.floor(Math.floor(nowPlaying.playbackDuration / 1000) % 60 / 10)}${Math.floor(nowPlaying.playbackDuration / 1000) % 60 % 10}`;
response.setTitle(`${nowPlayingPos}. ${nowPlaying.metadata.title}`)
response.setTitle(`${nowPlayingPos + 1}. ${nowPlaying.metadata.title}`)
.setURL(nowPlaying.metadata.url)
.setThumbnail(nowPlaying.metadata.thumbnail)
.setDescription(`${hPlayed}:${mPlayed} / ${hDuration}:${mDuration}`);