mirror of
https://github.com/informaticker/discord-jellyfin-bot.git
synced 2024-11-23 18:21:55 +01:00
fix previous discord button
This commit is contained in:
parent
2dee338f22
commit
9f12d8bfc1
@ -90,7 +90,7 @@ async function songPlayMessage (message, itemId) {
|
|||||||
interactivemsghandler.init(message, itemIdDetails.Name, itemIdDetails.Artists[0] || "VA", imageURL,
|
interactivemsghandler.init(message, itemIdDetails.Name, itemIdDetails.Artists[0] || "VA", imageURL,
|
||||||
`${jellyfinClientManager.getJellyfinClient().serverAddress()}/web/index.html#!/details?id=${itemIdDetails.AlbumId}`,
|
`${jellyfinClientManager.getJellyfinClient().serverAddress()}/web/index.html#!/details?id=${itemIdDetails.AlbumId}`,
|
||||||
undefined,
|
undefined,
|
||||||
((ticksToSeconds(playbackmanager.getPostitionTicks()) < 10) ? playbackmanager.previousTrack : playbackmanager.seek),
|
((ticksToSeconds(playbackmanager.getPostitionTicks()) > 10) ? playbackmanager.previousTrack : playbackmanager.seek),
|
||||||
playbackmanager.playPause,
|
playbackmanager.playPause,
|
||||||
playbackmanager.stop,
|
playbackmanager.stop,
|
||||||
playbackmanager.nextTrack,
|
playbackmanager.nextTrack,
|
||||||
|
Loading…
Reference in New Issue
Block a user