Stuart - isn't this something you'd want to check in to our trunk? Michael
Am 03.06.2009, 15:52 Uhr, schrieb Stuart Hickinbottom <stu...@hickinbottom.com>: > Thanks - I've added that as a third patch and pushed it back to GitHub. > Thanks for checking it for me. > > Stuart > > > On 03/06/2009 2:04 PM, ralphy wrote: >> Hopefully the last one. >> >> Code: >> -------------------- >> >> svn diff -r25815:25816 Slim/Player/SqueezeSlave.pm >> Index: Slim/Player/SqueezeSlave.pm >> =================================================================== >> --- Slim/Player/SqueezeSlave.pm (revision 25815) >> +++ Slim/Player/SqueezeSlave.pm (revision 25816) >> @@ -133,7 +133,7 @@ >> my $newvolume = shift; >> >> my $volume = $client->Slim::Player::Client::volume($newvolume, @_); >> - my $preamp = 255 - int(2 * >> $prefs->client($client)->get('preampVolumeControl')); >> + my $preamp = 255 - int(2 * >> ($prefs->client($client)->get('preampVolumeControl') || 0)); >> >> if (defined($newvolume)) { >> # Old style volume: >> >> -------------------- >> >> >> > _______________________________________________ > unix mailing list > unix@lists.slimdevices.com > http://lists.slimdevices.com/mailman/listinfo/unix -- Michael _______________________________________________ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix