mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-04 02:05:06 +02:00
"[un]abridged" in title candidate generation
This commit is contained in:
parent
3ff41f2b43
commit
80458e24bd
2 changed files with 3 additions and 0 deletions
|
@ -167,6 +167,7 @@ class BookFinder {
|
|||
[/ (2nd|3rd|\d+th)\s+ed(\.|ition)?/g, ''], // Remove edition
|
||||
[/(^| |\.)(m4b|m4a|mp3)( |$)/g, ''], // Remove file-type
|
||||
[/ a novel.*$/g, ''], // Remove "a novel"
|
||||
[/(^| )(un)?abridged( |$)/g, ' '], // Remove "unabridged/abridged"
|
||||
[/^\d+ | \d+$/g, ''], // Remove preceding/trailing numbers
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue