mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-01 05:29:41 +00:00
support isbn tags in dc:source
This commit is contained in:
parent
52a0b61b97
commit
989255e957
2 changed files with 15 additions and 1 deletions
|
|
@ -65,7 +65,8 @@ function parseIdentifier(metaTags, identifierType) {
|
|||
|
||||
const identifierValues = [
|
||||
...getValues(metaTags, 'dc:identifier'),
|
||||
...getValues(metaTags, 'ncc:identifier')
|
||||
...getValues(metaTags, 'ncc:identifier'),
|
||||
...(identifierType === 'isbn' ? getValues(metaTags, 'dc:source') : [])
|
||||
]
|
||||
for (const identifier of identifierValues) {
|
||||
if (identifierType === 'isbn' && /isbn/i.test(identifier)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue