can not mix silent and GUI VRDs

wireman121

New member
I'm using V5 with kmttg, which I feel I need to note just in case this is related. I have noticed that if you have a VRD GUI window up and KMTTG executes another instance of VRD in silent mode, it will cause the original VRD GUI to be rendered useless. KMTTG is able to execute multiple GUI instances without any problems as well as multiple silent VRD instances without any problems, but for some reason trying to mix them causes an issue with the existing GUI windows.
 

wireman121

New member
Tested this out. Seems if you try to invoke silent mode through the COM interface while there is already a Application mode of VRD running, it creates a problem which causes the GUI to lose control and/or disappear.
 

Dan203

Senior Developer
Staff member
That's odd, each one should be an individual instance and have no effect on the other. Unless you have the option to only allow one instance of VRD to run at a time checked.
 

wireman121

New member
nope. this is a new issue with v5 I believe. I was running v3 for a long time (skipped over 4) which had no issues running mixed silent and gui instances but now it seems to be an issue. not sure why it happens but its reproducible 100% of the time so I'm sure you'll be able to reproduce it too.
 

Dan203

Senior Developer
Staff member
One thing I can think of is there is a new communication thing that happens between the main UI and the batch manager. Is batch manager running also? Do you have the "close batch manager when VRD exits" option checked? Or the launch batch manager option set to anything other then "manual"?
 

wireman121

New member
No, I have not touched any settings in batch manager. Are you able to reproduce this issue?
Open GUI of VRD and open a project file (use COM, not sure if this is a necessary step or not)
Launch a second instance of VRD in silent mode via COM to do a qsfix
 

wireman121

New member
Also - Speaking to moyekj regarding kmttg, he mentioned that V4 also had the same problem so it isn't something new to V5. I can tell you that V3 did not have this problem and was able to combine GUI and Silent instances without any issues.
 

Dan203

Senior Developer
Staff member
Haven't had a chance to even look at it. We're trying to button up show stopper bugs so we can release v5 for sale. It's on my list but low priority
 

wireman121

New member
Tested this out in the latest beta release but still seeing the same issue.

Using the COM interface if you invoke silent mode for a second instance of VRD while there is already a GUI of VRD running that was executed via the COM interface then it is causing the GUI to disappear.

If you have GUI of VRD open that wasn't executed from the COM interface then it is not affected, so it is only if you're mixing GUI and silent instances of VRD via the COM interface...

Hoping that will narrow the problem down for you. This wasn't an issue with V3, but from V4 up it has been an issue.

You may be wondering why I'm mixing interfaces..

I have KMTTG set to run VRD for review of cuts (in GUI mode obviously) before using VRD to make the actual cuts in silent mode. This is necessary as VRD throws up an error if you try to load a project while the Windows Login Screen is displayed, causing all sort of additional issues (I didn't want to even consider bringing this up yet!)
 

Dan203

Senior Developer
Staff member
Can you launch multiple versions of VRD in GUI mode via COM? I'm wondering if maybe it's not allowing you to launch multiple versions at all, so when you invoke the second instance it's just taking over the one that's already running and just hiding it for silent mode.
 

wireman121

New member
multiple GUI or Silent sessions can be launched without a problem. It is causing a problem when launching a mix of GUI and silent sessions.
 

Dan203

Senior Developer
Staff member
I can't think of any reason that would happen then. If they're separate processes then they should have no effect on one another.

Are you launching them all from a single script? Or are you running the multiple scripts each launching one dialog?
 

wireman121

New member
its kmttg that does it, if your familiar here is the scenario:
kmttg downloads/decrypts Show #1, qs-fix (VBscript,silent), adscan, VRD Review (VBscript, GUI) (wait for user to save any changes and exit... VRD)

--while that's happening, since KMTTG can multi-task, it begins another download while the VRD Review task is waiting for the user to exit--
kmttg downloads/decrypts show #2, qs-fix (VBscript,silent) --->>Show #1 GUI VRD window is gone and the silent QS-Fix takes over causing kmttg to assume the previous GUI window (from show #1) was closed by the user and continues to its next task of comskip and pushing back to the TiVo.

--This will continue to happen in a loop every time KMTTG calls for a sient VRD window while a GUI VRD window is already open. But only through the COM interface!! If I have a VRD window open that was launched from the shortcut on my desktop, that GUI window is not affected and the silent VRD from the COM interface also works. So Whatever is happening is being caused by the COM interface. This didn't happen in the last beta of V3, but was in V4 and is in V5.
 

Dan203

Senior Developer
Staff member
Kmttg could be reusing an object or something. I'll need to create some sort of test script that I can use to try and recreate the issue.
 

moyekj

Member
wireman, if you update to latest version of kmttg there's a workaround to this. For "vrdreview" task I now launch the VRD GUI executable directly instead of via COM, and that prevents interference from COM jobs of the GUI window. Previously the "vrdreview" task was also being launched as COM in non-silent mode which for VRD 4 and later has issues.
 
Top Bottom