essandess / etv-comskip

Commercial Marking and Skipping for EyeTV and iTunes Exports
GNU General Public License v2.0
55 stars 7 forks source link

Skipping hangs sometimes #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Sometimes commercial skipping seems to hang for a while. EyeTV will skip to
the end of the commercials, but looks like it will skip again to the same
place. I believe that for some reason etv-comskip will skip again to the
same marker thus hanging occurs. Looks like etv-comskip things it is still
in commercials when it is executed again (after 1 second?).

There seems to be easy fix for this. In commskipper.app script: 

------------------------------
tell application "EyeTV"
   jump to et
end tell
-- display dialog "Jumped"
delay 1 --Added by MNi
------------------------------

I added "delay 1" after the jump and this seems to fix the problem.

Original issue reported on code.google.com by mnikk...@gmail.com on 6 Jan 2008 at 12:26

GoogleCodeExporter commented 8 years ago
I'm not sure why that happens.  I haven't seen it myself, but if I had to 
guess, I'd
guess that the resolution on the jump is different than where EyeTV can 
*actually*
jump in the file.  For instance, if we tell EyeTV to jump to an offset at 190.23
seconds, and it jumps to 190 seconds, we'd hit the same conditions again and 
again in
comskipper.

I've added this change.  Thanks.

Original comment by jon.chri...@gmail.com on 7 Jan 2008 at 9:09