Skip to content

Conversation

csandman
Copy link
Contributor

@csandman csandman commented Feb 4, 2025

I use this bundle in combination with Kometa for generating collections from my series, and I noticed an issue recently. For some reason, some books are getting tagged with "<series title> Series" while others are getting tagged with just "<series title>". This generally wouldn't matter as long as every book within a series gets tagged with the same value (all just series title or all series title series). However, I've found that in a few cases, sometimes books within the same series are getting tagged with both formats.

For example, for the series Solo Leveling, books 1-5 are getting tagged with "Series: Solo Leveling" while books 6-8 are getting tagged with "Series: Solo Leveling Series":

Screenshot 2025-02-03 at 11 14 39 PM Screenshot 2025-02-03 at 11 14 31 PM

I found the same thing happening with one book in "The Beginning After the End"

Screenshot 2025-02-03 at 11 15 16 PM Screenshot 2025-02-03 at 11 15 09 PM

This is probably just an issue with Audible's tagging themselves, but I figured that an easy solution to this problem would just be to universally trim " Series" from the end of series titles. It really doesn't add any value to the name of the series, and by removing it, we can be more consistent with how books are tagged.

However, I didn't want to force this option on anyone, so I figured it would be a valid use case for a new preference in the agent settings:

image

I wasn't sure where the best place would be to put this logic (API response parsing from Audnexus, or inside the add_series_to_moods function or something like that), so I just added it to the API response parsing, as that should cover it in all use cases (moods + sort title). But let me know if you think it's not placed well.

And in general, let me know if this is a setting you think makes sense for this project! I'm using it in my local instance of the bundle either way, I just figured this could help other people.

@csandman csandman changed the title Implement an option for simplifying series titles Add an option for simplifying series titles Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant