diff --git a/web-src/src/components/ListItemTrack.vue b/web-src/src/components/ListItemTrack.vue
index b28b2014..5af1804b 100644
--- a/web-src/src/components/ListItemTrack.vue
+++ b/web-src/src/components/ListItemTrack.vue
@@ -4,7 +4,7 @@
{{ track.artist }}
+Album @@ -125,6 +129,16 @@ export default { open_artist: function () { this.$emit('close') this.$router.push({ path: '/music/artists/' + this.track.album_artist_id }) + }, + + mark_new: function () { + this.$emit('close') + // TODO + }, + + mark_played: function () { + this.$emit('close') + // TODO } } } diff --git a/web-src/src/pages/PagePodcast.vue b/web-src/src/pages/PagePodcast.vue index 5887fa04..f97ad5f6 100644 --- a/web-src/src/pages/PagePodcast.vue +++ b/web-src/src/pages/PagePodcast.vue @@ -36,13 +36,13 @@ const albumData = { load: function (to) { return Promise.all([ webapi.library_album(to.params.album_id), - webapi.library_album_tracks(to.params.album_id) + webapi.library_podcast_episodes(to.params.album_id) ]) }, set: function (vm, response) { vm.album = response[0].data - vm.tracks = response[1].data.items + vm.tracks = response[1].data.tracks.items } } diff --git a/web-src/src/pages/PagePodcasts.vue b/web-src/src/pages/PagePodcasts.vue index 6384a640..a6955a2d 100644 --- a/web-src/src/pages/PagePodcasts.vue +++ b/web-src/src/pages/PagePodcasts.vue @@ -1,5 +1,21 @@ @@ -22,31 +38,41 @@