NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 87 88 89 90 91 … 101 Next »
Stop NextPVR Server and Restart NextPVR Server Icons?

 
  • 1 Vote(s) - 5 Average
Stop NextPVR Server and Restart NextPVR Server Icons?
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#1
2020-03-28, 11:33 PM
Hi sub

v4 used to have a Stop NextPVR and Start or Restart NextPVR Server command with Icons that featured prominently on my system when I was playing around with things which need this to happen. Does v5 have a similar command? I can assign icons if I need to. I searched the forum post titles but could not see anything on this.

ta

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
elstaci
Offline

Member

Posts: 120
Threads: 14
Joined: Jan 2018
#2
2020-04-03, 11:52 PM (This post was last modified: 2020-04-04, 12:06 AM by elstaci.)
You can make up a Batch file with the following command to Stop or Start the NextPVR Service.



To Start the NextPVR Service:



net start "NextPVR Service"



To Stop the NextPVR Service:



net stop "NextPVR Service"



Make sure to add the " " at the beginning and end of the name of the service otherwise it won't work.



You can use Windows Notepad and then save it as Start or Stop NPVR Service.bat.

To make the Batch file run under Administration Rights. Create a Shortcut. Then under the Batch file Shortcut's Properties, enable it to run under Administration Rights.

Then just assign an icon to your created Shortcut on your desktop.



I just tried it on my Windows 10 and it worked without any issues.
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#3
2020-04-04, 12:24 AM (This post was last modified: 2020-04-04, 12:33 AM by jksmurf.)
(2020-04-03, 11:52 PM)elstaci Wrote: You can make up a Batch file with the following command to Stop or Start the NextPVR Service.



To Start the NextPVR Service:



net start "NextPVR Service"



To Stop the NextPVR Service:



net stop "NextPVR Service"



Make sure to add the " " at the beginning and end of the name of the service otherwise it won't work.



You can use Windows Notepad and then save it as Start or Stop NPVR Service.bat.

To make the Batch file run under Administration Rights. Create a Shortcut. Then under the Batch file Shortcut's Properties, enable it to run under Administration Rights.

Then just assign an icon to your created Shortcut on your desktop.



I just tried it on my Windows 10 and it worked without any issues.
Hi elstaci,

Thank you very much, I have done what I think you suggest, but was wondering what is supposed to happen when I double click the shortcut?
I see no message about the server stopping (or starting) and I cannot see it stopping or starting in services.msc either?

The other thing in v4 the tray icon would disappear after stopping, when you hovered over it; this does not happen here.

I put both .bat files and both shortcuts in NextPVR dir, is this correct? Do I need a path in the bat? What should I be seeing when I launch it?

ta

k.

[EDIT]. OK I have the .bat files running, was a typo in the stop script. Runs a cmd window. But tray icon just goes grey does not disappear on hover?

   
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
Graham
Offline

Posting Freak

UK
Posts: 4,058
Threads: 102
Joined: Dec 2005
#4
2020-04-04, 12:54 AM
(2020-04-04, 12:24 AM)jksmurf Wrote:
(2020-04-03, 11:52 PM)elstaci Wrote: You can make up a Batch file with the following command to Stop or Start the NextPVR Service.



To Start the NextPVR Service:



net start "NextPVR Service"



To Stop the NextPVR Service:



net stop "NextPVR Service"



Make sure to add the " " at the beginning and end of the name of the service otherwise it won't work.



You can use Windows Notepad and then save it as Start or Stop NPVR Service.bat.

To make the Batch file run under Administration Rights. Create a Shortcut. Then under the Batch file Shortcut's Properties, enable it to run under Administration Rights.

Then just assign an icon to your created Shortcut on your desktop.



I just tried it on my Windows 10 and it worked without any issues.
Hi elstaci,

Thank you very much, I have done what I think you suggest, but was wondering what is supposed to happen when I double click the shortcut?
I see no message about the server stopping (or starting) and I cannot see it stopping or starting in services.msc either?

The other thing in v4 the tray icon would disappear after stopping, when you hovered over it; this does not happen here.

I put both .bat files and both shortcuts in NextPVR dir, is this correct? Do I need a path in the bat? What should I be seeing when I launch it?

ta

k.

[EDIT]. OK I have the .bat files running, was a typo in the stop script. Runs a cmd window. But tray icon just goes grey does not disappear on hover?

I use the sc command in a batch file that begins with ... echo off ... That will display messages to show that service is starting and stopping.  SS64.com is the goto for these commands.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,823
Threads: 954
Joined: May 2006
#5
2020-04-04, 02:02 AM
How often are you guys restarting the server and why? Even after a year of development I pretty much have only done it just to install new versions and now the installer stops and restarts the Windows service for us. The uptime on my production linux system is 32 days and my NAS shows 285 days, pretty much just geting the docker releases from sub. I did update it today to open the UDP discovery port but there is nothing much else to worry about.

Martin
elstaci
Offline

Member

Posts: 120
Threads: 14
Joined: Jan 2018
#6
2020-04-04, 02:21 AM
I don't have a reason to start or stop my Server. I was just showing the OP a method to manually stop or start the Server with a batch file command.
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#7
2020-04-04, 02:21 AM (This post was last modified: 2020-04-04, 02:24 AM by jksmurf.)
(2020-04-04, 02:02 AM)mvallevand Wrote: How often are you guys restarting the server and why?  Even after a year of development I pretty much have only done it just to install new versions and now the installer stops and restarts the Windows service for us.  The uptime on my production linux system is 32 days and my NAS shows 285 days, pretty much just geting the docker releases from sub.  I did update it today to open the UDP discovery port but there is nothing much else to worry about.

Martin
@elstaci and @Graham - all good, tried both, similar results, working. If tray goes grey but doesn't need to disappear to install updates or patches then I'm OK with that.


Hi Martin - maybe it's just a legacy thing from GBPVR and NPVR v1~v4 days, when regular patches required starting and stopping more than they do now.
It's sort of comforting to have them there to do what I always did; my nod to the latent geekiness in me :-). Saves me searching for a cmd Window or services.msc to do that. No biggy, ta.

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Optimize NextPVR Performance on Windows 11 Hathingthe 1 36 10 hours ago
Last Post: Hathingthe
  Audio out of synch with nextPVR.exe Higgo 6 210 2025-05-19, 12:11 AM
Last Post: Higgo
  NextPVR missing EPG benniehill 4 287 2025-04-28, 09:51 AM
Last Post: mvallevand
  NextPVR - Access from Remote Location - Port Forwarding? TomasCremin 2 365 2025-04-13, 08:39 PM
Last Post: boringgit
  Streamlink + NextPVR + Pluto TV Stream Freezes During Ads wrenloren 2 283 2025-04-01, 01:57 AM
Last Post: DessieJerde
  NextPVR client no longer works Rich A 13 604 2025-03-30, 10:04 PM
Last Post: mvallevand
  Scheduled Late Night through-midnight recordings suddenly stop at midnight Andre_Mikulec 4 309 2025-03-29, 12:56 AM
Last Post: mvallevand
  EPG not found for some channels - DVB/ATSC (NextPVR version 7) Nimoder 22 1,144 2025-03-12, 10:18 PM
Last Post: sub
  Multiple Instances of NextPVR JaxMedia 1 261 2025-02-22, 07:34 PM
Last Post: sub
  reinstall and configuration buttons do not work to configure the server. kindeshaun@gmail.com 6 341 2025-02-21, 05:17 AM
Last Post: kindeshaun@gmail.com

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

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

Linear Mode
Threaded Mode