diff --git a/web-src/src/components/ListAlbums.vue b/web-src/src/components/ListAlbums.vue index 72fb7eb9..f55f45db 100644 --- a/web-src/src/components/ListAlbums.vue +++ b/web-src/src/components/ListAlbums.vue @@ -105,7 +105,7 @@ export default { open_album(album) { this.selected_album = album if (this.media_kind_resolved === 'podcast') { - this.$router.push({ path: '/podcasts/' + album.id }) + this.$router.push({ name: 'podcast', params: { id: album.id } }) } else if (this.media_kind_resolved === 'audiobook') { this.$router.push({ name: 'audiobook', params: { id: album.id } }) } else { diff --git a/web-src/src/components/ModalDialogAlbum.vue b/web-src/src/components/ModalDialogAlbum.vue index 9d6c74de..d1785a0e 100644 --- a/web-src/src/components/ModalDialogAlbum.vue +++ b/web-src/src/components/ModalDialogAlbum.vue @@ -158,7 +158,7 @@ export default { open_album() { this.$emit('close') if (this.media_kind_resolved === 'podcast') { - this.$router.push({ path: '/podcasts/' + this.album.id }) + this.$router.push({ name: 'podcast', params: { id: this.album.id } }) } else if (this.media_kind_resolved === 'audiobook') { this.$router.push({ name: 'audiobook', params: { id: this.album.id } }) } else { diff --git a/web-src/src/components/ModalDialogQueueItem.vue b/web-src/src/components/ModalDialogQueueItem.vue index da70d480..f6fd08d5 100644 --- a/web-src/src/components/ModalDialogQueueItem.vue +++ b/web-src/src/components/ModalDialogQueueItem.vue @@ -209,7 +209,10 @@ export default { open_album() { if (this.media_kind === 'podcast') { - this.$router.push({ path: '/podcasts/' + this.item.album_id }) + this.$router.push({ + name: 'podcast', + params: { id: this.item.album_id } + }) } else if (this.media_kind === 'audiobook') { this.$router.push({ name: 'audiobook', diff --git a/web-src/src/components/ModalDialogTrack.vue b/web-src/src/components/ModalDialogTrack.vue index cee2a832..6485611a 100644 --- a/web-src/src/components/ModalDialogTrack.vue +++ b/web-src/src/components/ModalDialogTrack.vue @@ -243,7 +243,10 @@ export default { open_album() { this.$emit('close') if (this.track.media_kind === 'podcast') { - this.$router.push({ path: '/podcasts/' + this.track.album_id }) + this.$router.push({ + name: 'podcast', + params: { id: this.track.album_id } + }) } else if (this.track.media_kind === 'audiobook') { this.$router.push({ name: 'audiobook', diff --git a/web-src/src/pages/PagePodcast.vue b/web-src/src/pages/PagePodcast.vue index b801cf4e..4d90803f 100644 --- a/web-src/src/pages/PagePodcast.vue +++ b/web-src/src/pages/PagePodcast.vue @@ -59,17 +59,17 @@