Update audio player to player ui and separate out components

This commit is contained in:
advplyr 2022-05-31 20:13:46 -05:00
parent 792268f5ee
commit d37b25a6f6
6 changed files with 296 additions and 169 deletions

View file

@ -8,6 +8,7 @@ export const state = () => ({
streamLibraryItem: null,
streamEpisodeId: null,
streamIsPlaying: false,
playerIsFullscreen: false,
editModalTab: 'details',
showEditModal: false,
showEReader: false,
@ -80,6 +81,9 @@ export const mutations = {
setSource(state, source) {
state.Source = source
},
setPlayerIsFullscreen(state, val) {
state.playerIsFullscreen = val
},
setLastBookshelfScrollData(state, { scrollTop, path, name }) {
state.lastBookshelfScrollData[name] = { scrollTop, path }
},