Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Trailing spaces on series name causes odd behaviour #997

Closed
jamerst opened this issue Sep 19, 2022 · 1 comment
Closed

[Bug]: Trailing spaces on series name causes odd behaviour #997

jamerst opened this issue Sep 19, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@jamerst
Copy link

jamerst commented Sep 19, 2022

Describe the issue

I was experiencing some odd issues with some of the series in my audiobook library that appear to have been caused by trailing spaces in the series name.

I have 3 series, each with 3 volumes of 1 .m4b file each. Each series has the same name set in the series ID3 tag, but they appear as separate series in audiobookshelf, one for each volume, even though they are named identically:
image

Attempting to edit the series for one of these audiobooks results in a TypeError which prevents interacting with the page:

TypeError: a is undefined
    NuxtJS 56
6a08a5a.js:2:12698

There were only 3 series in my library with this issue, and after some investigation I realised that they were the only ones that had a trailing space in the series name. Removing the space resolved all the issues I was having.

Steps to reproduce the issue

  1. Modify the series ID3 tag of audiobooks to include a trailing space
  2. Force rescan library
  3. Go to series view to find duplicates
  4. Try editing the series of one of the books in the duplicate series

Audiobookshelf version

v2.1.5

How are you running audiobookshelf?

Docker

@jamerst jamerst added the bug Something isn't working label Sep 19, 2022
@advplyr
Copy link
Owner

advplyr commented Oct 2, 2022

Fixed in v2.2.0

All meta tags probed from audio files will have whitespace trimmed. This should fix it for new scans.

@advplyr advplyr closed this as completed Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants