fix: add missing Rewind & FastForward PlayState commands handling

This commit is contained in:
flb
2026-01-26 11:47:37 +01:00
parent 657e27a66a
commit 56d57de980
+4
View File
@@ -176,6 +176,10 @@ function onMessageReceived(e, msg) {
inputManager.handleCommand('next'); inputManager.handleCommand('next');
} else if (msg.Data.Command === 'PreviousTrack') { } else if (msg.Data.Command === 'PreviousTrack') {
inputManager.handleCommand('previous'); inputManager.handleCommand('previous');
} else if (msg.Data.Command === 'Rewind') {
inputManager.handleCommand('rewind');
} else if (msg.Data.Command === 'FastForward') {
inputManager.handleCommand('fastforward');
} else { } else {
notifyApp(); notifyApp();
} }