Add file name to state

This commit is contained in:
hicom150
2019-08-15 12:06:22 +02:00
parent c29deab728
commit 097fa9cc7c
2 changed files with 2 additions and 1 deletions

View File

@@ -38,7 +38,7 @@ function getPreviousIndex (state) {
function getCurrentLocalURL (state) {
return state.server
? state.server.localURL + '/' + state.playing.fileIndex + '/' + state.window.title
? state.server.localURL + '/' + state.playing.fileIndex + '/' + encodeURIComponent(state.playing.fileName)
: ''
}