fix: add missing Rewind & FastForward PlayState commands handling
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user