diff --git a/client/components/cards/BookMatchCard.vue b/client/components/cards/BookMatchCard.vue index d458664f..a7cfb4a7 100644 --- a/client/components/cards/BookMatchCard.vue +++ b/client/components/cards/BookMatchCard.vue @@ -28,7 +28,7 @@
by {{ book.author }}
{{ book.genres.join(', ') }}
{{ book.trackCount }} Episodes
@@ -78,4 +78,4 @@ export default { this.selectedCover = this.bookCovers.length ? this.bookCovers[0] : this.book.cover || null } } - \ No newline at end of file + diff --git a/client/components/cards/LazyBookCard.vue b/client/components/cards/LazyBookCard.vue index 38bbb76a..7d27dac6 100644 --- a/client/components/cards/LazyBookCard.vue +++ b/client/components/cards/LazyBookCard.vue @@ -8,7 +8,7 @@
- {{ displayTitle }}
+ {{ displayTitle }}
{{ displayLineTwo || ' ' }}
{{ displaySortLine }}
@@ -193,6 +193,9 @@ export default { isMusic() { return this.mediaType === 'music' }, + isExplicit() { + return this.mediaMetadata.explicit || false + }, placeholderUrl() { const config = this.$config || this.$nuxt.$config return `${config.routerBasePath}/book_placeholder.jpg` diff --git a/client/components/modals/item/tabs/Match.vue b/client/components/modals/item/tabs/Match.vue index 6749c730..6cc1e1ba 100644 --- a/client/components/modals/item/tabs/Match.vue +++ b/client/components/modals/item/tabs/Match.vue @@ -164,6 +164,13 @@{{ $strings.LabelCurrently }} {{ mediaMetadata.releaseDate || '' }}
{{ $strings.LabelCurrently }} {{ mediaMetadata.explicit ? 'Explicit (checked)' : 'Not Explicit (unchecked)' }}
+{{ bookSubtitle }}
@@ -315,6 +315,9 @@ export default { isInvalid() { return this.libraryItem.isInvalid }, + isExplicit() { + return this.mediaMetadata.explicit || false; + }, invalidAudioFiles() { if (!this.isBook) return [] return this.libraryItem.media.audioFiles.filter((af) => af.invalid) diff --git a/client/pages/library/_library/podcast/latest.vue b/client/pages/library/_library/podcast/latest.vue index 43eff416..8b4163c1 100644 --- a/client/pages/library/_library/podcast/latest.vue +++ b/client/pages/library/_library/podcast/latest.vue @@ -14,14 +14,14 @@{{ $dateDistanceFromNow(episode.publishedAt) }}
{{ $dateDistanceFromNow(episode.publishedAt) }}
by {{ podcast.artistName }}
{{ podcast.genres.join(', ') }}
{{ podcast.trackCount }} {{ $strings.HeaderEpisodes }}
@@ -171,4 +171,4 @@ export default { }, mounted() {} } - \ No newline at end of file + diff --git a/server/providers/iTunes.js b/server/providers/iTunes.js index bdea2286..39f36ab2 100644 --- a/server/providers/iTunes.js +++ b/server/providers/iTunes.js @@ -95,7 +95,8 @@ class iTunes { cover: this.getCoverArtwork(data), trackCount: data.trackCount, feedUrl: data.feedUrl, - pageUrl: data.collectionViewUrl + pageUrl: data.collectionViewUrl, + explicit: data.trackExplicitness === 'explicit' } } @@ -105,4 +106,4 @@ class iTunes { }) } } -module.exports = iTunes \ No newline at end of file +module.exports = iTunes