Music albums grouping and page

This commit is contained in:
advplyr 2023-01-02 18:02:04 -06:00
parent 9de7be1cb4
commit d6da161b13
11 changed files with 210 additions and 18 deletions

View file

@ -213,11 +213,16 @@ export default {
isAuthorsPage() {
return this.$route.name === 'library-library-authors'
},
isAlbumsPage() {
return this.page === 'albums'
},
numShowing() {
return this.totalEntities
},
entityName() {
if (this.isAlbumsPage) return 'Albums'
if (this.isMusicLibrary) return 'Tracks'
if (this.isPodcastLibrary) return this.$strings.LabelPodcasts
if (!this.page) return this.$strings.LabelBooks
if (this.isSeriesPage) return this.$strings.LabelSeries