Add:Podcast search page

This commit is contained in:
advplyr 2022-03-06 19:02:06 -06:00
parent a907c88f66
commit c6eb1096e8
6 changed files with 170 additions and 46 deletions

View file

@ -18,6 +18,10 @@ export const getters = {
if (!currentLibrary) return ''
return currentLibrary.name
},
getCurrentLibraryMediaType: (state, getters) => {
if (!getters.getCurrentLibrary) return null
return getters.getCurrentLibrary.mediaType
},
getSortedLibraries: state => () => {
return state.libraries.map(lib => ({ ...lib })).sort((a, b) => a.displayOrder - b.displayOrder)
},