This was annoying me as well, and no response from Felix to my earlier
post so I thought I'd have a try...

Changing line 1135 onwards 
from:
        $newVol =~ m/(^[+-])/
        $sign = $1

        $log->debug( "*** IR-Blaster: sign: " . $sign . "\n");
        
        if( $sign eq "") {
                if( $newVol > 50) {
                        $up = 1;
                }
        } else {
                if( $newVol > 0) {
                        $up = 1;
                }
        }

to:
        ($sign) = $newVol =~ m/(^[+-])/;
        $log->debug( "*** IR-Blaster: sign: " . $sign . "\n");
        
        if( $sign eq "") {
                my $fixedVolume = $prefs->client($client)->get('fixedvolume') 
|| 50;
                if( $newVol > $fixedVolume) {
                        $up = 1;
                }
        } else {
                if( $newVol > 0) {
                        $up = 1;
                }
        }

seems to do the trick for me. The fixed volume needs to be set in the
middle of the range (e.g. 60) so that changes can go either side)

James


-- 
James
------------------------------------------------------------------------
James's Profile: http://forums.slimdevices.com/member.php?userid=189
View this thread: http://forums.slimdevices.com/showthread.php?t=40658

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to