[GH-ISSUE #1348] Album art doesn't cache #778

Closed
opened 2026-02-26 02:34:15 +03:00 by kerem · 6 comments
Owner

Originally created by @waaronking on GitHub (Aug 29, 2021).
Original GitHub issue: https://github.com/koel/koel/issues/1348

Describe the bug
Album art loads fine from last.fm, but after page refresh no art is cached. I've also recently purchased the android app and have noticed no album art in the mobile app. I'm hoping this is due to this caching problem.

Expected behavior
Album art is cached so upon refresh it doesn't have to re-query last.fm again

Environment

  • Koel version 5.1.5
  • OS: macOS Mojave
  • Browser: Chrome v92.0.4515.159 (current as of Aug 29, 2021)
  • PHP version 8.0.9
  • Node version 16.0.6

Additional context
I'd love any pointers on why this may not be working. Everything seems to work fine except for this. I've read through the docs multiple times and can't find anything I've missed. Thanks

Originally created by @waaronking on GitHub (Aug 29, 2021). Original GitHub issue: https://github.com/koel/koel/issues/1348 **Describe the bug** Album art loads fine from last.fm, but after page refresh no art is cached. I've also recently purchased the android app and have noticed no album art in the mobile app. I'm hoping this is due to this caching problem. **Expected behavior** Album art is cached so upon refresh it doesn't have to re-query last.fm again **Environment** - Koel version 5.1.5 - OS: macOS Mojave - Browser: Chrome v92.0.4515.159 (current as of Aug 29, 2021) - PHP version 8.0.9 - Node version 16.0.6 **Additional context** I'd love any pointers on why this may not be working. Everything seems to work fine except for this. I've read through the docs multiple times and can't find anything I've missed. Thanks
kerem closed this issue 2026-02-26 02:34:15 +03:00
Author
Owner

@phanan commented on GitHub (Sep 8, 2021):

Hmm, I can't seem to reproduce the bug. Via the web interface, if you drag an image file into a song's thumbnail, what happens?

<!-- gh-comment-id:914991024 --> @phanan commented on GitHub (Sep 8, 2021): Hmm, I can't seem to reproduce the bug. Via the web interface, if you drag an image file into a song's thumbnail, what happens?
Author
Owner

@waaronking commented on GitHub (Sep 8, 2021):

Thanks for the reply. I can drag album art into the song's thumbnail and it updates the picture for about 500ms and then reverts back to the koel bird. The network tab gives me a successful 200 PUT request during this action.

Do you recall where the album art is stored server side? It feels like it might be a permission issue, but I've attempted to check all the folders where I thought they should be stored and they all appear to have the same 755 permissions.

<!-- gh-comment-id:915036704 --> @waaronking commented on GitHub (Sep 8, 2021): Thanks for the reply. I can drag album art into the song's thumbnail and it updates the picture for about 500ms and then reverts back to the koel bird. The network tab gives me a successful 200 PUT request during this action. Do you recall where the album art is stored server side? It feels like it might be a permission issue, but I've attempted to check all the folders where I thought they should be stored and they all appear to have the same 755 permissions.
Author
Owner

@phanan commented on GitHub (Sep 8, 2021):

You should find the album arts (under randomized names) under public/…
folder. Sorry I’m AFK right now.

On Wed 8. Sep 2021 at 10:38 Aaron King @.***> wrote:

Thanks for the reply. I can drag album art into the song's thumbnail and
it updates the picture for about 500ms and then reverts back to the koel
bird. The network tab gives me a successful 200 PUT request during this
action.

Do you recall where the album art is stored server side? It feels like it
might be a permission issue, but I've attempted to check all the folders
where I thought they should be stored and they all appear to have the same
755 permissions.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/koel/koel/issues/1348#issuecomment-915036704, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB5O3URY5PZFR3EXSZAARETUA4OJTANCNFSM5DADDKRQ
.

<!-- gh-comment-id:915051164 --> @phanan commented on GitHub (Sep 8, 2021): You should find the album arts (under randomized names) under public/… folder. Sorry I’m AFK right now. On Wed 8. Sep 2021 at 10:38 Aaron King ***@***.***> wrote: > Thanks for the reply. I can drag album art into the song's thumbnail and > it updates the picture for about 500ms and then reverts back to the koel > bird. The network tab gives me a successful 200 PUT request during this > action. > > Do you recall where the album art is stored server side? It feels like it > might be a permission issue, but I've attempted to check all the folders > where I thought they should be stored and they all appear to have the same > 755 permissions. > > — > You are receiving this because you commented. > Reply to this email directly, view it on GitHub > <https://github.com/koel/koel/issues/1348#issuecomment-915036704>, or > unsubscribe > <https://github.com/notifications/unsubscribe-auth/AB5O3URY5PZFR3EXSZAARETUA4OJTANCNFSM5DADDKRQ> > . >
Author
Owner

@jaxt commented on GitHub (Dec 10, 2021):

open gd in php.ini
1639117724(1)

<!-- gh-comment-id:990654431 --> @jaxt commented on GitHub (Dec 10, 2021): open gd in php.ini ![1639117724(1)](https://user-images.githubusercontent.com/5998147/145527688-2004b04e-e656-4870-9c43-8777dd4cac1c.png)
Author
Owner

@phanan commented on GitHub (Dec 10, 2021):

It's been 2 months since the last update from the OP, so I'm assuming they've resolved the problem now.

<!-- gh-comment-id:990770058 --> @phanan commented on GitHub (Dec 10, 2021): It's been 2 months since the last update from the OP, so I'm assuming they've resolved the problem now.
Author
Owner

@waaronking commented on GitHub (Dec 14, 2021):

open gd in php.ini 1639117724(1)

Thanks @jaxt! I spent a lot of time debugging, but was never able to solve the issue. Hopefully this helps someone in the future! I ended up moving everything to Plex for music hosting. Thanks!

<!-- gh-comment-id:993129621 --> @waaronking commented on GitHub (Dec 14, 2021): > open gd in php.ini ![1639117724(1)](https://user-images.githubusercontent.com/5998147/145527688-2004b04e-e656-4870-9c43-8777dd4cac1c.png) Thanks @jaxt! I spent a lot of time debugging, but was never able to solve the issue. Hopefully this helps someone in the future! I ended up moving everything to Plex for music hosting. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#778
No description provided.