NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 64 65 66 67 68 … 193 Next »
Standby confirmation if recording in progress

 
  • 0 Vote(s) - 0 Average
Standby confirmation if recording in progress
JonnyCam
Offline

Posting Freak

Posts: 1,153
Threads: 87
Joined: Feb 2006
#11
2008-05-07, 01:09 AM
Does the recording service use the TCP connection continuously when recording? (as opposed to when doing nothing?)

I see that utility has an option to prevent standby if there is activity on a specified port.
So is there any difference between the TCP activity on port 76xx (forget which ones the recording service uses locally) when recording vs waiting?

Also, I could use this to prevent me pushing the standby button when a client is connected I guess (port 7968?)

Cheers
"Shut up brain, or I'll stab you with a Q-Tip!"

--= Win7, C2D 2.93 GHz, ASUS 9400GT Silent, 2GB Ram, Few HDD's, 3TB unRAID server, Samsung 50" 1080p Plasma via HDMI, 40" 1080i LCD via VGA =-- * PVR2000 Analog PCI / Avermedia DVB-S PCI / Hauppauge 2200 DVB/Analog * PCH GBPVR Client * *BD-E6500 w/ NPVR client*
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,802
Threads: 769
Joined: Nov 2003
#12
2008-05-07, 01:14 AM
Quote:So is there any difference between the TCP activity on port 76xx (forget which ones the recording service uses locally) when recording vs waiting?
No, the act of recording doesnt generate any addition TCP activity. Infact the client might not be running, then there would be no traffic on 76xx.
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#13
2008-05-07, 06:23 AM
A "shutdown confirmation when recording" popup would be all of an hour's effort (if that) as a plugin, but I'm not sure it would do much good. It seems to me that most such inadvertent shutdowns happen while GBPVR isn't running, but the recording service is. At least, that's my take on it.

As an aside, and relating only tangentially to the request, if I'm reading this right, I note that Vista has a special sleep mode (light nap?) for media recording. That is, the system is kinda asleep, but still records. It seems to be reasonably easy to turn on (couple of lines in .NET) and would probably be pretty popular. But only Vista. Blah.
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#14
2008-05-07, 09:57 AM
rob11252 Wrote:I think you underestimate sub.

definitely not Big Grin
check his response times to questions here & you would be warned to underestimate him...

rob11252 Wrote:I started it up and tried to put my comp to standby from my remote, from PVRX2, from start button, even from Windows Task Manager window. It prevented all attempts.

that's the easy part & i doubt sub would have a problem to code that. hell, i could do that too Smile it's the logic involved where the complexity kicks in. how should it behave? ask 4 people & you'll get 7 opinions. that's where he would have to make it configurable
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
rob11252
Offline

Member

Posts: 126
Threads: 9
Joined: Jan 2008
#15
2008-05-11, 08:06 PM
Help!
Tried to use wakeup application to prevent standby during recordings, so far fruitless. Here is the status:

Actually I found 2 applications which, when proper options are ticked off, prevent standby. They are Wakeup and PowrClik Lite. So I put command "run wake up" or run powrclik" in parallelprocessing.bat. I double-click on *.bat file, it starts wakeup, no standby allowed as requested.

Now, I start recording. It calls *.bat, it starts wakeup, but IT DOESN'T prevent standby. It turns out that the wakeup is running with system credentials "user nameConfusedystem" in Task Manager, so it runs with default options which is "standby allowed".

I inquired with authors if I can change the options from command line. Answer - these options not implemented, so no.

I thought that I can use runas command, but it asks for a user password which cannot be passed from command line.

So, I am stuck. Looking for some way to trick the computer to start the wakeup app with user credentials.

Any ideas?
[SIZE="2"]GBPVR 1.3.11 on WinXP SP2; ATSC OTA.
Core 2 Duo 2.2GHz; 2GB RAM; NVIDIA 8500GT 256MB; Hauppauge HVR-1600 and Pinnacle HD Pro, 720p HDTV;[/SIZE]
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#16
2008-05-12, 05:45 AM
Well, you can try this.

