mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-27 13:54:01 +02:00
New data model classes, ffmpeg-kit, jackson json deserializer, add permission
This commit is contained in:
+8
-2
@@ -1,5 +1,6 @@
|
||||
export const state = () => ({
|
||||
|
||||
libraryItemPlaying: null,
|
||||
mediaEntityPlaying: null
|
||||
})
|
||||
|
||||
export const getters = {
|
||||
@@ -28,5 +29,10 @@ export const actions = {
|
||||
}
|
||||
|
||||
export const mutations = {
|
||||
|
||||
setLibraryItemPlaying(state, libraryItem) {
|
||||
state.libraryItemPlaying = libraryItem
|
||||
},
|
||||
setMediaEntityPlaying(state, mediaEntity) {
|
||||
state.mediaEntityPlaying = mediaEntity
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,6 @@ import Vue from 'vue'
|
||||
import { Network } from '@capacitor/network'
|
||||
|
||||
export const state = () => ({
|
||||
streamLibraryItem: null,
|
||||
streamAudiobook: null,
|
||||
playingDownload: null,
|
||||
playOnLoad: false,
|
||||
@@ -81,9 +80,6 @@ export const mutations = {
|
||||
setPlayOnLoad(state, val) {
|
||||
state.playOnLoad = val
|
||||
},
|
||||
setLibraryItemStream(state, libraryItem) {
|
||||
state.streamLibraryItem = libraryItem
|
||||
},
|
||||
setStreamAudiobook(state, audiobook) {
|
||||
if (audiobook) {
|
||||
state.playingDownload = null
|
||||
|
||||
Reference in New Issue
Block a user