Bug 1437 - Thumbnail not displayed with alternate .jpg file
: Thumbnail not displayed with alternate .jpg file
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 6.0.1
: PC All
: P2 minor (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-26 01:21 UTC by Patrick Dixon
Modified: 2008-09-15 14:37 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Dixon 2005-04-26 01:21:05 UTC
Most of my artwork is stored as covers.jpg in the album directory.  However, I
have also used default.jpg as a placemarker in Browse Artwork for albums which
don't have cover artwork.

Server Settings -> Interface -> Artwork is set to default.jpg

1) on a Windows file system, a shortcut called default.jpg pointing to a 'real'
.jpg doesn't appear to be followed.

2) even with the 'real' default.jpg present, the thumbnail never seem to get
created, even though the cover is found when browsing to the album details.
Comment 1 KDF 2005-04-26 02:22:32 UTC
do you have d_artwork logs for the given albums that fail to find default.jpg?
Comment 2 Patrick Dixon 2005-04-26 02:52:03 UTC
2005-04-26 10:38:03.4295 Retrieving artwork (thumb) for:
file:///Music/Music2/Compliation/Soul%20Searching%20-%20Disc%202/10-Teddy%20Pendergrass-The%20Whole%20Town%27s%20Laughing%20At%20Me.flac
2005-04-26 10:38:03.4567 Updating image for
file:///Music/Music2/Compliation/Soul%20Searching%20-%20Disc%202/10-Teddy%20Pendergrass-The%20Whole%20Town%27s%20Laughing%20At%20Me.flac
2005-04-26 10:38:03.4684 Looking for image files in
/Music/Music2/Compliation/Soul Searching - Disc 2
2005-04-26 10:38:37.9865 Retrieving artwork (thumb) for:
file:///Music/Music2/Compliation/Soul%20Searching%20-%20Disc%202/10-Teddy%20Pendergrass-The%20Whole%20Town%27s%20Laughing%20At%20Me.flac
2005-04-26 10:38:37.9896 Updating image for
file:///Music/Music2/Compliation/Soul%20Searching%20-%20Disc%202/10-Teddy%20Pendergrass-The%20Whole%20Town%27s%20Laughing%20At%20Me.flac
2005-04-26 10:38:37.9996 Looking for image files in
/Music/Music2/Compliation/Soul Searching - Disc 2
2005-04-26 10:39:11.0840 Retrieving artwork (thumb) for:
file:///Music/Music2/Compliation/Soul%20Searching%20-%20Disc%202/10-Teddy%20Pendergrass-The%20Whole%20Town%27s%20Laughing%20At%20Me.flac
2005-04-26 10:39:11.0870 Updating image for
file:///Music/Music2/Compliation/Soul%20Searching%20-%20Disc%202/10-Teddy%20Pendergrass-The%20Whole%20Town%27s%20Laughing%20At%20Me.flac
2005-04-26 10:39:11.0971 Looking for image files in
/Music/Music2/Compliation/Soul Searching - Disc 2

It's a 2 disk set with seperate dirs and 'default.jpg' in both.  I've tried
slimserver set to group disks and not - presently set to group.

Note that all my other dirs have a cover.jpg which gets picked up fine-ish - I
assume that ss looks for the standard names in addition to the specified name
(which is what I want).  It would be good to know what order it searches in.

I seem to have problems consistently generating the correct thumbnails after a
rescan / wipe cache in general - but I haven't found anything consistent to
report and it usually seems to come right in the end.  This one is persistent
though ...

Comment 3 Patrick Dixon 2005-04-26 02:57:30 UTC
OK here's some output from the other ones it's confusing at the moment.  It has
the Herbie Hanncock thumbnail for both Herbie Hancock and Kai Eckhardt.

