Preserve audio between sessions

This commit is contained in:
gabriel
2016-05-29 15:36:07 +02:00
committed by Feross Aboukhadijeh
parent e3c6049fdb
commit c841c94784
2 changed files with 9 additions and 0 deletions

View File

@@ -1097,6 +1097,9 @@ function closePlayer (cb) {
ipcRenderer.send('vlcQuit')
}
state.window.title = config.APP_WINDOW_TITLE
// Lets save volume for later
state.previousVolume = state.playing.volume
state.playing = State.getDefaultPlayState()
state.server = null