예제 #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)
예제 #2
0
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)
예제 #3
0
 def functionCallPlayerRandomTrack(self, *args):
     function_call("{command} -c=randomtrack".format(command=self.playout_control), shell=True)
예제 #4
0
 def functionCallPlayerSeekFarBack(self, *args):
     function_call("{command} -c=playerseek -v=-60".format(command=self.playout_control), shell=True)
예제 #5
0
 def functionCallPlayerStop(self, *args):
     function_call("{command} -c=playerstop".format(command=self.playout_control),
             shell=True)
예제 #6
0
 def functionCallToggleWifi(self, *args):
     function_call("{command} -c=togglewifi".format(command=self.playout_control), shell=True)
예제 #7
0
 def functionCallRecordPlayLatest(self, *args):
     function_call("{command} -c=recordplaylatest".format(command=self.playout_control), shell=True)
예제 #8
0
 def functionCallRecordStop(self, *args):
     function_call("{command} -c=recordstop".format(command=self.playout_control), shell=True)
예제 #9
0
 def functionCallVol0(self, *args):
     function_call("{command} -c=mute".format(command=self.playout_control), shell=True)
예제 #10
0
 def functionCallShutdown(self, *args):
     function_call("{command} -c=shutdown".format(command=self.playout_control), shell=True)
예제 #11
0
def functionCallRecordStart(*args):
    function_call("{command} -c=recordstart".format(command=playout_control), shell=True)
예제 #12
0
def functionCallPlayerPause(*args):
    function_call("{command} -c=playerpause".format(command=playout_control), shell=True)
예제 #13
0
def functionCallPlayerNext(*args):
    function_call("{command} -c=playernext".format(command=playout_control), shell=True)
예제 #14
0
 def functionCallPlayerRandomFolder(self, *args):
     function_call("{command} -c=randomfolder".format(command=self.playout_control), shell=True)
예제 #15
0
 def functionCallPlayerPauseForce(self, *args):
     function_call("{command} -c=playerpauseforce".format(command=self.playout_control), shell=True)
예제 #16
0
 def functionCallBluetoothToggle(self, *args):
     function_call("{command} -c=bluetoothtoggle -v=toggle".format(command=self.playout_control), shell=True)
예제 #17
0
def functionCallPlayerSeekBack(*args):
    function_call(
        "{command} -c=playerseek -v=-10".format(command=playout_control),
        shell=True)