Bug 232849 - folder.jpg is not (always) shown
Summary: folder.jpg is not (always) shown
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: amarok
Classification: Applications
Component: Tools/Cover Manager (show other bugs)
Version: 2.3.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-31 15:16 UTC by ernst.blaauw
Modified: 2011-01-26 21:12 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ernst.blaauw 2010-03-31 15:16:26 UTC
Version:           2.3.0 (using Devel)
OS:                Linux
Installed from:    Compiled sources

In my music collection, each album has it's own directory. In such a directory, I always save the cover art as folder.jpg (I think this is a general convention). However, Amarok does not always show the folder.jpg; instead, it shows a cd case. 
Amarok does show a cover for some albums. I don't know if Amarok grabs those from Amazon, from file tags or that in those cases, it does read the folder.jpg correctly.

Still stands that for a great amount of albums, no cover art is shown despite a folder.jpg.
Comment 1 ernst.blaauw 2010-03-31 15:30:28 UTC
I guess I have filled in something wrong in the wizard. I'm running Ubuntu Lucid 64-bit (now running KDE 4.4.2 according to Amarok's about), and this Amarok is from the repo's and not compiled from source:

$ apt-cache policy  amarok
amarok:
  Installed: 2:2.3.0-0ubuntu2
  Candidate: 2:2.3.0-0ubuntu2
  Version table:
 *** 2:2.3.0-0ubuntu2 0
        500 http://nl.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status
     2:2.3.0-0ubuntu1~ppa2 0
        500 http://ppa.launchpad.net/kubuntu-ppa/experimental/ubuntu/ lucid/main Packages
Comment 2 Rick W. Chen 2010-05-09 12:46:22 UTC
There are two things in Amarok that can set album covers automatically: the collection scanner and cover fetcher.

The collection scanner adds music to the local collection. When it finds new music, it will see if there are any images in the same folder. If there are, it would choose one as cover in the following order: front -> cover -> large -> folder (as a part of the filename). Scanning is initiated automatically when new music is added (defualt), or done manually.

The cover fetcher gets images from Last.fm (the automatic one, at least) if found. It is initiated automatically whenever the album comes up somewhere in the UI (default setting) and it does not have a cover image assigned already. If you unset an album's cover image by hand, the cover fetcher will not do the above in the same session (I think).

So, only the collection scanner will pick up a "folder.jpg" and it only happens when it scans them. If the cover is set by something else (cover fetcher or manually) and then a "folder.jpg" is added inside the directory, Amarok won't do anything with it, even with a scan (except the full collection scan).

Given an album already in the collection, which does not have a cover assigned, and automatic cover fetching turned off (or it can't find any), all you need to do after adding a "folder.jpg" is to start an incremental scan (menubar -> tools -> update collection). 

Hopefully this helps.
Comment 3 Greg 2011-01-19 19:26:51 UTC
Can we reopen this? I seem to be affected by this bug.

All of my albums are in individual folders and have a folder.jpg. I do not use the cover fetcher nor have I manually set/unset covers. When I add a new album to my collection, the folder.jpg is not being picked up. If I force an incremental scan with "update collection", it still does not pick up the folder.jpg.

I don't know how to track this down... let me know.

Thanks,
Greg
Comment 4 Myriam Schweingruber 2011-01-20 13:16:10 UTC
Greg, could you tell us a bit more about your system and Amarok version? I can't ust reopen old reports like this. Also make sure the file is in the same folder as the music files are, not in a sub- or parent folder of the tracks.

FWIW, my saved covers show up correctly here.
Comment 5 Greg 2011-01-20 19:31:02 UTC
Sorry about that.
I'm running Kubuntu 10.10
kernel 2.6.35-24-generic
Amarok 2.3.2-0ubuntu4

Hmmm, now that I'm looking closely at it I see some weird behavior. I added one album/folder to my collection around 1/5/11, Amarok has not picked up the folder.jpg. I added another album/folder on 1/12/11, Amarok did successfully pick up the folder.jpg for this album. I just verified that folder.jpg is in fact present and that the permissions are all the same for both cases. Tools > Update Collection fails to add the cover.

Interestingly, I mirror my collection on a second machine and on that machine, Amarok has picked up the folder.jpg. Both machines are running the same versions of software.

I don't know how to track down the issue, please advise.
Comment 6 Greg 2011-01-26 18:32:17 UTC
(In reply to comment #2)
> Given an album already in the collection, which does not have a cover assigned,
> and automatic cover fetching turned off (or it can't find any), all you need to
> do after adding a "folder.jpg" is to start an incremental scan (menubar ->
> tools -> update collection). 

I've been experimenting with this a bit and cannot get the above behavior to happen. If I add an album to my collection without a folder.jpg, then later add a folder.jpg and do an "update collection" the new folder.jpg is not added.
Comment 7 Myriam Schweingruber 2011-01-26 21:12:32 UTC
Greg, could you please upgrade to Amarok 2.4? What you experience seems to be a duplicate of bug 225862 which is solved in the new version.