Jump to content

Disable AV On Minimise


mrr19121970

Recommended Posts

I'd like to see an option in the settings, that allows me to turn off audio & video when minimised.

 

I can write a small workaround myself using the COM-Interface to mute:

 

objDVBViewer.Osd.SetMute 1

 

but so far do not know how to stop the video. Any clues ?

 

Thanks. Mike.

Link to comment

In uIce javscript I can do the following.

 

look in DVBViewer/actions.ini

 

... Disable AudioVideo=16386

... Enable AudioVideo=16388

 

var DVBViewer=Window("\\DVBViewer (TfrmMain)");

 

DVBViewer.SendMessage(0xB2C2,0x0815,16386+100);

DVBViewer.SendMessage(0xB2C2,0x0815,16388+100);

 

Look for the "FindWindow" API, which can't be used in native vbscript/jscript - only through a com DLL I think. I'm so lucky that I use uIce where I can get a window handle easily.

 

/Elo

Link to comment
Guest Lars_MQ
... Disable_AudioVideo=16386

... Enable AudioVideo=16388

 

DVBViewer.sendcommand Disable_AudioVideo

 

would be a good choice :wacko:

 

or

DVBViewer.OSD.ExecProc "disableAudio"

or

"disableAudioVideo"

or

"disableVideo"

or

"enableAudioVideo"

 

At least this time I can say, it's written in the docs :)

Link to comment

I would like to have following shutdown option:

On Exiting DVBViewer do the following -> Minimize to system tray and disable AV

 

And after that when I execute DVBViewer.exe it would become active again.

I think it would make things so much easier when using Girder.

Link to comment
Guest Lars_MQ
I think it would make things so much easier when using Girder.

You have all you need. Do it with girder and the DVBViewer plugin for girder.

 

The suggested kind of behavior will be for sure NOT integrated into DVBViewer.

Link to comment
You have all you need. Do it with girder and the DVBViewer plugin for girder.

I have tried the plugin. And yes, it is possible to disable/enable AV with it. The problem is how to minimize/restore DVBViewer. It does not seem to work like for example notepad.exe.

Link to comment
At least this time I can say, it's written in the docs ;)

Excellent ! Just what I needed, when in doubt RTFM (read the feckin' manual)... but which docs is it in ? it's not in the COM-interface documentation as far as I can see. Where can I find such juicy info ? Thanks. Mike
Link to comment
  • 4 weeks later...
I think it would make things so much easier when using Girder.

You have all you need. Do it with girder and the DVBViewer plugin for girder.

 

The suggested kind of behavior will be for sure NOT integrated into DVBViewer.

Thats a shame, i like to record a lot of stuff while using my pc for other things, i dont want to have DVBViewer take up a lot of CPU cycles while its minimised waiting for it to record.

 

Or maybe you can create an external program or a service like windows media center that just has the recording interface with no audio or video?

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...