It's a command line program that will start another application using a (supplied) username and password.

Total time spent testing: at least ten minutes.

Which is to say, I'm not making any promises. It worked quite well for those ten minutes, but let's be honest, "extensive and rigorous testing" it was not!

Usage notes:

RunAsUser {username} {password} {application} [args]

First three parameters, for obvious reasons, are not optional. The last one is.

If the application name, path, or both, contain spaces, surround the whole works in double quotes.

If you want to use a blank password, enter a . (dot) for the password field. Some user accounts disallow starting a process with a blank password though.

Also! Keep in mind that the password will be happily sitting in your batch file. In plain text. Waving at you. Smiling.

Good luck!
rob11252
Offline

Member

Posts: 126
Threads: 9
Joined: Jan 2008
#17
2008-05-12, 11:58 PM
Thanks, Ommina.
This is what I need.
[SIZE="2"]GBPVR 1.3.11 on WinXP SP2; ATSC OTA.
Core 2 Duo 2.2GHz; 2GB RAM; NVIDIA 8500GT 256MB; Hauppauge HVR-1600 and Pinnacle HD Pro, 720p HDTV;[/SIZE]
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#18
2008-05-13, 12:16 AM
More importantly, did it work?
rob11252
Offline

Member

Posts: 126
Threads: 9
Joined: Jan 2008
#19
2008-05-13, 02:36 AM
Ommina Wrote:More importantly, did it work?

The RunAsUser function is working as you described.

The only computer, where I can ultimately check it, is my HTPC and it is occupied by the family quite often.
I'll definitely report back when there is some progress.
[SIZE="2"]GBPVR 1.3.11 on WinXP SP2; ATSC OTA.
Core 2 Duo 2.2GHz; 2GB RAM; NVIDIA 8500GT 256MB; Hauppauge HVR-1600 and Pinnacle HD Pro, 720p HDTV;[/SIZE]
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#20
2008-05-13, 08:35 AM
Ommina Wrote:RunAsUser {username} {password} {application} [args]
...
Also! Keep in mind that the password will be happily sitting in your batch file. In plain text. Waving at you. Smiling.

there is a way to avoid that bit with the smiling Smile create a scheduled task using the different user account you want with the app & args you want. you only need the rights to read the scheduled tasks & to execute them, no passwords left plain open. the rest is just calling schtasks with your set up task

additional advantage:
if it's a dos batch & you scheduled it with different user credentials you dont get to see that ugly dos box. if will just run & won't interact with the desktop

disadvantage:
if scheduled with different user credentials it will just run & won't interact with the desktop, sadly that means: if you need to see & interact, you will have to set that task with the same user as currently logged on.
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Overwrite oldest recording with lock feature djenson 0 602 2023-09-28, 10:37 AM
Last Post: djenson
  Recording status displayed when finished coreymichael 6 1,177 2023-08-31, 05:32 PM
Last Post: sub
  Recording scheduling mzanetti 2 992 2023-07-28, 05:24 PM
Last Post: sub
  Feature Request: EIT Support, plus Stop and Save Recording. Chris4877 8 1,814 2022-09-12, 12:58 AM
Last Post: mvallevand
  Add manual recording - default time markn62 0 969 2022-02-14, 12:46 AM
Last Post: markn62
  Sorting Options for Recurring Recording List pkscout 1 999 2021-11-23, 07:51 PM
Last Post: sub
  Remove failed recurring recording artmetz 0 813 2021-11-17, 07:55 PM
Last Post: artmetz
  Edit recurring recording oliroe 8 2,330 2020-12-17, 08:15 PM
Last Post: oliroe
  Cleaning up recordings in order of recording date TheRealRoland 11 4,109 2020-12-09, 05:49 PM
Last Post: mvallevand
  Scheduler - Recurring TV Show recording in series mark.jankowski.89 2 1,263 2020-10-26, 09:00 PM
Last Post: mark.jankowski.89

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

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

Linear Mode
Threaded Mode