diff --git a/components/bookshelf/LazyBookshelf.vue b/components/bookshelf/LazyBookshelf.vue
index 386b5fe4..6ca0c1fa 100644
--- a/components/bookshelf/LazyBookshelf.vue
+++ b/components/bookshelf/LazyBookshelf.vue
@@ -3,6 +3,7 @@
diff --git a/components/cards/LazyListBookCard.vue b/components/cards/LazyListBookCard.vue
index cdd0fcb3..cc7355cb 100644
--- a/components/cards/LazyListBookCard.vue
+++ b/components/cards/LazyListBookCard.vue
@@ -20,6 +20,8 @@
by {{ displayAuthor }}
{{ displaySortLine }}
+ {{ $elapsedPretty(duration) }}
+ {{ episodes }}
@@ -99,9 +101,23 @@ export default {
mediaType() {
return this._libraryItem.mediaType
},
+ duration() {
+ return this.media.duration || null
+ },
isPodcast() {
return this.mediaType === 'podcast'
},
+ episodes() {
+ if (this.isPodcast) {
+ if (this.media.numEpisodes==1) {
+ return "1 episode"
+ } else {
+ return this.media.numEpisodes + ' episodes'
+ }
+ } else {
+ return null
+ }
+ },
placeholderUrl() {
return '/book_placeholder.jpg'
},