diff --git a/client/pages/audiobook/_id/index.vue b/client/pages/audiobook/_id/index.vue
index d0d16a5c..11cbf9f6 100644
--- a/client/pages/audiobook/_id/index.vue
+++ b/client/pages/audiobook/_id/index.vue
@@ -23,6 +23,8 @@
Your Progress: {{ Math.round(progressPercent * 100) }}%
{{ $elapsedPretty(userTimeRemaining) }} remaining
@@ -82,6 +84,9 @@ export default { } }, computed: { + isDeveloperMode() { + return this.$store.state.developerMode + }, missingPartChunks() { if (this.missingParts === 1) return this.missingParts[0] var chunks = [] @@ -180,6 +185,18 @@ export default { } }, methods: { + openRssFeed() { + this.$axios + .$post('/api/feed', { audiobookId: this.audiobook.id }) + .then((res) => { + console.log('Feed open', res) + this.$toast.success('RSS Feed Open') + }) + .catch((error) => { + console.error('Failed', error) + this.$toast.error('Failed to open feed') + }) + }, startStream() { this.$store.commit('setStreamAudiobook', this.audiobook) this.$root.socket.emit('open_stream', this.audiobook.id) diff --git a/client/pages/config/index.vue b/client/pages/config/index.vue index 7e4d0b0e..001f31b2 100644 --- a/client/pages/config/index.vue +++ b/client/pages/config/index.vue @@ -53,6 +53,7 @@