Skip to content

Instantly share code, notes, and snippets.

@LevitatingBusinessMan
Created July 13, 2022 14:42
Show Gist options
  • Select an option

  • Save LevitatingBusinessMan/89cd14f841e4ce3e93bd14593bebcf4d to your computer and use it in GitHub Desktop.

Select an option

Save LevitatingBusinessMan/89cd14f841e4ce3e93bd14593bebcf4d to your computer and use it in GitHub Desktop.
Makes pipresents work with lemur
diff --git a/pp_oscdriver.py b/pp_oscdriver.py
index e21ffc6..3f30c95 100644
--- a/pp_oscdriver.py
+++ b/pp_oscdriver.py
@@ -345,19 +345,19 @@ class OSCDriver(object):
self.prepare_show_command_callback('close ', args,1)
def closeall_handler(self,address, tags, args, source):
- self.prepare_show_command_callback('closeall',args,0)
+ self.prepare_show_command_callback('closeall',args,1)
def monitor_handler(self,address, tags, args, source):
self.prepare_show_command_callback('monitor ', args,1)
def exitpipresents_handler(self,address, tags, args, source):
- self.prepare_show_command_callback('exitpipresents',args,0)
+ self.prepare_show_command_callback('exitpipresents',args,1)
def reboot_handler(self,address, tags, args, source):
- self.prepare_show_command_callback('reboot',args,0)
+ self.prepare_show_command_callback('reboot',args,1)
def shutdownnow_handler(self,address, tags, args, source):
- self.prepare_show_command_callback('shutdownnow',args,0)
+ self.prepare_show_command_callback('shutdownnow',args,1)
def prepare_show_command_callback(self,command,args,limit):
if len(args) == limit:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment