Working through the code (line numbers are against the Debian
SqueezeCenter 7.0 package) the relevant bit of the HTML in
HTML/Default/index.html is:
Code:
--------------------
202 [% IF newVersion %]
203 <span id="newVersion">
204 <img src="[% webroot %]html/images/btn_info.gif"/> [% newVersion %]
205 </span>
206 [% END %]
--------------------
It turns out, checking through the code, that this ends up being set in
squeezecenter-server:
Code:
--------------------
908 my $url = "http://"
909 . Slim::Networking::SqueezeNetwork->get_server("update")
910 . "/update/?version=$VERSION&lang=" .
Slim::Utils::Strings::getLanguage();
911 my $http =
Slim::Networking::SimpleAsyncHTTP->new(\&checkVersionCB, \&checkVersionError);
912
913 # will call checkVersionCB when complete
914 $http->get($url);
915
920 # called when check version request is complete
921 sub checkVersionCB {
922 my $http = shift;
923
924 # store result in global variable, to be displayed by browser
925 if ($http->{code} =~ /^2\d\d/) {
926 $::newVersion = $http->content();
927 chomp($::newVersion);
--------------------
It eventually turns out that it is going to
http://update.squeezenetwork.com/update/?VERSION=7.0&lang=en (at least
for me) and that URL is producing the string we both see. So there is
either a bug in whatever produces that page, or someone has jumped the
gun on an impending release.
--
hypatia
------------------------------------------------------------------------
hypatia's Profile: http://forums.slimdevices.com/member.php?userid=14885
View this thread: http://forums.slimdevices.com/showthread.php?t=44772
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss