mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-20 09:48:25 +02:00
Merge pull request #4394 from Vito0912/feat/addISBNAudible
Added the ISBN for Audible providers (returned data)
This commit is contained in:
commit
514f5c2409
@ -41,7 +41,7 @@ class Audible {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cleanResult(item) {
|
cleanResult(item) {
|
||||||
const { title, subtitle, asin, authors, narrators, publisherName, summary, releaseDate, image, genres, seriesPrimary, seriesSecondary, language, runtimeLengthMin, formatType } = item
|
const { title, subtitle, asin, authors, narrators, publisherName, summary, releaseDate, image, genres, seriesPrimary, seriesSecondary, language, runtimeLengthMin, formatType, isbn } = item
|
||||||
|
|
||||||
const series = []
|
const series = []
|
||||||
if (seriesPrimary) {
|
if (seriesPrimary) {
|
||||||
@ -70,6 +70,7 @@ class Audible {
|
|||||||
description: summary || null,
|
description: summary || null,
|
||||||
cover: image,
|
cover: image,
|
||||||
asin,
|
asin,
|
||||||
|
isbn,
|
||||||
genres: genresFiltered.length ? genresFiltered : null,
|
genres: genresFiltered.length ? genresFiltered : null,
|
||||||
tags: tagsFiltered.length ? tagsFiltered.join(', ') : null,
|
tags: tagsFiltered.length ? tagsFiltered.join(', ') : null,
|
||||||
series: series.length ? series : null,
|
series: series.length ? series : null,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user