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