I could not get album art resize to work properly.
The patch below seems to fix the problem, but I am unsure about possible side effects.
The problem is that the coverArt function does not return the contentType if it gets an input argument. An alternative to this patch is to change the return logic in the coverArt function.
Index: server/Slim/Web/Graphics.pm
================================================== =================
--- server/Slim/Web/Graphics.pm (revision 10518)
+++ server/Slim/Web/Graphics.pm (working copy)
@@ -102,7 +102,7 @@
unless ($cachedImage) {
- ($imageData, $contentType, $mtime) = $obj->coverArt($image);
+ ($imageData, $contentType, $mtime) = $obj->coverArt();
}
}
The patch below seems to fix the problem, but I am unsure about possible side effects.
The problem is that the coverArt function does not return the contentType if it gets an input argument. An alternative to this patch is to change the return logic in the coverArt function.
Index: server/Slim/Web/Graphics.pm
================================================== =================
--- server/Slim/Web/Graphics.pm (revision 10518)
+++ server/Slim/Web/Graphics.pm (working copy)
@@ -102,7 +102,7 @@
unless ($cachedImage) {
- ($imageData, $contentType, $mtime) = $obj->coverArt($image);
+ ($imageData, $contentType, $mtime) = $obj->coverArt();
}
}