mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-31 23:20:05 +02:00
Add comma as a separator for genre tags in AudioFileScanner
This commit is contained in:
parent
93114b2181
commit
e5a2a82576
1 changed files with 1 additions and 1 deletions
|
@ -529,7 +529,7 @@ class AudioFileScanner {
|
|||
*/
|
||||
parseGenresString(genreTag) {
|
||||
if (!genreTag?.length) return []
|
||||
const separators = ['/', '//', ';']
|
||||
const separators = ['/', '//', ';', ',']
|
||||
for (let i = 0; i < separators.length; i++) {
|
||||
if (genreTag.includes(separators[i])) {
|
||||
return genreTag
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue