ACK72 / kavya-paperback

Kavya, A Kavita client extension, for Paperback
https://ACK72.github.io/kavya-paperback
BSD 2-Clause "Simplified" License
17 stars 4 forks source link

[BUG] Archive images not loading #1

Closed therobbiedavis closed 1 year ago

therobbiedavis commented 1 year ago

Describe the bug When I click to read a chapter in the extension no images are loaded

To Reproduce Steps to reproduce the behavior:

  1. Go to Series
  2. Click on Chapter 1
  3. See no images loaded

Expected behavior Images are loaded

Screenshots IMG_6170 IMG_6171 IMG_6172 The XML of from https://kavita.[REDACTED]/api/opds/[REDACTED]series/4451/volume/13241/chapter/131229 image

Additional logs 18-02.Paperback.txt I've redacted the sensitive information

therobbiedavis commented 1 year ago

It looks to be using the wrong series ID, and the chapter ID for the volume ID in the OPDS url call: https://kavita.[REDACTED]/api/opds/[REDACTED]/series/**4**/volume/**131229**/chapter/**131229** When it should be: https://kavita.[REDACTED]/api/opds/[REDACTED]/series/4451/volume/13241/chapter/131229

ACK72 commented 1 year ago

I guess this bug is caused by a mismatch between volumeId and chapterId. Currently, this plugin assumes volumeId and chapterId are the same.

I'm planning to remove the implementation of opds soon and re-implement it with kavita api. It will fix this issue. Thanks for reporting the bug.

ACK72 commented 1 year ago

The newer version of Kavya with Kavita API has been released. Hopefully it fixes this issue. I'll close this issue now. If you still have issues, please file an issue again.

By the way, there seems to be a paperback issue with the extension version not displaying properly. You might need to re-install paperback.

IMG_0744