Example #1
0
 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)
Example #3
0
 def functionCallPlayerRandomTrack(self, *args):
     function_call("{command} -c=randomtrack".format(command=self.playout_control), shell=True)
Example #4
0
 def functionCallPlayerSeekFarBack(self, *args):
     function_call("{command} -c=playerseek -v=-60".format(command=self.playout_control), shell=True)
Example #5
0
 def functionCallPlayerStop(self, *args):
     function_call("{command} -c=playerstop".format(command=self.playout_control),
             shell=True)
Example #6
0
 def functionCallToggleWifi(self, *args):
     function_call("{command} -c=togglewifi".format(command=self.playout_control), shell=True)
Example #7
0
 def functionCallRecordPlayLatest(self, *args):
     function_call("{command} -c=recordplaylatest".format(command=self.playout_control), shell=True)
Example #8
0
 def functionCallRecordStop(self, *args):
     function_call("{command} -c=recordstop".format(command=self.playout_control), shell=True)
Example #9
0
 def functionCallVol0(self, *args):
     function_call("{command} -c=mute".format(command=self.playout_control), shell=True)
Example #10
0
 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)
Example #14
0
 def functionCallPlayerRandomFolder(self, *args):
     function_call("{command} -c=randomfolder".format(command=self.playout_control), shell=True)
Example #15
0
 def functionCallPlayerPauseForce(self, *args):
     function_call("{command} -c=playerpauseforce".format(command=self.playout_control), shell=True)
Example #16
0
 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)