--- SlimServer_v2004-04-26/Slim/Utils/Prefs.pm 2004-04-26 17:26:07.000000000 +0100 +++ slimserver/Slim/Utils/Prefs.pm 2004-04-26 20:38:19.000000000 +0100 @@ -278,6 +278,10 @@ my $newvalue = shift; Slim::Web::History::adjustHistoryLength(); } + ,'webproxy' => sub { + my $newvalue = shift; + $ENV{HTTP_PROXY} = "http://".$newvalue; + } ); # Some routines to add and remove preference change handlers @@ -661,6 +665,9 @@ } close(NUPREFS); } + + # configure http proxy + $ENV{HTTP_PROXY} = "http://".$prefs{webproxy}; # see if we can write out the real prefs file $canWrite = (-e prefsFile() && -w prefsFile()) || (-w preferencesPath());