2005-04-26 10:42:25.9478 Retrieving artwork (cover) for:
file:///Music/Music1/Kai%20Eckhardt/Honour%20Simplicity,%20Respect%20The%20Flow/04-Kai%20Eckhardt-Mamba%20Point.flac
2005-04-26 10:42:25.9509 Updating image for
file:///Music/Music1/Kai%20Eckhardt/Honour%20Simplicity,%20Respect%20The%20Flow/04-Kai%20Eckhardt-Mamba%20Point.flac
2005-04-26 10:42:25.9653 Looking for image files in /Music/Music1/Kai
Eckhardt/Honour Simplicity, Respect The Flow
2005-04-26 10:42:25.9671 Using existing cover: /Music/Music1/Kai Eckhardt/Honour
Simplicity, Respect The Flow/cover.jpg
2005-04-26 10:42:26.2364 Retrieving artwork (cover) for:
file:///Music/Music1/Kai%20Eckhardt/Honour%20Simplicity,%20Respect%20The%20Flow/05-Kai%20Eckhardt-Road%20or%20the%20Avenue.flac
2005-04-26 10:42:26.2399 Updating image for
file:///Music/Music1/Kai%20Eckhardt/Honour%20Simplicity,%20Respect%20The%20Flow/05-Kai%20Eckhardt-Road%20or%20the%20Avenue.flac
2005-04-26 10:42:26.2550 Looking for image files in /Music/Music1/Kai
Eckhardt/Honour Simplicity, Respect The Flow
2005-04-26 10:42:26.2568 Using existing cover: /Music/Music1/Kai Eckhardt/Honour
Simplicity, Respect The Flow/cover.jpg
2005-04-26 10:42:26.5365 Retrieving artwork (cover) for:
file:///Music/Music1/Kai%20Eckhardt/Honour%20Simplicity,%20Respect%20The%20Flow/06-Kai%20Eckhardt-Melting%20Pot.flac
2005-04-26 10:42:26.5397 Updating image for
file:///Music/Music1/Kai%20Eckhardt/Honour%20Simplicity,%20Respect%20The%20Flow/06-Kai%20Eckhardt-Melting%20Pot.flac
2005-04-26 10:42:26.5542 Looking for image files in /Music/Music1/Kai
Eckhardt/Honour Simplicity, Respect The Flow
2005-04-26 10:42:26.5559 Using existing cover: /Music/Music1/Kai Eckhardt/Honour
Simplicity, Respect The Flow/cover.jpg
2005-04-26 10:42:26.8341 Retrieving artwork (cover) for:
file:///Music/Music1/Kai%20Eckhardt/Honour%20Simplicity,%20Respect%20The%20Flow/07-Kai%20Eckhardt-Queen%20of%20Cups.flac
2005-04-26 10:42:26.8373 Updating image for
file:///Music/Music1/Kai%20Eckhardt/Honour%20Simplicity,%20Respect%20The%20Flow/07-Kai%20Eckhardt-Queen%20of%20Cups.flac
2005-04-26 10:42:26.8530 Looking for image files in /Music/Music1/Kai
Eckhardt/Honour Simplicity, Respect The Flow
2005-04-26 10:42:26.8548 Using existing cover: /Music/Music1/Kai Eckhardt/Honour
Simplicity, Respect The Flow/cover.jpg
2005-04-26 10:42:27.1297 Retrieving artwork (cover) for:
file:///Music/Music1/Kai%20Eckhardt/Honour%20Simplicity,%20Respect%20The%20Flow/08-Kai%20Eckhardt-Into%20The%20Blue.flac
2005-04-26 10:42:27.1329 Updating image for
file:///Music/Music1/Kai%20Eckhardt/Honour%20Simplicity,%20Respect%20The%20Flow/08-Kai%20Eckhardt-Into%20The%20Blue.flac
2005-04-26 10:42:27.1476 Looking for image files in /Music/Music1/Kai
Eckhardt/Honour Simplicity, Respect The Flow
2005-04-26 10:42:27.1493 Using existing cover: /Music/Music1/Kai Eckhardt/Honour
Simplicity, Respect The Flow/cover.jpg
2005-04-26 10:42:27.4182 Retrieving artwork (cover) for:
file:///Music/Music1/Kai%20Eckhardt/Honour%20Simplicity,%20Respect%20The%20Flow/09-Kai%20Eckhardt-Speak%20Without%20Words.flac
2005-04-26 10:42:27.4213 Updating image for
file:///Music/Music1/Kai%20Eckhardt/Honour%20Simplicity,%20Respect%20The%20Flow/09-Kai%20Eckhardt-Speak%20Without%20Words.flac
2005-04-26 10:42:27.4362 Looking for image files in /Music/Music1/Kai
Eckhardt/Honour Simplicity, Respect The Flow
2005-04-26 10:42:27.4380 Using existing cover: /Music/Music1/Kai Eckhardt/Honour
Simplicity, Respect The Flow/cover.jpg
2005-04-26 10:42:27.7182 Retrieving artwork (cover) for:
file:///Music/Music1/Kai%20Eckhardt/Honour%20Simplicity,%20Respect%20The%20Flow/10-Kai%20Eckhardt-Remember%20Yourself.flac
2005-04-26 10:42:27.7216 Updating image for
file:///Music/Music1/Kai%20Eckhardt/Honour%20Simplicity,%20Respect%20The%20Flow/10-Kai%20Eckhardt-Remember%20Yourself.flac
2005-04-26 10:42:27.7361 Looking for image files in /Music/Music1/Kai
Eckhardt/Honour Simplicity, Respect The Flow
2005-04-26 10:42:27.7379 Using existing cover: /Music/Music1/Kai Eckhardt/Honour
Simplicity, Respect The Flow/cover.jpg
2005-04-26 10:42:27.7891 Retrieving artwork (cover) for:
file:///Music/Music1/Kai%20Eckhardt/Honour%20Simplicity,%20Respect%20The%20Flow/01-Kai%20Eckhardt-In%20The%20Pocket.flac
2005-04-26 10:42:27.8046 Found cached cover file: /Music/Music1/Kai
Eckhardt/Honour Simplicity, Respect The Flow/cover.jpg
2005-04-26 10:42:28.2458 Retrieving artwork (cover) for:
file:///Music/Music1/Kai%20Eckhardt/Honour%20Simplicity,%20Respect%20The%20Flow/01-Kai%20Eckhardt-In%20The%20Pocket.flac
2005-04-26 10:42:28.2578 Found cached cover file: /Music/Music1/Kai
Eckhardt/Honour Simplicity, Respect The Flow/cover.jpg
2005-04-26 10:42:31.1723 Retrieving artwork (thumb) for:
file:///Music/Music2/Compliation/Soul%20Searching%20-%20Disc%202/10-Teddy%20Pendergrass-The%20Whole%20Town%27s%20Laughing%20At%20Me.flac
2005-04-26 10:42:31.1757 Updating image for
file:///Music/Music2/Compliation/Soul%20Searching%20-%20Disc%202/10-Teddy%20Pendergrass-The%20Whole%20Town%27s%20Laughing%20At%20Me.flac
2005-04-26 10:42:31.1868 Looking for image files in
/Music/Music2/Compliation/Soul Searching - Disc 2
2005-04-26 10:42:32.0318 Retrieving artwork (cover) for:
file:///Music/Music1/Herbie%20Hancock/Head%20Hunters/01-Herbie%20Hancock-Chameleon.flac
2005-04-26 10:42:32.0350 Updating image for
file:///Music/Music1/Herbie%20Hancock/Head%20Hunters/01-Herbie%20Hancock-Chameleon.flac
2005-04-26 10:42:32.0478 Looking for image files in /Music/Music1/Herbie
Hancock/Head Hunters
2005-04-26 10:42:32.0728 Found cover file: /Music/Music1/Herbie Hancock/Head
Hunters/cover.jpg

