@@ -65,7 +65,7 @@ export default {
},
computed: {
isNew() {
- return this.tags.includes('new')
+ return this.tags.includes('New')
},
tags() {
return this.audiobook.tags || []
diff --git a/client/components/controls/FilterSelect.vue b/client/components/controls/FilterSelect.vue
index a246c532..828b94a5 100644
--- a/client/components/controls/FilterSelect.vue
+++ b/client/components/controls/FilterSelect.vue
@@ -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 {
diff --git a/client/components/controls/PlaybackSpeedControl.vue b/client/components/controls/PlaybackSpeedControl.vue
index f1306f7c..efd780da 100644
--- a/client/components/controls/PlaybackSpeedControl.vue
+++ b/client/components/controls/PlaybackSpeedControl.vue
@@ -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() {}
diff --git a/client/components/modals/ChaptersModal.vue b/client/components/modals/ChaptersModal.vue
index 1a0a349a..0f0be2f9 100644
--- a/client/components/modals/ChaptersModal.vue
+++ b/client/components/modals/ChaptersModal.vue
@@ -2,7 +2,7 @@
-
+
{{ chap.title }}
{{ $secondsToTimestamp(chap.start) }}
@@ -19,6 +19,10 @@ export default {
chapters: {
type: Array,
default: () => []
+ },
+ currentChapter: {
+ type: Object,
+ default: () => null
}
},
data() {
@@ -32,6 +36,9 @@ export default {
set(val) {
this.$emit('input', val)
}
+ },
+ currentChapterId() {
+ return this.currentChapter ? this.currentChapter.id : null
}
},
methods: {
diff --git a/client/components/ui/Btn.vue b/client/components/ui/Btn.vue
index 6691470b..adb4dfe1 100644
--- a/client/components/ui/Btn.vue
+++ b/client/components/ui/Btn.vue
@@ -1,5 +1,14 @@
-