NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 176 177 178 179 180 … 1231 Next »
Running UI apps from postprocessing.bat

 
  • 0 Vote(s) - 0 Average
Running UI apps from postprocessing.bat
nappysolo
Offline

Junior Member

Posts: 41
Threads: 4
Joined: Jan 2007
#11
2009-01-30, 03:02 PM
What about something like this:
  • create a scheduled task (with scheduled run time way in the future) that runs the application
  • from postprocessing.bat, use the "schtasks /run" command to launch the scheduled task
keith_leitch
Offline

Senior Member

Posts: 510
Threads: 53
Joined: Nov 2008
#12
2009-01-30, 09:28 PM
nappysolo Wrote:What about something like this:
  • create a scheduled task (with scheduled run time way in the future) that runs the application
  • from postprocessing.bat, use the "schtasks /run" command to launch the scheduled task

Smart one! I will try that later today and let you know.
keith_leitch
Offline

Senior Member

Posts: 510
Threads: 53
Joined: Nov 2008
#13
2009-01-31, 03:23 AM
nappysolo Wrote:What about something like this:
  • create a scheduled task (with scheduled run time way in the future) that runs the application
  • from postprocessing.bat, use the "schtasks /run" command to launch the scheduled task

It appears that SCHTASKS /RUN is also prohibited from interacting with the desktop. Ironically, none of the other SCHTASKS options are. It's like a conspiracy.

Great idea, though.
keith_leitch
Offline

Senior Member

Posts: 510
Threads: 53
Joined: Nov 2008
#14
2009-02-01, 02:34 AM
keith_leitch Wrote:It appears that SCHTASKS /RUN is also prohibited from interacting with the desktop. Ironically, none of the other SCHTASKS options are. It's like a conspiracy.

Great idea, though.

This is unbelievable. I had devised a system of using SCHTASKS to schedule a once-only job 20 seconds into the future. This worked brilliantly, giving me a reliable system of standby during trial after trial after trial. This morning, I logged on, rather smugly, intending to write up and post my solution...and I can't stand by. At all.

To test the reasons why, I put a task in the task scheduler to run "when idle". It hasn't run once. Does anyone have any idea what could have changed overnight to prevent my system from reporting any idle time?
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#15
2009-02-02, 04:30 PM
keith_leitch Wrote:Does anyone have any idea what could have changed overnight to prevent my system from reporting any idle time?

yep, i know what changed. sad thing is, you'll both won't like the answer & it'll not help you any further: weekday changed Big Grin
back to serious: i guess a reboot has not helped either, did you change anything config related? services? run entries in registry? anything suspicious in the event log? cpu load is always idle? could be anything from an time-sync-gone-wild-service to windows update downloads in the background via BITS or any other "malware" from redmond taking actions at the wrong moment...
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
keith_leitch
Offline

Senior Member

Posts: 510
Threads: 53
Joined: Nov 2008
#16
2009-02-02, 08:11 PM
K.S. Wrote:yep, i know what changed. sad thing is, you'll both won't like the answer & it'll not help you any further: weekday changed Big Grin
back to serious: i guess a reboot has not helped either, did you change anything config related? services? run entries in registry? anything suspicious in the event log? cpu load is always idle? could be anything from an time-sync-gone-wild-service to windows update downloads in the background via BITS or any other "malware" from redmond taking actions at the wrong moment...

This is still a mystery, but I have made some progress in solving it. After trying to stand by unsuccessfully many times, I restarted the recording service and standby worked. I tried several more experiments and SOMETIMES (not always) running a recording would kill the ability to go into standby after some idle time. When this happened, resetting the recording service fixed the problem. I set up a reset as part of my batch system.

Having said that, the thing is not standing by now, but that could be unrelated.
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#17
2009-02-05, 02:32 PM
take a look at post #8 & #9 here: http://forums.nextpvr.com/showthread.php...post322718
maybe it will shed some light on your standby situation?
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
keith_leitch
Offline

Senior Member

Posts: 510
Threads: 53
Joined: Nov 2008
#18
2009-02-07, 03:03 AM
K.S. Wrote:take a look at post #8 & #9 here: http://forums.nextpvr.com/showthread.php...post322718
maybe it will shed some light on your standby situation?

Thank you. Tweaking the idle threshold may be just the solution I need. I will check to see whether the version I am using is out of date.
keith_leitch
Offline

Senior Member

Posts: 510
Threads: 53
Joined: Nov 2008
#19
2009-02-07, 09:03 PM
K.S. Wrote:take a look at post #8 & #9 here: http://forums.nextpvr.com/showthread.php...post322718
maybe it will shed some light on your standby situation?

The new version of the MCE Standby Tool does have the tweak that I need to lower the idle threshold. Unfortunately, as soon as I use PowerCFG to change the standby settings, the idle threshold is reset to its higher level again. Sigh.

I'm fairly certain that it is the GBPVR Recording Service that is getting the system all excited. If I run short tests (most recently a series of 6 2-3 minute recordings with various gaps between them) then the idle activity returns to a fairly normal level fairly quickly--often 100%--and the system stands by. However, if I record an entire show or more, then the idle level remains quite low afterward, believing there is system activity. This prevents the standby.

When I have played with shutting down the recording service (not restarting it), the idle level has become normal fairly reliably.

The new MCE Standby Tool has at least allowed me to monitor all of this.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Postprocessing and the recordings database shsw 1 1,495 2010-08-29, 04:46 PM
Last Post: sub
  Running comskip at a scheduled time? gonzo90017 4 2,121 2010-05-19, 06:09 AM
Last Post: pBS
  Lost in a sea of Acronyms. Confusion is running amuck in my head Talcum 8 2,964 2010-04-12, 08:07 AM
Last Post: ga_mueller
  ffdshow postprocessing on .ts file playback alibert 2 1,695 2010-04-05, 05:33 AM
Last Post: alibert
  webadmin not running? aneez 7 2,742 2010-02-24, 07:30 PM
Last Post: aneez
  File conversions not running luttrell1962 2 1,600 2010-02-06, 06:23 AM
Last Post: luttrell1962
  NVIDIA 6200 Settings (running slow/choppy) Atrus 7 5,960 2010-01-29, 12:13 AM
Last Post: Zeno110
  quick postprocessing Q drbenjamin 2 1,818 2010-01-25, 08:50 PM
Last Post: drbenjamin
  Crash when running pvxr2 to import xml file carpeVideo 5 2,547 2010-01-07, 02:40 PM
Last Post: carpeVideo
  Multiple audio decoders running liteswap 2 1,471 2009-11-12, 11:37 PM
Last Post: liteswap

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode