jirim100 Posted March 26, 2013 Share Posted March 26, 2013 Hello, when is enabled postrecording task (for example commercial removing) for timer - goes computer to suspend state AFTER ending this task (for timer is enabled suspend state)? Link to comment
majstang Posted March 27, 2013 Share Posted March 27, 2013 From the wiki http://en.DVBViewer.tv/wiki/Timer_concept_of_the_DVBViewer_Recording_Service After recording taskThese are normal Process timers, which will be generated on the fly by the recording timer. But only if the recording timer was not cancelled (means prematurely ended or deleted). The newly created Process timer can not be saved, it expires if it gets cancelled or finishes. It inherits the Shut-down action of the recording timer. This way the Standby or Hibernate action of the original timer is processed after the Process timer finishes. It means if you are using commercial removing as after recording task, RS will NOT wait for the script to finish and then go to suspend state. If using post record actions, computer will more probably go to standby during/in the middle of the commercial removing. If you want computer to go to suspend state after commercial removing finished you have to make it happen in the script. That implies all post recording actions (shutdown, standby and hibernate) for all recording timers has to be set to "nothing". Check out the Scripting Lounge / COM (de/en) which covers how to do it. Link to comment
jirim100 Posted March 27, 2013 Author Share Posted March 27, 2013 Very thanks for answer, but then have to be in the script logic whether yes or not go to suspend state - checking whether is running some timer or will be started per, for example, 5 minutes. Link to comment
majstang Posted March 27, 2013 Share Posted March 27, 2013 Yes, it has to be in the script logic. With these two scripts of mine you can control the suspend states as you like after commercial removing has finished. http://www.DVBViewer.tv/forum/topic/41387-another-intelligent-hibernationscript/ http://www.DVBViewer.tv/forum/topic/44842-automatic-commercial-removal-script/ Link to comment
jirim100 Posted March 30, 2013 Author Share Posted March 30, 2013 It means if you are using commercial removing as after recording task, RS will NOT wait for the script to finish and then go to suspend state. If using post record actions, computer will more probably go to standby during/in the middle of the commercial removing. I did some tests and Recording service correctly go to suspend state AFTER ending postrecording task. This is not true ! Probably you create in script another process and don't wait on ending it. Link to comment
Recommended Posts