2005-04-26 10:42:32.3739 Retrieving artwork (cover) for:
file:///Music/Music1/Herbie%20Hancock/Head%20Hunters/02-Herbie%20Hancock-Watermelon%20Man.flac
2005-04-26 10:42:32.3772 Updating image for
file:///Music/Music1/Herbie%20Hancock/Head%20Hunters/02-Herbie%20Hancock-Watermelon%20Man.flac
2005-04-26 10:42:32.3902 Looking for image files in /Music/Music1/Herbie
Hancock/Head Hunters
2005-04-26 10:42:32.3920 Using existing cover: /Music/Music1/Herbie Hancock/Head
Hunters/cover.jpg
2005-04-26 10:42:32.6783 Retrieving artwork (cover) for:
file:///Music/Music1/Herbie%20Hancock/Head%20Hunters/03-Herbie%20Hancock-Sly.flac
2005-04-26 10:42:32.6817 Updating image for
file:///Music/Music1/Herbie%20Hancock/Head%20Hunters/03-Herbie%20Hancock-Sly.flac
2005-04-26 10:42:32.6944 Looking for image files in /Music/Music1/Herbie
Hancock/Head Hunters
2005-04-26 10:42:32.6961 Using existing cover: /Music/Music1/Herbie Hancock/Head
Hunters/cover.jpg
2005-04-26 10:42:33.1354 Retrieving artwork (cover) for:
file:///Music/Music1/Herbie%20Hancock/Head%20Hunters/04-Herbie%20Hancock-Vein%20Melter.flac
2005-04-26 10:42:33.1388 Updating image for
file:///Music/Music1/Herbie%20Hancock/Head%20Hunters/04-Herbie%20Hancock-Vein%20Melter.flac
2005-04-26 10:42:33.1530 Looking for image files in /Music/Music1/Herbie
Hancock/Head Hunters
2005-04-26 10:42:33.1549 Using existing cover: /Music/Music1/Herbie Hancock/Head
Hunters/cover.jpg
2
Comment 4 KDF 2005-04-26 03:11:13 UTC
this sounds liek that same problem reported a couple times in a previous bug
(1193).  The images are cached by the browser across scans, when id's for an
album may change.  this cuases the wrong image to show.  if you right click on
the thumbnail, choose view image, then reload that image, you get the right one
for those cases.  

