[Bug]: ID3 series
tag incorrectly parsed when multiple series are used
#3473
Labels
bug
Something isn't working
What happened?
When importing/scanning an audiobook that defines multiple series in the ID3
series
tag, only one series is used.Example:
The book ends up with a series
series A #1, series B #2
without a sequence assigned to it.What did you expect to happen?
The book should get detected with 2 series:
series A
(sequence number1
)series B
(sequence number2
)Steps to reproduce the issue
.mp3
file to check the presence of theseries
tag)Audiobookshelf version
v2.13.4
How are you running audiobookshelf?
Docker
What OS is your Audiobookshelf server hosted from?
Linux
If the issue is being seen in the UI, what browsers are you seeing the problem on?
None
Logs
No response
Additional Notes
The
series
tag should correctly round-trip:,
#
The metadata-embedding task should probably as well check, if a series name contains either the
,
or the#
character and escape them. Surrounding the whole string with"
should probably be a good option as it's pretty unlikely that a legit series name starts with the"
character.An example series tag value could look like this:
Looking at the code, it seems like the
series-part
tag is used besidesseries
. This behavior could be preserved as long as:series
tagseries
tagIf this proposal looks good to you @advplyr, I'm as well happy to submit a PR.
The text was updated successfully, but these errors were encountered: