diff --git a/components/cards/LazyListBookCard.vue b/components/cards/LazyListBookCard.vue index 487af614..e21d661c 100644 --- a/components/cards/LazyListBookCard.vue +++ b/components/cards/LazyListBookCard.vue @@ -20,7 +20,8 @@

by {{ displayAuthor }}

{{ displaySortLine }}

-

{{ $elapsedPretty(duration) }}

+

{{ $elapsedPretty(duration) }}

+

{{ episodes }}

@@ -101,11 +102,20 @@ export default { return this._libraryItem.mediaType }, duration() { - return this.media.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' + } + } + }, placeholderUrl() { return '/book_placeholder.jpg' },