2012-12-09, 09:11 PM
I'm sure if you see that message in the log, then it has run your batch file. It's probably something like permissions causing problems inside your .bat.
2012-12-09, 09:11 PM
I'm sure if you see that message in the log, then it has run your batch file. It's probably something like permissions causing problems inside your .bat.
2012-12-09, 09:27 PM
sub Wrote:I'm sure if you see that message in the log, then it has run your batch file. It's probably something like permissions causing problems inside your .bat. Permission? As i wrote, inside is just one line: Code: C:\NPVR\NextPVR.exe BTW, if i add pause command in to the bat, should it remain open or npvr run it hidden and do force close?
[SIZE="1"]My projects:
SAF6 (Standalone Filters) HOBRing - My easy Amiga emulation My HTPC[/SIZE]
2012-12-09, 10:19 PM
There will be some logical reason for it. If that message is there, then it attempted to run it. Maybe look at the ownership of your c:\npvr directory to make sure the localsystem account can access it. Also check the permissions on the wakeup.bat file you've created.
2012-12-09, 10:55 PM
perhaps on XP you were running NRecord as a regular user, but now on 7 you're running it as Local System (which is the default). If you execute NextPVR.exe as local system, I'm not sure it can act as a desktop application.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
2012-12-09, 11:34 PM
Strange. I checked all permissions, all seems to be OK. Still no go.
[SIZE="1"]My projects:
SAF6 (Standalone Filters) HOBRing - My easy Amiga emulation My HTPC[/SIZE]
2012-12-09, 11:41 PM
What exactly are you trying to achieve with it? I'm not sure why you'd want the recording service to start an instance of NextPVR.exe. It'd be started in a background session, not visible on your desktop.
2012-12-10, 06:13 AM
sub Wrote:What exactly are you trying to achieve with it? I'm not sure why you'd want the recording service to start an instance of NextPVR.exe. It'd be started in a background session, not visible on your desktop. I just want to start nPVR automatically when resume from sleep. Task Scheduler works, but there is significal delay between OS wakeup (desktop is visible second or two) and then nPVR start. On XP, when TV got signal, nPVR was already running. But this can be caused by to fast Win7 resume.
[SIZE="1"]My projects:
SAF6 (Standalone Filters) HOBRing - My easy Amiga emulation My HTPC[/SIZE]
2012-12-10, 02:49 PM
As mentioned I'm sure the app is running it, and your batch is probably working, but it'll be running in the context of the service of a background session that you cant see.
2012-12-10, 03:25 PM
sub Wrote:As mentioned I'm sure the app is running it, and your batch is probably working, but it'll be running in the context of the service of a background session that you cant see. So the NextPVR.exe process is not visible in task manager?
[SIZE="1"]My projects:
SAF6 (Standalone Filters) HOBRing - My easy Amiga emulation My HTPC[/SIZE]
2012-12-10, 03:52 PM
Do you want to resume it because you had it closed before sleeping/hibernating, or just because that's what was running? Because on my win7 system if it was running before a sleep, then it's automatically still running after a resume too, I don't need to use a batch file to start it.
Iain |
|