Hauppauge Capture

TerminatePlugin

This method will terminate the 2 utility programs and the plugin.  HomeSeer will see that the plugin is no longer running, log an error in the HomeSeer log and restart the plugin.  This method must be called from within a script (txt file) and not executed as a one-line script form an event.  Sample script:

sub main()
    on error resume next
    hs.plugin("Hauppauge Capture").TerminatePlugin
    if err then err.clear
end sub

TerminateUtilities

Calling this method will terminate both utility programs.  The plugin will restart them automatically when they are required.

ReleaseWinTV

This method is used to release the WINTV card to allow other applications to access it.  In normal operation the plugin reserves the card to save time and prevent memory leaks.  The CaptureUtility will automatically reconnect to the card when required.  Warning: if another application is using the card when the CaptureUtility requires it, you will receive a number of popup errors indicating that there was a problem connecting to the Pins or Filters from the WinTV drivers.

 Back