kgschlosser wrote:OK so i did a little modification to the code. this is backwards compatible (well... it should be...).
Unfortunately, it doesn't work:
14:39:08 TvPower
14:39:08 Sony TV Network Remote Plugin: TvPower
14:39:08 Error in Action: "Sony TV Network Remote Plugin: TvPower"
14:39:08 Traceback (most recent call last) (0.5.0-rc2):
14:39:08 File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 116, in CallWrapper
14:39:08 return self(*args)
14:39:08 File "C:\ProgramData\EventGhost\plugins\SonyNetworkRemote\__init__.py", line 180, in __call__
14:39:08 self.plugin.SendCommand(self.value)
14:39:08 TypeError: object() takes no parameters
14:39:17 WakeUp
14:39:17 Sony TV Network Remote Plugin: WakeUp
14:39:17 Error in Action: "Sony TV Network Remote Plugin: WakeUp"
14:39:17 Traceback (most recent call last) (0.5.0-rc2):
14:39:17 File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 116, in CallWrapper
14:39:17 return self(*args)
14:39:17 File "C:\ProgramData\EventGhost\plugins\SonyNetworkRemote\__init__.py", line 180, in __call__
14:39:17 self.plugin.SendCommand(self.value)
14:39:17 TypeError: object() takes no parameters
14:39:49 PowerOff
14:39:49 Sony TV Network Remote Plugin: PowerOff
14:39:49 Error in Action: "Sony TV Network Remote Plugin: PowerOff"
14:39:49 Traceback (most recent call last) (0.5.0-rc2):
14:39:49 File "C:\Program Files (x86)\EventGhost\eg\Classes\ActionBase.py", line 116, in CallWrapper
14:39:49 return self(*args)
14:39:49 File "C:\ProgramData\EventGhost\plugins\SonyNetworkRemote\__init__.py", line 180, in __call__
14:39:49 self.plugin.SendCommand(self.value)
14:39:49 TypeError: object() takes no parameters