djdembeck / Audnexus.bundle

An Audnexus client proof of concept for Plex, providing rich author and audiobook data. Developed in Python, offering enhanced user experiences via Plex's legacy plugin agent system.
GNU General Public License v3.0
519 stars 22 forks source link

Issues with multiple series #25

Closed TomW1605 closed 2 years ago

TomW1605 commented 3 years ago

it looks like there are some issues when a book is in more than one series. for example Men at Arms is the 15th book in the Discworld series but the 2nd book in the City Watch sub series and the scraper has put it as discworld book 3 in the sort title. image i assume this is because of how Audible has it on their page. image is there a way to say have a setting to always use the larger number (most likely to be the main series and not a sub series)?

djdembeck commented 3 years ago

Interesting. That would be caused by the subtitle containing book 15. A solution to this might be to not use subtitle in the sort field.

djdembeck commented 3 years ago

This should be resolved by https://github.com/djdembeck/Audnexus.bundle/commit/2022dbd6ef7d3556c83644956023b9baf37ba7e9, you can test it by pulling the develop branch.

Subtitles will not be added to the album sort field when the book is part of a series. Such as: Joe Ledger, Book 7 - Predator One: A Joe Ledger Novel, Book 7 -> Joe Ledger, Book 7 - Predator One

TomW1605 commented 3 years ago

Interesting. That would be caused by the subtitle containing book 15. A solution to this might be to not use subtitle in the sort field.

no 15 is the correct number. 2 is the incorrect one. this book is book 15 if the overall series but book 2 of the sub series.

djdembeck commented 3 years ago

What Asin are you looking at? For me, it shows book 2 position in the first series https://www.audible.com/pd/Men-at-Arms-Audiobook/B0032N8VPS

TomW1605 commented 3 years ago

that is audible being very inconsistent i think. the first book in the subseries is listed the other way round https://www.audible.com/pd/Guards-Guards-Audiobook/B0032NANJA my guess is that when the data was entered it was deemed that the order was not important. not sure how best to handle this.

djdembeck commented 2 years ago

@TomW1605 the API has been updated to use series' as they are from Audible's API, not web (since web can be inconsistent). Let me know if this fixes the behaviour you expected to see. Previously added books are being retroactively updated on the API side so it may take a few days.

TomW1605 commented 2 years ago

thanks i will give it a few days and then recreate the library and see how it goes