mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-05 10:35:42 +02:00
Add:Playlists
This commit is contained in:
parent
6d9e902fe7
commit
b62ce27487
13 changed files with 404 additions and 16 deletions
|
@ -26,6 +26,11 @@ export const state = () => ({
|
|||
})
|
||||
|
||||
export const getters = {
|
||||
getIsMediaStreaming: state => (libraryItemId, episodeId) => {
|
||||
if (!state.playerLibraryItemId) return null
|
||||
if (!episodeId) return state.playerLibraryItemId == libraryItemId
|
||||
return state.playerLibraryItemId == libraryItemId && state.playerEpisodeId == episodeId
|
||||
},
|
||||
getIsItemStreaming: state => libraryItemId => {
|
||||
return state.playerLibraryItemId == libraryItemId
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue