experimental work with dif sampler playmodes

This commit is contained in:
langolierz
2018-04-26 07:44:17 +00:00
parent bd88a24aac
commit 5af091b9e2
6 changed files with 72 additions and 33 deletions

View File

@@ -93,6 +93,9 @@ class Actions(object):
def toggle_pause_on_player(self):
self.video_driver.current_player.toggle_pause()
def toggle_show_on_player(self):
self.video_driver.current_player.toggle_show()
def seek_forward_on_player(self):
self.video_driver.current_player.seek(30)
@@ -177,6 +180,9 @@ class Actions(object):
output_range = max_param - min_param
return int(( cc_value / 127 ) * output_range + min_param)
def update_video_settings(self, setting_value):
self.video_driver.update_video_settings()
def change_output_mode(self, setting_value):
if setting_value == 'hdmi':
subprocess.call(['tvservice', '-p'])