Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

There's something for which I've been searching an answer for a while now, but to no avail, and it's strange to me, as it seems like a thing that people would talk about: one of those nice little nonsense that enhance the computing experience a little bit.

Anyway. I have a fair music collection. I save all the songs as ogg files. All is fine, and I can listen to the files, but there's something weird with the files in Nautilus: some have icons displaying their album art, while others don't, and I just can't understand WHY.

I read on this site today that it's a matter of embedding the album art to the file, but that's not true, as I embedded the album art to the files I wanted several times, to no avail. Furthermore, removing an embedded album art from a file didn't have any effect on those that ARE displaying the icons.

So my question is: How does it work? Where does Nautilus (or Ubuntu, I don't know) get the picture from? How do I edit it?

share|improve this question
add comment

3 Answers

up vote 1 down vote accepted

I believe it does in fact use the tags embedded in the file, which are usually called id3 tags, at least for MP3. I think ogg files read id3 tags, but may not read id3v2 tags (version 2). Some software writes one or the other, or sometimes both.

I've noticed that it takes a while for Nautilus to display the album art once the folder is first opened, but then it remembers them. I'm pretty sure it stores the images in ~/.thumbhnails/normal, but this directory can be very big, and opening it is a chore.

I've heard of a program called "cover thumbnailer" that makes nautilus work better; I haven't really tried it out myself, though.

share|improve this answer
    
I got it! I renamed the old "normal" folder, and it re-read the files and worked with the new embedded images. I probably won't install "cover thumbnailer", since it's not in the default repositories, and I'm trying to be cautious about it. Still, it's a little bit of a clumsy way to change the pictures. I know I can just set custom icons, but I can't do it to a group of images and it just comes out smaller and is a lot of work. Thank you for your answer, it really helped! –  Amir Adar Jun 30 '12 at 10:31
    
However... after checking several folders, it seems that not all of the files display any pictures (only the default music icon), even though I've embedded pictures into them just like I did with the rest. Why is that? Thanks again for putting me in the right direction. :) –  Amir Adar Jun 30 '12 at 10:40
    
Another note (and I'm sorry if I'm being annoying now) is that when I copy and paste the files it shows the icon as it should, but when I rename the files from "* (copy).ogg" back to "*.ogg", leave the folder and come back in, the icon is gone and is replaced again with the default music icon. So it seems to be holding some grudge against the files' names. –  Amir Adar Jun 30 '12 at 10:57
    
Remember, it takes a while to finally display the thumbnail if it's not in the directory; how long probably depends on how many files there are to search. Also, remember the pictures are stored in each file, not by album or directory, so some files may not have the embedded album art. Also, I'm guessing that the thumbnail filename is somehow keyed to the file's UUID, or something similar, so renaming may lose this connection. This is all educated guesses, by the way. –  Marty Fried Jun 30 '12 at 17:26
    
It takes a while, but it shows that it's loading a thumbnail, if it does indeed load one. Since it doesn't, it simply presents the default thumbnail for the filetype. I embedded the album art manually to each file in Easytag, so I know all the files are embedded. I don't really know what a UUID is, but I think I understand what you are saying. Still, the problem is that the file with the original name does not load a thumbnail, but a copy named "filename (copy).ogg" does load a thumbnail of the embedded image. Renaming the copy back to the original name removes the thumbnail. –  Amir Adar Jul 1 '12 at 22:33
show 1 more comment

You need to download the cover art for the album, place it in the album folder and give it one of these names:

  • folder.jpg
  • cover.jpg
  • Folder.jpeg

I use pictures that are 500x500, the default for album art used by most programs. This will show the album art in RhythmBox. To embed the album art in the file so it shows up in Nautilus, use easytag Install easytag to embed the album art into the .ogg file's meta tag. It's a laborious project, but in my book, doing it right the first time will save you from having to redo it again later.

share|improve this answer
1  
Yes, that's what I did, but for a long time it didn't work, and that was because the hidden icons folder already had icons specified for the filenames and it didn't agree to switch them. Deleting the icons folder solved that problem, as it recreated itself and added the right icons. –  Amir Adar Aug 3 '12 at 8:54
add comment

Correct me if I'm wrong, but I think your are affected by this bug https://bugs.launchpad.net/ubuntu/+source/totem/+bug/914313

share|improve this answer
    
Yes, that seems similar, however, the comment in the end says that Nautilus is unable to read the tags, while I successfully made it read them. I'll post a comment of my woraround, and hopefully it will be of use. –  Amir Adar Sep 8 '12 at 6:08
    
Unfortunately, your workaround didn't work. There are still some files which didn't show their thumbnails. Just like before; randomly, some of them did and the others didn't. –  Amr Ibrahim Sep 8 '12 at 8:14
    
I see. I don't know what this is about, then. Hope you manage to find a solution. –  Amir Adar Sep 8 '12 at 18:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.