From a4a334a18a4dc6264790d8b8c4f608d5c58bf21f Mon Sep 17 00:00:00 2001 From: Linden Ryuujin Date: Thu, 16 Mar 2023 21:32:38 +0000 Subject: [PATCH] Support for scanning semicolon seperated author and narator lists. --- server/utils/parsers/parseNameString.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/utils/parsers/parseNameString.js b/server/utils/parsers/parseNameString.js index d2d80d2d..96aa4bbe 100644 --- a/server/utils/parsers/parseNameString.js +++ b/server/utils/parsers/parseNameString.js @@ -43,6 +43,8 @@ module.exports.parse = (nameString) => { // Example &LF: Friedman, Milton & Friedman, Rose if (nameString.includes('&')) { nameString.split('&').forEach((asa) => splitNames = splitNames.concat(asa.split(','))) + } else if (nameString.includes(';')) { + nameString.split(';').forEach((asa) => splitNames = splitNames.concat(asa.split(','))) } else { splitNames = nameString.split(',') }