as for default.jpg not being found, it is either part of the same problem, or
i'd need to see d_artwork during scan showing where it should be found, but isn't.
Comment 5 Patrick Dixon 2005-04-26 03:28:29 UTC
I though that was the d_plugins output?  Soul Searching is the album in question
- it a compliation with Disk 1 and Disk 2 in seperate dir, so I'm not sure why
it's so hung up on Disk 2 and Teddy Pendergrass in particular.

If you want me to do anything more specific, you'll have to spell it out I'm afraid!

email me directly on <firstname>@<lastname>.flyer.co.uk if it's easier.
Comment 6 KDF 2005-04-26 03:54:44 UTC
d_artwork is specific to the artwork handling, as opposed to debug for plugin
API.  the filenames used in the Artwork and Thumbnail settings take precedence
over the standard names (at least, it should).  You will need to have the
filename set for both settings.  the help section lists the standard filenames
and the order of precedence.  the variable naming is currently broken, but
default.jpg should work.  what I'm seeing in the first log looks like a simple
retrieval for a browse_artwork load.  thumbnails are only grabbed during the
file scan so it would need to be after a wipe cache or during a rescan.  What I
was looking for would be test like "Looking for image files in...". 

I would suggest setting d_artwork, then triggering a wipe cache.  The log will
be very large (depending on library size, but only need the section for Teddy
Pendergrass really). If what you pasted already is a wipe cache, then that is
definately strange.  It certainly used to be a lot more chatty than that. I'll
give this a test on my smaller setup in the morning.
Comment 7 Patrick Dixon 2005-04-26 04:23:46 UTC
OK, got it!  You HAVE to have thumbnail set to 'default.jpg' as well.  I'd
wrongly assumed that thumbnail would use default.jpg because I'd defined it for
the main Artwork.

The Windows shortcut link doesn't work though - don't know if *nix soft links work.

Thanks for your help.
Comment 8 KDF 2005-04-26 09:19:19 UTC
perfect :)

so, do you consider this fixed or would you prefer to keep this as an
enhancement to enable shortcuts to be used?  The wrong thumbnail issue is part
of 1193.
Comment 9 Patrick Dixon 2005-04-26 09:34:45 UTC
Fixed (if it was ever broken).

I can live without the windows link.

Thanks for the tip on the 1193 work-a-round.
Comment 10 Chris Owens 2006-06-16 14:41:59 UTC
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006.  I am setting them to targets of 6.2.1 to keep them from showing up in my queries.