TortugaPower / BookPlayer

Player for your DRM-free audiobooks
GNU General Public License v3.0
1.65k stars 197 forks source link

Bug: all of the book photos deleted after the app crashed #1116

Closed Mailolipop closed 4 months ago

Mailolipop commented 8 months ago

Description

I changed the photos for the books and after I finished the app crashed and the photos were deleted image

Steps to reproduce the behavior

GianniCarlo commented 8 months ago

@Mailolipop hmmmm, it looks like the cached artworks were cleared by iOS, I hadn't considered this case, but yeah when the system requires it, it will clear the cache folder of the apps 🤔. I'll have to save the artworks on disk to avoid something similar in the future. For reference on file sizes, could you share a link of one of the artworks used? I'm trying to reproduce a crash that is happening on launch for some users, and so far I've been only adding test items, so this angle of adding artworks could be what I'm missing

Mailolipop commented 8 months ago

I used some artwork from a link but some of them are from my phones gallery. I used photos from this site. Photo: https://royalmtls.com/wp-content/uploads/2023/03/LN_EN_2nd_Vol_4.5-00.webp

Site: https://royalmtls.com/year-2-volume-4-5/

GianniCarlo commented 7 months ago

@Mailolipop the crash solved on 5.2.7 actually had to do with how artworks were being loaded. I've heard back from email support that the artworks have reappeared in 2 similar cases to this one, do you mind checking on the latest version if they load up correctly?

GianniCarlo commented 4 months ago

closing due to inactivity, but this should be already fixed, feel free to follow up though