Fix:Android auto filter out ebook only from downloaded tab

This commit is contained in:
advplyr 2023-06-19 14:03:29 -05:00
parent ff4f8324e7
commit 0d1312e497
8 changed files with 2255 additions and 7300 deletions

View file

@ -1,5 +1,6 @@
import { Network } from '@capacitor/network'
import { AbsAudioPlayer } from '@/plugins/capacitor'
import { PlayMethod } from '@/plugins/constants'
export const state = () => ({
deviceData: null,
@ -35,7 +36,7 @@ export const getters = {
return !!state.currentPlaybackSession
},
getIsCurrentSessionLocal: state => {
return state.currentPlaybackSession?.playMethod == this.$constants.PlayMethod.LOCAL
return state.currentPlaybackSession?.playMethod == PlayMethod.LOCAL
},
getIsMediaStreaming: state => (libraryItemId, episodeId) => {
if (!state.currentPlaybackSession || !libraryItemId) return false