diff --git a/src/renderer/lib/playlist.js b/src/renderer/lib/playlist.js index 35d9db03..86cff68e 100644 --- a/src/renderer/lib/playlist.js +++ b/src/renderer/lib/playlist.js @@ -37,7 +37,9 @@ function getPreviousIndex (state) { } function getCurrentLocalURL (state) { - return state.server.localURL + '/' + state.playing.fileIndex + return state.server + ? state.server.localURL + '/' + state.playing.fileIndex + : '' } function updateCache (state) {