Audnexus.bundle icon indicating copy to clipboard operation
Audnexus.bundle copied to clipboard

Update covers

Open garlik82 opened this issue 3 years ago • 12 comments

Any way to get audnexus API to update book covers?

Thanks in advance.

garlik82 avatar Aug 30 '22 12:08 garlik82

Yes. You can add ?update=1 to the audnexus URL of the book you want to update. Updates are allowed every 24hr per item.

I'm planning on adding some better integration to the plugin here soon.

djdembeck avatar Aug 30 '22 19:08 djdembeck

Is it instantaneous or does it take some time?

garlik82 avatar Aug 30 '22 21:08 garlik82

It should take less than 5 seconds. Cloudflare cache may take longer to update for you.

djdembeck avatar Aug 30 '22 22:08 djdembeck

I must be doing something wrong than. I tried updating the harry potter books cover but it’s still the same.

garlik82 avatar Aug 30 '22 22:08 garlik82

What is the ASIN?

djdembeck avatar Sep 03 '22 22:09 djdembeck

It's working on the API side but Plex still not pulling the updated cover. B00WX7Y0W2

garlik82 avatar Sep 04 '22 09:09 garlik82

It looks like it pulls in the new art:

2022-09-05 15:07:09,335 (148860bcdb38) :  DEBUG (networking:143) - Requesting 'https://api.audnex.us/books/B00WX7Y0W2'
2022-09-05 15:07:09,386 (148860bcdb38) :  DEBUG (networking:143) - Requesting 'https://m.media-amazon.com/images/I/8174SXcBn+L.jpg'
2022-09-05 15:07:09,574 (148860bcdb38) :  DEBUG (networking:175) - Not caching 'https://m.media-amazon.com/images/I/8174SXcBn+L.jpg' (content type 'image/jpeg' not cacheable in Agent plug-ins)

That being said, it is not set as the default. Is that the behaviour you are expecting?

djdembeck avatar Sep 05 '22 20:09 djdembeck

I still can't get the new artwork in Plex. where can I get audnexus.bundle logs in Plex?

garlik82 avatar Sep 05 '22 20:09 garlik82

Try version 0.4.1 now in develop: https://github.com/djdembeck/Audnexus.bundle/commit/bdb92b0a8fbca894a86ab67d830bebbabf811be9

Log files here: https://support.plex.tv/articles/201106148-channel-log-files/

EDIT: actually, sometimes it doesn't reset the default poster. Let me look into it further.

djdembeck avatar Sep 05 '22 20:09 djdembeck

Yep I had to manually select the image. running 0.4.1.

edit: it’s taking a really long time between updating the book in the API and showing the updated metadata in plex.

garlik82 avatar Sep 05 '22 21:09 garlik82

Cloudflare caches pages for 24hrs. From the time you updated to Cloudflare updating can vary.

djdembeck avatar Sep 06 '22 20:09 djdembeck

Been using ?update=1 and most of the ASIN I try never get updated. Tried books and authors. Am I not doing it right?

garlik82 avatar Sep 23 '22 05:09 garlik82

Items will now update every 30 days on their own.

djdembeck avatar Jul 25 '23 06:07 djdembeck

It looks like it pulls in the new art:

2022-09-05 15:07:09,335 (148860bcdb38) :  DEBUG (networking:143) - Requesting 'https://api.audnex.us/books/B00WX7Y0W2'
2022-09-05 15:07:09,386 (148860bcdb38) :  DEBUG (networking:143) - Requesting 'https://m.media-amazon.com/images/I/8174SXcBn+L.jpg'
2022-09-05 15:07:09,574 (148860bcdb38) :  DEBUG (networking:175) - Not caching 'https://m.media-amazon.com/images/I/8174SXcBn+L.jpg' (content type 'image/jpeg' not cacheable in Agent plug-ins)

That being said, it is not set as the default. Is that the behaviour you are expecting?

I'm seeing similar logs in m y setup and i am facing the same issue. I believe I am using the latest version with plex on docker.

Is there any config required to fix this?

theiamdude avatar Dec 24 '23 09:12 theiamdude