2008-08-26, 04:34 AM
Hi,
The way I have my setup is my power button on the remote both turns GBPVR on and off. The way I do that is I have startup and shutdown .bat files that essentially only do two things turn monitor on/off and run/kill pvrx2.exe process. This creates a slight problem. If i just kill pvrx2.exe while watching live TV once pvrx2.exe is shut down the live tv continues to get recorded ( i have timeshift enabled all the time).
When I noticed that I was like fine this makes sense I am not exactly closing the prvx2.exe gracefully. So what I did for a workaround is I have included stop and start GBPVRrecordingService.exe commands in my shutdown script. And then I realized that this way I won't be able to shutdown GBPVR through remote when I am actually purposefully recording something since the GBPVRRecordingService.exe will get restarted.
So my question is: is there a way to call the same function that selecting Exit from the main menu calls, from the batch file? Or is there a way to add some OnPvrx2ProcessClose logic(in future releases) that can differentiate if it's live tv being recorded or an actual program?
Hope that made sense
Thanks
The way I have my setup is my power button on the remote both turns GBPVR on and off. The way I do that is I have startup and shutdown .bat files that essentially only do two things turn monitor on/off and run/kill pvrx2.exe process. This creates a slight problem. If i just kill pvrx2.exe while watching live TV once pvrx2.exe is shut down the live tv continues to get recorded ( i have timeshift enabled all the time).
When I noticed that I was like fine this makes sense I am not exactly closing the prvx2.exe gracefully. So what I did for a workaround is I have included stop and start GBPVRrecordingService.exe commands in my shutdown script. And then I realized that this way I won't be able to shutdown GBPVR through remote when I am actually purposefully recording something since the GBPVRRecordingService.exe will get restarted.
So my question is: is there a way to call the same function that selecting Exit from the main menu calls, from the batch file? Or is there a way to add some OnPvrx2ProcessClose logic(in future releases) that can differentiate if it's live tv being recorded or an actual program?
Hope that made sense
Thanks