[Slim-Checkins] r8752 - /trunk/server/Slim/Web/Graphics.pm
kdf at svn.slimdevices.com
kdf at svn.slimdevices.com
Tue Aug 1 08:26:58 PDT 2006
Author: kdf
Date: Tue Aug 1 08:26:56 2006
New Revision: 8752
URL: http://svn.slimdevices.com?rev=8752&view=rev
Log:
Bug: n/a
Description: embedded artwork uses 1 as the filepath, which is a problem for the $cachekey. Use $trackid instead, unless a cooler idea comes along later.
Modified:
trunk/server/Slim/Web/Graphics.pm
Modified: trunk/server/Slim/Web/Graphics.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Web/Graphics.pm?rev=8752&r1=8751&r2=8752&view=diff
==============================================================================
--- trunk/server/Slim/Web/Graphics.pm (original)
+++ trunk/server/Slim/Web/Graphics.pm Tue Aug 1 08:26:56 2006
@@ -77,9 +77,9 @@
($imagePath, $mtime) = $obj->coverArtPath($image);
- if ($imagePath) {
-
- $cacheKey = "$imagePath-$resizeMode-$requestedWidth-$requestedHeight-$requestedBackColour";
+ if ($trackid) {
+
+ $cacheKey = "$trackid-$resizeMode-$requestedWidth-$requestedHeight-$requestedBackColour";
$::d_artwork && msg(" artwork cache key: $cacheKey\n");
More information about the checkins
mailing list