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 … 34 35 36 37 38 … 1231 Next »
Restarting client from remote control

 
  • 0 Vote(s) - 0 Average
Restarting client from remote control
spotty
Offline

Member

Posts: 121
Threads: 35
Joined: Jan 2009
#1
2009-12-31, 04:42 AM
I would like to be able to forcibly close and restart the client from the remote control (MCE) or keyboard. It doesn't sound too hard to get something together but I was wondering if anyone else has already done this and could post the solution?
[SIZE="1"]WinXP SP3, Asus M4A785D-M Pro, tinytwin DVB-T usb tuner (AF9015), mce remote, Saf, NPVR[/SIZE]
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#2
2009-12-31, 04:45 AM
Change the following in config.xml to "true":
Code:
<[color=Red]SystemRestartIsAppOnly[/color]>true</[color=red]SystemRestartIsAppOnly[/color]>

Then you can choose "Restart" from the System menu.
spotty
Offline

Member

Posts: 121
Threads: 35
Joined: Jan 2009
#3
2009-12-31, 07:48 AM
Thanks, but the time I really need it is if gbpvr freezes so it would need to be a separate app.
[SIZE="1"]WinXP SP3, Asus M4A785D-M Pro, tinytwin DVB-T usb tuner (AF9015), mce remote, Saf, NPVR[/SIZE]
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#4
2009-12-31, 08:29 AM
If you are using hip or event ghost (or other similar software) you can probably map a specific key to run a batch file or hotkey sequence. In the batch file, you could use PSKill from SysInternals to kill pvrx2 and then restart it.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#5
2009-12-31, 11:25 PM
Here is a cmd batch file that should do the trick:

Code:
@Echo off
Set PVRX2=c:\Program Files\devnz\gbpvr\pvrx2.exe
pskill pvrx2 > NUL
if %ERRORLEVEL%==0 (
    Echo PVRX2 process killed.
    Echo Restarting PVRX2...
) else (
    Echo PVRX2 process NOT running.
    Echo Starting PVRX2...
)
Start "" "%PVRX2%"

You will need PSKILL from SysInternals (http://technet.microsoft.com/en-us/sysin...95533.aspx).

You'll need to map to the keyboard or a remote key to launch it.
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#6
2010-01-01, 02:50 PM
Or rewrite the batch file to use taskkill which is built into Windows XP Pro (not so sure about other versions).
spotty
Offline

Member

Posts: 121
Threads: 35
Joined: Jan 2009
#7
2010-03-21, 07:08 AM (This post was last modified: 2010-03-21, 07:19 AM by spotty.)
Here's a solution - using this configuration file, eventghost will intercept the green button and restart (or just start) a hung pvrx2.exe without interrupting the recording service.
It can be configured to be triggered by other buttons - have a look at the eventghost documentation.
Its written for WinXP - it may need sone subtle changes to the taskkill section with other OSes.
[SIZE="1"]WinXP SP3, Asus M4A785D-M Pro, tinytwin DVB-T usb tuner (AF9015), mce remote, Saf, NPVR[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Hauppauge 2250 MCE remote Jeckler 22 20,596 2013-03-26, 04:26 PM
Last Post: DonBrutto
  Exit button on StreamZap remote now exits PVRX2 billbobbins 5 5,131 2012-08-30, 09:43 PM
Last Post: billbobbins
  GBPVR XPSP3 Server and Win7 Client Snooze 0 1,813 2011-09-12, 06:26 AM
Last Post: Snooze
  Program MCE remote? arkennedy75 1 2,660 2011-04-13, 12:09 AM
Last Post: pBS
  Cant play recording on client imagn 2 1,695 2010-12-13, 02:17 AM
Last Post: imagn
  remote problem in GBPVR Zacken 5 2,591 2010-12-08, 09:00 PM
Last Post: Zacken
  Server goes to sleep while client is in use. JP23 0 1,483 2010-10-07, 08:45 AM
Last Post: JP23
  Lost with HIP and my MCE remote kjc 15 5,034 2010-09-24, 07:13 AM
Last Post: mila06
  Net Radio not working on client PC JP23 2 1,693 2010-09-14, 10:45 PM
Last Post: JP23
  Easy way to toggle Client/Server without using Config? Dan the man 2 2,069 2010-08-02, 11:53 AM
Last Post: Reddwarf

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

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

Linear Mode
Threaded Mode