2014-02-18, 19:02
I'm trying to get the external actions working with my setup. I'm trying to get them to trigger a batch file to run the wtv-metarenamer powershell script after a recording has finished, and as of yet it just does nothing.
Here's the segment from my config.xml -
Actions enabled, status is changing confirmed via logs -
But the script never runs? Every time it does it makes a log file, so I'm sure it's not even getting to that point. I can run the batch file manually and everything works just as it should, so it appears it just isn't getting triggered.
I've tried double and single quotes around the program path, tried <arguments></arguements> and the way it is above and neither works. I copied the XML right from the post on external actions so hopefully there wouldn't be any syntax errors.. Considering the debug only shows the record state change and nothing after that, any ideas what I'm doing wrong? Do you HAVE to specify arguments?
Thanks for the help!
Here's the segment from my config.xml -
Code:
<RecordingExternalAction>
<ExternalAction>
<RecordingState>HasOccurred</RecordingState>
<Program>D:\RunRenamer.bat</Program>
<Arguments />
</ExternalAction>
</RecordingExternalAction>
Actions enabled, status is changing confirmed via logs -
Code:
2014/02/18 11:21:47.380 Debug_LogRecordingStatusChanges: True >>Default: False
2014/02/18 11:21:47.380 RecordingExternalActionEnabled: True >>Default: False
2014/02/18 11:22:32.330 RecordingStatus> Recording Scheduled 33/Food Factory: Status changed from WillOccur to IsOccurring
2014/02/18 11:35:02.160 RecordingStatus> Recording Scheduled 33/Food Factory: Status changed from IsOccurring to HasOccurred
But the script never runs? Every time it does it makes a log file, so I'm sure it's not even getting to that point. I can run the batch file manually and everything works just as it should, so it appears it just isn't getting triggered.
I've tried double and single quotes around the program path, tried <arguments></arguements> and the way it is above and neither works. I copied the XML right from the post on external actions so hopefully there wouldn't be any syntax errors.. Considering the debug only shows the record state change and nothing after that, any ideas what I'm doing wrong? Do you HAVE to specify arguments?
Thanks for the help!