Comskip launcher (1 Viewer)

lar282

Portal Pro
July 11, 2004
414
2
Hi
When specifying a bat file that runs comskip, the plugin runs the file with a working directory of the recorded file name. This does not work very good for me, but maybe it's suppose to?

When the TEST button is used, it works since the plugin then uses the working diretory of the program itself.

code for the test button in svn
LaunchProcess(program, parameters, Path.GetDirectoryName(program), ProcessWindowStyle.Normal);

code for the real launch:
LaunchProcess(_program, parameters, Path.GetDirectoryName(tvEvent.Recording.FileName), ProcessWindowStyle.Hidden);

My bat file assumes that is starts in the comskip directory so it fails for me.

regards

//Lasse
 

Eabin

Retired Team Member
  • Premium Supporter
  • September 18, 2006
    465
    43
    you can always edit the bat file and change to the comskip directory manually as a workaround.
     

    and-81

    Retired Team Member
  • Premium Supporter
  • March 7, 2005
    2,257
    183
    Melbourne
    Home Country
    Australia Australia
    When I get home, and if no-one else has already changed the code, I'll change it so that both use the same working folder. I'll make the working folder the program's working folder, because the recording path can be supplied as a parameter, so the programs path is most logical.

    The above mentioned work-around will do for the meantime, but I'll post back here when the change is in SVN.

    Thanks for bringing this up, if there's one thing I can't stand it's inconsistencies like this. These little unexpected behaviors really annoy people, myself included. And this one is my fault, so I'll fix straight away.

    Cheers,
     

    Users who are viewing this thread

    Top Bottom