Page 1 of 1

ProgDVB 5.09.01 - Question when using /Exit

Posted: Tue Jul 03, 2007 8:05 am
by Kreator
Hi,
i start recording with ProgDVB with

V:\ProgDVB5.0\ProgDvbNet.exe /CH:"ZDF" /StartRecord:"V:\ProgDVB5.0\Record\test.mpg"

everything works well
to stop recording

V:\ProgDVB5.0\ProgDvbNet.exe /StopRecord /Exit

and then appears the Question:
Do you wish to stop record and exit from ProgDVB? to answer with yes or no

i have searched the options but did not found anything to get this question away... ProgDVB records until you answer this question

thanks in advance

Posted: Tue Jul 03, 2007 8:44 pm
by Juergen
Try to use StopRecord and Exit in seperate command lines.
Supposingly ProgDVB needs a short moment to close the recording.
If not done while an Exit command arrives, that question is normal.

This amount may also depend on your drive and the way it is attached,
So possibly you have to (let) wait for several seconds.

Posted: Thu Sep 06, 2007 2:53 pm
by Trial
Hi,

i cannot use the exit command in seperate command lines.

i only have one field in my application where i can put the pramaters in. so, i have the same problem as the thread owner.

can anyone help ?

Posted: Thu Sep 06, 2007 8:04 pm
by Juergen
Recently I've noticed a weird misbehaviour of ProgDVB here (4.84.1w9x).
Stopping a recording by the internal scheduler does NOT really stop, but immediately switches over to second file (~001) and continues there, though the record button has come out visually.
Sometimes, even on a bit older versions, that fle occured also when stoppng manually, but then it was between zero size and a maximum of some 100 kB, and it closed automatically, just a pretty short moment after the stop record cammand was given. Though, that also required a short delay for any other action.

So, regarding the issue of both of you, test again and watch, if the recording process really stops, before trying to close ProgDVB.
i only have one field in my application where i can put the pramaters in.
Then create a batch file (.BAT), that includes command lines, and perhaps even some wait sequence in between, and call this .BAT from your external application.

However, of course we're NOT responsible for 3rd party software's limitations.

Posted: Sun Sep 23, 2007 7:26 pm
by Trial
ok, you cannot support third party tools. Lets talk about ProgDVB :)

Tell me how can i use the switches: /StopRecord and /Exit together......

:?:

Posted: Sun Sep 23, 2007 9:38 pm
by Juergen
AFAIK no chance, as ProgDVB (and your computer) needs a little time to finish a recording file. Depending on file system this many last up to a few seconds.

BUT as metioned before, you're mainly talking about 3rdparty stuff, you may think about calling a suitable batch file instead of a direct single command line. It can hold several command lines and even some wait routines, if required.