mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-02-11 15:59:28 +01:00
Implement a stricter check for possible ASIN values in titles
This commit is contained in:
parent
6d823f4e42
commit
d6c5b6e8c6
@ -37,7 +37,7 @@ class Audible {
|
|||||||
}
|
}
|
||||||
|
|
||||||
isProbablyAsin(title) {
|
isProbablyAsin(title) {
|
||||||
return /[0-9A-Z]{10}/.test(title)
|
return /^[0-9A-Z]{10}$/.test(title)
|
||||||
}
|
}
|
||||||
|
|
||||||
asinSearch(asin) {
|
asinSearch(asin) {
|
||||||
|
Loading…
Reference in New Issue
Block a user