This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Flushing cover art cache in Amarok 2.2.2

Tags: None
(comma "," separated)
borje_88
Registered Member
Posts
2
Karma
0
OS
Hi!

I have about 300 albums in my collection but cover art is displayed only for 5 of them. I recently copied all cover images to the folders containing albums' music files. After that I deleted all files from ~/.kde/share/apps/amarok/albumcovers/cache. First, cover manager did show covers correctly but after a while, only 5 were displayed. So far i've tried

1. setting a custom cover, doesn't affect anything.

2. rescanning the collection, doesn't do a thing either.

3. uninstalling Amarok, removing ~/.kde/share/apps/amarok, re-installing, nothing changed.

I thought Amarok might have a table for cached cover images and they can't be shown because it refers to files that do no exist. I just can't find one so I'm starting to feel hopeless...
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS
Have a look at the folder in $HOME/.kde/share/apps/amarok/albumcovers/cache

I don't know if this helps, but I guess it is worth a try. Don't forget to backup the folder before erasing it's content, though.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
valoriez
KDE CWG
Posts
625
Karma
3
OS
borje_88 wrote:Hi!

I have about 300 albums in my collection but cover art is displayed only for 5 of them. I recently copied all cover images to the folders containing albums' music files. After that I deleted all files from ~/.kde/share/apps/amarok/albumcovers/cache. First, cover manager did show covers correctly but after a while, only 5 were displayed. So far i've tried

1. setting a custom cover, doesn't affect anything.

2. rescanning the collection, doesn't do a thing either.

3. uninstalling Amarok, removing ~/.kde/share/apps/amarok, re-installing, nothing changed.

I thought Amarok might have a table for cached cover images and they can't be shown because it refers to files that do no exist. I just can't find one so I'm starting to feel hopeless...


I have a question, because it seems that you have done everything right. What name did you give the cover images in the album folders? They should all be cover.jpg or .png -- NOT their own distinctive filenames, such as the album name. Perhaps you've done this, but I just thought I'd ask.

All the best,

Valorie
borje_88
Registered Member
Posts
2
Karma
0
OS
Ok, as my problems usually are, this one wasn't that complex either. The script I used (CopyCover2) to save images in respective folders played a trick on me. It saved images in png-format but the file names were cover.jpg. Apparently Amarok doesn't check the actual format of the images but assumes that the file extension is correct.
User avatar
Dieter Schroeder
Registered Member
Posts
714
Karma
7
OS
@valoriez
Filename of the cover image doesn't matter at all. Amarok seems to use the first image it finds in the folder. My cover images have artist-album.jpg as name and they were all found on scan. Perhaps special filenames work with more than one image in the folder.
On the other hand, this won't work with multiple artists and covers in one folder.
@mamarok
borje_88 wrote:
After that I deleted all files from ~/.kde/share/apps/amarok/albumcovers/cache

you answered:
Have a look at the folder in $HOME/.kde/share/apps/amarok/albumcovers/cache

So....???

Regards
m0nk


If men could get pregnant, abortion would be a sacrament.
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS
We have made some changes to the cover art handling in 2.3.

Maybe give 2.3-Beta a try? We like to get feedback, for fixing all remaining issues.


http://amarok.kde.org/en/releases/2.3/beta/1


--
Mark Kretschmann - Amarok Developer


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot]