Player track chapter tickmarks, highlight current chapter, progress filters, links in stream container

This commit is contained in:
advplyr 2021-09-21 16:42:01 -05:00
parent 9e668bbf35
commit c821ef424f
17 changed files with 109 additions and 33 deletions

View file

@ -86,6 +86,11 @@ export default {
text: 'Authors',
value: 'authors',
sublist: true
},
{
text: 'Progress',
value: 'progress',
sublist: true
}
]
}
@ -132,6 +137,9 @@ export default {
authors() {
return this.$store.getters['audiobooks/getUniqueAuthors']
},
progress() {
return ['Read', 'Unread', 'In Progress']
},
sublistItems() {
return (this[this.sublist] || []).map((item) => {
return {

View file

@ -74,10 +74,10 @@ export default {
this.showMenu = false
},
leftArrowClick() {
this.rateIndex = Math.max(0, this.rateIndex - 4)
this.rateIndex = Math.max(0, this.rateIndex - 1)
},
rightArrowClick() {
this.rateIndex = Math.min(this.rates.length - this.numVisible, this.rateIndex + 4)
this.rateIndex = Math.min(this.rates.length - this.numVisible, this.rateIndex + 1)
}
},
mounted() {}