Thread: Triggers
View Single Post
  #1 (permalink)  
Old 07-14-2006, 10:54 AM
PeteT PeteT is offline
Member
 
Join Date: Jul 2006
Posts: 38
PeteT is on a distinguished road
Default Triggers

Can someone explain how triggers work?

All i want DirMon2 to do is call comskip when MCE puts a dvr-ms file in the recorded tv directory. What seems to be happening is that it calls comskip everytime it checks, even though there is a tct file there.

Hope someone would shed some light on this please

Pete

Edit dirmon2.ini
Code:
[Global]
Polling Time = 600
Available Resources = 100

[Service]
Start Automatically = 1
Run as Local System = 1
Allow Interaction With Desktop = 1
Run as User = 0
User Name = 
User Password = 

[Job Description 1]
Name = Recorded TV
Processor = C:/Program Files/comskip/comskip.exe
Targets Are Paths = 0
Targets Are Extensions = 1
Command Line Options = 
Must Exist 1 = dvr-ms
Must Exist Logic = AND
Must Exist 2 = 
Must And Or Must Not Exist Logic = AND
Must Not Exist 1 = txt
Must Not Exist Logic = OR
Must Not Exist 2 = 
Directory 1 = E:/Recorded TV
Target 1 = dvr-ms
Resources Needed = 100
Timeout Enabled = 0
Timeout = -1
Priority Boost Due To Job Description = 0
Priority Boost Due To Age = 1
Priority Boost Due To Name = 0
Process Subdirectories = 1
Wait Until File Is Finished = 0
Wait Until File Is Idle = 0
Wait Until Drive Is Idle = 0
Wait Until Drive Is Idle Time = 2
Hide Console = 1
Blackout Enabled = 0
Blackout Start Time = 0
Blackout End Time = 0

[Cleanup Description 1]
Directory = E:/Recorded TV
Process Subdirectories = 1
Target Extension 1 = txt
Trigger Extension 1 = dvr-mr
and the activity log is

Code:
2006-Jul-14 12:55:13 - Starting: "Recorded TV" on "E:/Recorded TV/Hollyoaks_Channel 4_13_07_2006_18_28_00_R.dvr-ms"
2006-Jul-14 12:56:31 - Finished: "Recorded TV" on "E:/Recorded TV/Hollyoaks_Channel 4_13_07_2006_18_28_00_R.dvr-ms"
2006-Jul-14 12:56:33 - Starting: "Recorded TV" on "E:/Recorded TV/Sport Relief Presents Little Britain's Big Swim_BBC ONE_13_07_2006_19_58_01.dvr-ms"
2006-Jul-14 13:04:17 - Finished: "Recorded TV" on "E:/Recorded TV/Sport Relief Presents Little Britain's Big Swim_BBC ONE_13_07_2006_19_58_01.dvr-ms"
2006-Jul-14 13:05:03 - Attempting to delete: E:\Recorded TV\Hollyoaks_Channel 4_13_07_2006_18_28_00_R.txt
2006-Jul-14 13:05:03 - Attempting to delete: E:\Recorded TV\Sport Relief Presents Little Britain's Big Swim_BBC ONE_13_07_2006_19_58_01.txt
2006-Jul-14 13:05:13 - Starting: "Recorded TV" on "E:/Recorded TV/Hollyoaks_Channel 4_13_07_2006_18_28_00_R.dvr-ms"
2006-Jul-14 13:06:32 - Finished: "Recorded TV" on "E:/Recorded TV/Hollyoaks_Channel 4_13_07_2006_18_28_00_R.dvr-ms"
2006-Jul-14 13:06:33 - Starting: "Recorded TV" on "E:/Recorded TV/Sport Relief Presents Little Britain's Big Swim_BBC ONE_13_07_2006_19_58_01.dvr-ms"
2006-Jul-14 14:45:54 - Starting: "Recorded TV" on "E:/Recorded TV/Hollyoaks_Channel 4_13_07_2006_18_28_00_R.dvr-ms"
2006-Jul-14 14:47:12 - Finished: "Recorded TV" on "E:/Recorded TV/Hollyoaks_Channel 4_13_07_2006_18_28_00_R.dvr-ms"
2006-Jul-14 15:17:48 - Starting: "Recorded TV" on "E:/Recorded TV/Pocoyo_ITV 1_14_07_2006_14_58_01.dvr-ms"
2006-Jul-14 15:18:39 - Finished: "Recorded TV" on "E:/Recorded TV/Pocoyo_ITV 1_14_07_2006_14_58_01.dvr-ms"
2006-Jul-14 15:45:09 - Attempting to delete: E:\Recorded TV\Hollyoaks_Channel 4_13_07_2006_18_28_00_R.txt
2006-Jul-14 15:45:09 - Attempting to delete: E:\Recorded TV\Pocoyo_ITV 1_14_07_2006_14_58_01.txt
2006-Jul-14 15:45:09 - Attempting to delete: E:\Recorded TV\Sport Relief Presents Little Britain's Big Swim_BBC ONE_13_07_2006_19_58_01.txt
2006-Jul-14 15:45:19 - Starting: "Recorded TV" on "E:/Recorded TV/Hollyoaks_Channel 4_13_07_2006_18_28_00_R.dvr-ms"
2006-Jul-14 15:46:38 - Finished: "Recorded TV" on "E:/Recorded TV/Hollyoaks_Channel 4_13_07_2006_18_28_00_R.dvr-ms"
2006-Jul-14 15:46:39 - Starting: "Recorded TV" on "E:/Recorded TV/Sport Relief Presents Little Britain's Big Swim_BBC ONE_13_07_2006_19_58_01.dvr-ms"
2006-Jul-14 15:54:14 - Finished: "Recorded TV" on "E:/Recorded TV/Sport Relief Presents Little Britain's Big Swim_BBC ONE_13_07_2006_19_58_01.dvr-ms"
2006-Jul-14 15:54:19 - Starting: "Recorded TV" on "E:/Recorded TV/Pocoyo_ITV 1_14_07_2006_14_58_01.dvr-ms"
2006-Jul-14 15:55:09 - Attempting to delete: E:\Recorded TV\Hollyoaks_Channel 4_13_07_2006_18_28_00_R.txt
2006-Jul-14 15:55:09 - Attempting to delete: E:\Recorded TV\Pocoyo_ITV 1_14_07_2006_14_58_01.txt
2006-Jul-14 15:55:09 - Attempting to delete: E:\Recorded TV\Sport Relief Presents Little Britain's Big Swim_BBC ONE_13_07_2006_19_58_01.txt
2006-Jul-14 15:55:09 - Finished: "Recorded TV" on "E:/Recorded TV/Pocoyo_ITV 1_14_07_2006_14_58_01.dvr-ms"
2006-Jul-14 15:55:19 - Starting: "Recorded TV" on "E:/Recorded TV/Hollyoaks_Channel 4_13_07_2006_18_28_00_R.dvr-ms"
2006-Jul-14 15:56:36 - Finished: "Recorded TV" on "E:/Recorded TV/Hollyoaks_Channel 4_13_07_2006_18_28_00_R.dvr-ms"
2006-Jul-14 15:56:39 - Starting: "Recorded TV" on "E:/Recorded TV/Sport Relief Presents Little Britain's Big Swim_BBC ONE_13_07_2006_19_58_01.dvr-ms"
Reply With Quote