def functionCallVolD(self, steps=None): if steps is None: function_call("{command} -c=volumedown".format(command=self.playout_control), shell=True) else: function_call("{command} -c=volumedown -v={steps}".format(steps=steps, command=self.playout_control), shell=True)
def functionCallVolU(steps=None): if steps is None: function_call("{command} -c=volumeup".format(command=playout_control), shell=True) else: function_call("{command} -c=volumeup -v={steps}".format(steps=steps, command=playout_control), shell=True)
def functionCallPlayerRandomTrack(self, *args): function_call("{command} -c=randomtrack".format(command=self.playout_control), shell=True)
def functionCallPlayerSeekFarBack(self, *args): function_call("{command} -c=playerseek -v=-60".format(command=self.playout_control), shell=True)
def functionCallPlayerStop(self, *args): function_call("{command} -c=playerstop".format(command=self.playout_control), shell=True)
def functionCallToggleWifi(self, *args): function_call("{command} -c=togglewifi".format(command=self.playout_control), shell=True)
def functionCallRecordPlayLatest(self, *args): function_call("{command} -c=recordplaylatest".format(command=self.playout_control), shell=True)
def functionCallRecordStop(self, *args): function_call("{command} -c=recordstop".format(command=self.playout_control), shell=True)
def functionCallVol0(self, *args): function_call("{command} -c=mute".format(command=self.playout_control), shell=True)
def functionCallShutdown(self, *args): function_call("{command} -c=shutdown".format(command=self.playout_control), shell=True)
def functionCallRecordStart(*args): function_call("{command} -c=recordstart".format(command=playout_control), shell=True)
def functionCallPlayerPause(*args): function_call("{command} -c=playerpause".format(command=playout_control), shell=True)
def functionCallPlayerNext(*args): function_call("{command} -c=playernext".format(command=playout_control), shell=True)
def functionCallPlayerRandomFolder(self, *args): function_call("{command} -c=randomfolder".format(command=self.playout_control), shell=True)
def functionCallPlayerPauseForce(self, *args): function_call("{command} -c=playerpauseforce".format(command=self.playout_control), shell=True)
def functionCallBluetoothToggle(self, *args): function_call("{command} -c=bluetoothtoggle -v=toggle".format(command=self.playout_control), shell=True)
def functionCallPlayerSeekBack(*args): function_call( "{command} -c=playerseek -v=-10".format(command=playout_control), shell=True)