beets-audible icon indicating copy to clipboard operation
beets-audible copied to clipboard

Beets Audible failing everytime after not being able to get the chapters

Open JaegerMaster opened this issue 2 years ago • 8 comments

Lately, the program fails to match and tag books after the chapter endpint gives a 404 error. It leave the tagging mid-point and does not match the book.

Error:

Error while requesting https://api.audnex.us/books/B0BLJ78Y1Y/chapters: status code 404, Not Found

this happens for monstly newly released books and not for all books.

Beets Audible version: beets version 1.6.0 Python version 3.10.6 plugins: audible, copyartifacts, edit, fromfilename, scrub

JaegerMaster avatar Jul 30 '23 07:07 JaegerMaster

Yeah this is a known issue. I suspect that the service that Beets-audible uses hasn't gotten info on the chapters yet for new releases.

Does it work for you if you try it 12 - 24 hours later?

Neurrone avatar Jul 30 '23 15:07 Neurrone

Nah. I have been seeing this for the last 1 week atleast. i think somehow audible is blocking audnexus from getting the chapter data.

In that case, can we change the script to not fail and tag the book atleast without chapter data? It can use the existing chapter titles and change anything?

JaegerMaster avatar Jul 30 '23 15:07 JaegerMaster

There is no existing chapter titles to fall back on, since the Audnex API is the source of data.

We'll have to wait for updates in the issue you created, laxamentumtech/audnexus#658

Neurrone avatar Jul 30 '23 16:07 Neurrone

No worries. Thanks.

Lets wait and see.

JaegerMaster avatar Jul 30 '23 16:07 JaegerMaster

Audible requires authentication again for chapters. I've re-added auth to the Audnexus project. This should be merged into production shortly.

djdembeck avatar Jul 30 '23 21:07 djdembeck

Thanks. Works properly now.

JaegerMaster avatar Aug 05 '23 18:08 JaegerMaster

I think this has cropped up again.

JaegerMaster avatar Sep 23 '23 05:09 JaegerMaster

I can confirm. Wonder if the error can be handled instead of crashing.

TaroAM avatar Sep 23 '23 16:09 TaroAM