Comskip Support Forum

Comskip is a free commercial detector, browse the forum for more information
It is currently Fri Sep 20, 2019 9:45 pm

All times are UTC [ DST ]

Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: Sat Jan 21, 2012 11:49 pm 

Joined: Tue Jan 17, 2012 5:37 am
Posts: 9
The donators version as of comskip 0.81.023 doesn't yet support live detection, i.e., while recording. The default configuration of ETVComskip (2.0.x running under Wine) launches comskip when recording starts. It promptly stops.

The workaround I used was to shift the comskip processing to the end of recording rather than the start.

I'm assuming here that ETVComskip is already installed and that you've already swapped in the donators version. (I'm still on Snow Leopard so /Library is visible. I don't know the status of ETVComskip with Lion, but you'll have to jump through the hidden /Library folder hoops if you are running Lion.)

I suggest making a copy of these two scripts first to make it easy to go back.
/Library/Application Support/EyeTV/Scripts/TriggeredScripts/RecordingStarted.scpt
/Library/Application Support/EyeTV/Scripts/TriggeredScripts/RecordingDone.scpt

Open both scripts in AppleScript Editor (double click works fine).

In RecordingStarted, comment out one line (or both if you prefer) near the top of the script by preceding it with two dashes (hyphens).

set cmd to "/usr/bin/nice -n 2 '/Library/Application Support/ETVComskip/' --log " & recordingID & " &> /dev/null &"
-- do shell script cmd

Then in RecordingDone copy those two lines (uncommented) to the start of the RecordingDone handler:

on RecordingDone(recordingID)
   set cmd to "/usr/bin/nice -n 2 '/Library/Application Support/ETVComskip/' --log " & recordingID & " &> /dev/null &"
   do shell script cmd

   set LogMsg to ""

Save the scripts and test a recording.

Note: I have modified my scripts in a number of ways, including the above. I did not go back to the default scripts to test these instruction. Please let me know if I missed something.


Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group