diff --git a/renderer/index.js b/renderer/index.js index 511f6de7..843d3e6c 100644 --- a/renderer/index.js +++ b/renderer/index.js @@ -254,10 +254,7 @@ function dispatch (action, ...args) { }, onbeforeunload: closePlayer }) - playPause(false) - } - if (action === 'pause') { - playPause(true) + play() } if (action === 'playbackJump') { jumpToTime(args[0] /* seconds */) @@ -271,17 +268,6 @@ function dispatch (action, ...args) { if (action === 'openSubtitles') { openSubtitles() } - if (action === 'mediaPlaying') { - state.playing.isPaused = false - ipcRenderer.send('blockPowerSave') - } - if (action === 'mediaPaused') { - // When removing the