Stig,
I think your log leads back to where I found the previous issue:
_resizeImage in SkinManager.pm (the file you edited last time). LMS
seems to be spending a long time in there, for every image on the page.
Disable the images (set the option bottom left to "Text only") and
re-try. Would that improve the situation?
Could you please edit that file again and apply the following few
changes:
Code:
--------------------
diff --git a/Slim/Web/Template/SkinManager.pm
b/Slim/Web/Template/SkinManager.pm
index 2c241d5..88e3d0f 100644
--- a/Slim/Web/Template/SkinManager.pm
+++ b/Slim/Web/Template/SkinManager.pm
@@ -269,18 +269,23 @@
my ($host) = Slim::Utils::Misc::crackURL($url);
+my $t = Time::HiRes::time();
# don't use imageproxy on local network
if ( $host && (Slim::Utils::Network::ip_is_private($host) ||
$host =~ /localhost/i) ) {
+warn "local: " . (Time::HiRes::time() - $t);
return $url;
}
# fall back to using external image proxy for external resources
elsif ( !main::NOMYSB && $url =~ m{^https?://} ) {
+warn "mysb: " . (Time::HiRes::time() - $t);
return Slim::Networking::SqueezeNetwork->url(
"/public/imageproxy?w=$width&h=$height&u=" .
uri_escape($url)
);
}
+warn "imageproxy: " . (Time::HiRes::time() - $t);
+
# $url comes with resizing parameters
if ( $url =~
/_((?:[0-9X]+x[0-9X]+)(?:_\w)?(?:_[\da-fA-F]+)?(?:\.\w+)?)$/ ) {
return $url;
--------------------
It would hopefully tell us whether the issue is ip_is_private (again).
Michael
http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=107155
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/beta