![]() Registered Member ![]()
|
Hi!
After fetching some album covers from amazon, some covers are only visible in the playlist window, but not in the OSD. Does anyone know how to debug this behavior? All of the images are valid, and can be viewed with an image viewer under ~/.kde/share/apps/amarok/albumcovers/large/ directory. |
![]() Registered Member ![]()
|
I've the same problem.
In 1.3.8. the same covers worked, in 1.4.4. some don't... Isn't there anyone who has an idea? |
![]() Registered Member ![]()
|
could not find any regularity but it seems that some covers are affected and some not
what doesn't mean that the affected covers don't appear ever: sometimes they are shown and sometimes not, but when a cover isn't shown on OSD it alway belongs to the small group of covers affected by that problem. |
![]() Registered Member ![]()
|
Any new info on this? I see this problem as well - for one song that does this, "Edit Track Information" "Summary" tab shows the cover properly...
|
![]() Moderator ![]()
|
It would be worth upgradng to 1.4.7 and seeing if you have the same problem.
It's also possible that there is a difference in the format of the picture or something silly like that. try replacing an affected image with one from another source and see if it still happens.
"There are two theories to arguing with women. Neither one works."
. If men could get pregnant, we'd learn the true meaning of "screaming nancyboy wuss" |
![]() Registered Member ![]()
|
I'm using 1.4.7. Tried changing the artwork for that album and it still does it... very strange. I'll try to see if I can reproduce it for some other tune - it's seems like a rare occurrence...
|
![]() Registered Member ![]()
|
Found a few others - some more info:
- It happens for the whole album - Looks fine in collection view when you expand that album under the band name - when dragging the song in the playlist view, you can properly see the album cover thumbnail - tried changing the artwork on the song to an image I downloaded manually, still doesn't show in OSD - sometimes, all albums by the same artist are affected So it almost looks to me like it's something to do with the songs themselves, or maybe the song or album names... maybe some tag info... Sometimes it's all songs by the same artist - I have about 5 U2 albums and queued up different songs from different albums and the OSD didn't show album art for any of em...
Last edited by jkerr on Sun Oct 28, 2007 12:49 pm, edited 1 time in total.
|
![]() Registered Member ![]()
|
For another test, I booted back to windows xp (I have dual-boot, both iTunes and Amarok are pointing to the same files on my NTFS partition), went into iTunes and cleared the album artwork for the first 3 tracks of 'The Joshua Tree' album (iTunes stores the images right in the MP3s). Then I searched in amazon and put the cover image back on for the 3rd track, saved and re-booted back to Gutsy. No change in behaviour.
|
![]() Moderator ![]()
|
can you post the track tag details for a non-working track please?
"There are two theories to arguing with women. Neither one works."
. If men could get pregnant, we'd learn the true meaning of "screaming nancyboy wuss" |
![]() Registered Member ![]()
|
Here's one (whole album is the same)
TItle: Where The Streets Have No Name Artist: U2 Composer: blank Album: The Joshua Tree Disk Number: blank Genre: Rock Track: 1 Year: 1987 Comment: blank Another thing to note is that it doesn't show the amarok icon instead of the cover art - others that have no cover art show the amarok icon. |
![]() Registered Member ![]()
|
Well, thought I'd try a few other things - thought it may be something with embedded images for covers in iTunes, so I went in to win xp and deleted the cover for the first 2 tracks on the Joshua tree album, rebooted to Ubuntu, didn't help.
I decided to try the SVN version of Amarok and after a bit of installing packages I didn't have, I got it to compile and run. Then the first two songs on the album showed the image properly in the OSD, so I thought it had something to do with iTunes embedded covers. So I went back to windows, deleted a few others for songs that the issue appears on, back to ubuntu and that didn't fix them... So looking at the site I saw how to configure to run in full debug mode, so re-compiled and installed and here's some interesting info I saw being spit out to console - the first block is for the first track on the album, the song that now shows the album art in the OSD properly, the second block is for another track that doesn't show an image in the OSD. Of note is the QImage::smoothScale: Image is a null image lines:
|
![]() Moderator ![]()
|
Can you try deleting the cached cover for the problem tracks? Perhaps view the file first, to see what it contains. It should be an image. That's the file referred to in
It's possible that Amarok's cached a bad file for those tracks - why, I have no idea, but could still be related to embedded covers.
"There are two theories to arguing with women. Neither one works."
. If men could get pregnant, we'd learn the true meaning of "screaming nancyboy wuss" |
![]() Registered Member ![]()
|
Interesting - I looked at that folder in file browser as icons, and there were some in there with an icon representing that they were an unknown type. I copied the one mentioned above to tmp.jpg but that couldn't be opened either. So I cleared that folder and re-opened "Bullet the Blue Sky" which doesn't show the image in the OSD and got the following, and a new 'bad' file was created in the tagcover folder...
So maybe it found the album cover somewhere but then had a problem re-sizing/converting then saving it? |
![]() Moderator ![]()
|
does that track still have an embedded cover? If so, what format is the file? I'm not sure that amarok supports all image file types - I suspect only jpg/png/maybe gif will work as covers.
"There are two theories to arguing with women. Neither one works."
. If men could get pregnant, we'd learn the true meaning of "screaming nancyboy wuss" |
![]() Registered Member ![]()
|
Well, it's definately the embedded image that's being extracted that's causing the problem: since I had it compiled with debug, I started sticking in debugs all over the place and isolated the line that saves the 'bad' image file (deleting all the files in my albumcovers/tagcover folder each run). I'd add some, run it, play the file, quit, and examine the output. It's the line:
in the CollectionDB::extractEmbeddedImage method of collectiondb.cpp Now to do some rebooting and see if I can learn anything else about the images embedded in problem MP3s... |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]