NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 331 332 333 334 335 … 433 Next »
Is NRecord running?

Is NRecord running?
jcjefferies
Offline

Posting Freak

UK, North Gloucestershire
Posts: 1,220
Threads: 140
Joined: Jan 2011
#1
2011-09-24, 07:54 PM
For some time I have had a problem with NRecord stopping about once a week overnight usually at the end of the EPG scan. The easy way to get NPVR back working is to reboot but there is often half a dozen failed recordings by the time I realise there is a problem. Another solution is to Stop then Start the NPVR service which could be put into a batch file with NPVRServiceControl.exe stop then start. What I am looking for is a command to detect if NRecord is running then if not I can restart the NPVR service. This would be so easy in Linux but seems difficult under Windows.
ShiningDragon
Offline

Posting Freak

Germany
Posts: 1,493
Threads: 146
Joined: Sep 2005
#2
2011-09-24, 08:58 PM
Even under Windows it's easy as hell.

Just open the computer management and navigate to the "service" settings. Search for the NPVR Recording service and doubleclick it. On an english system there should be a tab like recovery. There you can enter, that nrecord is restarting automatically after an error.
With this setting i never had again any problem with nrecord (ok, if i made shit within the config.xml ... but that's another story).
You like nPVR? Then please help pay the bills, and keep the project alive!

My happy NextPVR family

Frei nach Dieter Nuhr: Wenn man keine Ahnung hat, einfach mal die Fresse halten.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,197
Threads: 958
Joined: May 2006
#3
2011-09-25, 03:38 AM
With the proper admin right this wil return errorlevel 0 if it is running.

tasklist NRecord | find /i /n "NRecord"

Martin
jcjefferies
Offline

Posting Freak

UK, North Gloucestershire
Posts: 1,220
Threads: 140
Joined: Jan 2011
#4
2011-09-25, 12:15 PM
Thanks Martin. However I think the actual syntax should be :-

tasklist | find /i /n "NRecord"

This does return errorlevel "0" when NRecord is running and "1" when not running so is the starting point I need.
roy
Offline

Posting Freak

Posts: 830
Threads: 95
Joined: Sep 2005
#5
2011-09-26, 11:12 PM
ShiningDragon Wrote:Search for the NPVR Recording service and doubleclick it. On an english system there should be a tab like recovery. There you can enter, that nrecord is restarting automatically after an error.

Sub, would you think this is really a good/safe thing to do? Any potential problems it may cause?
What, me worry?

MSI H270 PC Mate | Core i3-7100 | 16GB RAM | 275GB M.2 2280 SSD | 4TB + 2TB HDD | Zalman Z3 Case | Win10
HDHR Prime | HVR2250 | PCH A-110 | PCH A-100 | Harmony 650 & 700 remotes | Comcast | Schedules Direct
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,810
Threads: 769
Joined: Nov 2003
#6
2011-09-26, 11:59 PM
I dont know. It's not something I've ever tested.
Reddwarf
Offline

Posting Freak

Posts: 6,629
Threads: 230
Joined: Mar 2007
#7
2011-09-27, 02:53 AM
roy Wrote:Sub, would you think this is really a good/safe thing to do? Any potential problems it may cause?
I have set it to do so, and for next failure I'v set the whole computer to reboot. I seems to work.

"I'd rather have a bottle in front of me than a frontal lobotomy"
jcjefferies
Offline

Posting Freak

UK, North Gloucestershire
Posts: 1,220
Threads: 140
Joined: Jan 2011
#8
2011-09-27, 11:09 PM
Sorry to ShiningDragon as I mis read your original post and being a Linux Sysadmin for over 10 years was looking for a batch file solution as that is similar to how it would be done in Linux. I have been running my batch file for several days as wakeup.bat and has already caught a NRecord failure. This particular failure left NPVR.exe "not responding" so I need to also kill then start NPVR.exe. However before I do that I am going to disable my batch file and try ShiningDragon's solution to see how that behaves. If my NRecord crashes cause NTray or NPVR to also crash then I could use the "Run Program" option to run a batch file to restart these also.
baze256
Offline

Junior Member

Posts: 21
Threads: 4
Joined: Dec 2006
#9
2011-11-18, 12:23 AM
sub Wrote:I dont know. It's not something I've ever tested.

Hi Sub,
I'm experiencing the same problem. I don't know if it is resolved.

Anyway, I thought I'd send you my logs.

My last successful recording ended at 6am.

The system seemed to be busy doing EPG updates later. (7:33am)

The next recordings after that all failed.

I'm running 2.2.6 on XP-Pro.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Auto Update EPG not running as scheduled? BairStrokes 2 1,854 2021-03-26, 12:02 PM
Last Post: NumberFive
  Recording service stopped or not running at scheduled time MattInetroit 3 1,993 2021-01-08, 12:03 AM
Last Post: mvallevand
  Auto Update EPG not running as scheduled Bobbybear 10 3,850 2020-10-24, 09:24 AM
Last Post: Bobbybear
  Recording service not running at recording time Ricknextpvr 18 6,753 2020-03-26, 03:56 PM
Last Post: sub
  IR Blasting from Kodi running NextPVR addon three6zerocool 11 3,043 2019-07-31, 04:51 PM
Last Post: sub
  UpdateEPG.bat not running jrockow 1 1,056 2019-06-26, 04:08 PM
Last Post: sub
  Error "Recording service not running" -- but really no tuners available? daneo 6 2,214 2019-01-30, 02:11 PM
Last Post: daneo
  Running into issues with the EPG bdken 7 2,068 2019-01-12, 04:44 PM
Last Post: sub
  Recording service not running at recording time johnm 7 2,881 2018-11-26, 02:36 AM
Last Post: johnm
  Extremely buggy running and crashing in NPVR client, but not as Kodi back end... gdogg371 3 1,447 2018-07-17, 09:29 AM
Last Post: gdogg371

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

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

Linear Mode
Threaded Mode