--- Information.pm.old 2005-11-28 14:49:16.039100800 -0800 +++ Information.pm 2005-11-28 14:48:01.649428000 -0800 @@ -143,7 +143,7 @@ sub init { 'externRefArgs' => 'CV', 'valueFunctRef' => [ sub { shift->name }, - sub { shift->model }, + sub { return playerModel(shift) }, sub { shift->revision }, sub { shift->ip }, sub { shift->port }, @@ -319,6 +319,21 @@ sub setMode { Slim::Buttons::Common::pushMode($client,'INPUT.List',\%params); } +sub playerModel { + my $client = shift; + + # special case for squeezebox v3 (can't use in $client->model due to some images + # expecting "squeezebox" for v1-3) + if ($client->macaddress =~ /^00:04:20((:\d\d){3})/) { + my $id = $1; + $id =~ s/://g; + if ($id > "60000") { + return "Squeezebox v3"; + } + } + return $client->model; +} + sub updateSignalStrength { my $client = shift;