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