def setVolume ( self , volume ) : val = float ( val ) cmd = "volume %s" % val self . _execute ( cmd )
use python to change volume
Changes volume
def setVolume(self, volume):
        """Changes volume"""
        val = float(val)
        cmd = "volume %s" % val
        self._execute(cmd)