mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-14 03:15:03 +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
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue