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 … 291 292 293 294 295 … 433 Next »
recording service suddenly fails to start

recording service suddenly fails to start
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,717
Threads: 767
Joined: Nov 2003
#11
2012-09-25, 06:03 AM
Wakalaka Wrote:I noticed in config.xml that I had duplicate entries of tuners, so I deleted them all and then ran my batch file which kills all NPVR related items and restarts them. I right-clicked in NextPVR, selected Settings, verified the Devices info, then clicked ok and got the attached crash.
That error is just saying the recording service isn't running.
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#12
2012-09-25, 06:09 AM
Everything was working fine until tonight. I have not deleted any devices recently. I did add the PCIe Radeon 7750 video card on the weekend, but that shouldn't make any difference.

I manually updated the EPG and nothing changes, not even "nrecord.exe RUN"
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,717
Threads: 767
Joined: Nov 2003
#13
2012-09-25, 06:15 AM
If you zip and attach your npvr.db3, hopefully it'll show the same error when I try to run it here.
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#14
2012-09-25, 06:19 AM (This post was last modified: 2012-09-25, 06:29 AM by Wakalaka.)
SQLiteSpy to the rescue! I looked at the SCHEDULED_RECORDINGS table, saw a bunch of capture_source_oid that didn't match the oid values in config.xml, and ran "delete from SCHEDULED_RECORDINGS where oid > 11000". Restarted all NPVR apps, everything is now happy. I have to recreate all of my Recurring recordings so proper oid values are used, but that's no big deal. Recreating them appears to be working because items are now in Pending. (I use TV Listings plugin).

The mystery is "why did capture_source_oid values change"? I did not yank any tuner devices from the pc or network, did not touch config.xml, did not mess with NPVR Settings -> Devices. WTF?
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,717
Threads: 767
Joined: Nov 2003
#15
2012-09-25, 06:42 AM
Wakalaka Wrote:The mystery is "why did capture_source_oid values change"? I did not yank any tuner devices from the pc or network, did not touch config.xml, did not mess with NPVR Settings -> Devices. WTF?
I dont know. I've not seen any other reports of this problem.

Glad you got it sorted though.
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#16
2012-09-25, 07:04 AM
I did power off my system, disconnected all cables, and installed a PCIe video card. Could reconnecting the network cable have made NextPVR think it detected new devices? Have you tested this scenario?
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,717
Threads: 767
Joined: Nov 2003
#17
2012-09-25, 04:35 PM
Wakalaka Wrote:I did power off my system, disconnected all cables, and installed a PCIe video card. Could reconnecting the network cable have made NextPVR think it detected new devices?
No, it wont be related.

Quote:Have you tested this scenario?
Installing a new video card? No, that isn't a scenario I'd actively test. I have installed a new video card in my systems in the past though, and not had this problem. I'm sure plenty of other users have installed new video cards in the past too.
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#18
2012-09-25, 05:00 PM
Is it possible to make NextPVR more robust with the following:
  1. Check capture_source_id values against config.xml values.
  2. If any oids do not match, prompt user with this info.
  3. Tell user solution will be to delete all scheduled recordings that do not match tuner oids.
  4. Delete the bad scheduled recordings for user.
  5. Dump deleted recordings to a text file so user can reference it.

It was pretty nasty to get recording service crashes, then search to find "nrecord.exe RUN" as a test for more debugging info, then edit config.xml to delete tuners so they get redetected and use sql command to delete bad scheduled recordings as my solution.

Your SW is superior to other solutions but could use an increase in robust level. I just set up my neighbor with NextPVR and EventGhost after I convinced him to dump his 15 year old PC and get a new one, along with dumping his tube tv and replace it with a big modern TV. I'm reminding him to send in his donation.
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,717
Threads: 767
Joined: Nov 2003
#19
2012-09-25, 05:11 PM
Do you still have the database that causes the crash so I can see the problem myself?

Given we've only had a single report of this ever happening, it's probably not worth doing anything.
Wakalaka
Offline

Posting Freak

Posts: 926
Threads: 161
Joined: Jan 2007
#20
2012-09-25, 06:48 PM
I don't have my old npvr.db3 file. You can reproduce it by making the capture_source_oid values in SCHEDULED_RECORDINGS not match oid values in config.xml <Tuners> entries.
NPVR 4.1.0.180302 o Kodi 17.6 o EventGhost 0.5.0.rc4 o SAF 6.3.2 o SchedulesDirect
[SIZE="1"]
Case: Apevia X-Qpack HTPC o Motherboard: Asus P8H67-MLE o CPU: Intel Core i3-2100 o RAM: 8 GB o OS: Win7 64-bit
Tuner: HDHomeRun dual tuner o Leaf SkyHDTV antenna o Remote: Microsoft MCE
Hard drives: Samsung 500 GB SSD, Seagate 2 TB SATA2, Samsung 540 GB SATA2 o Input: Logitech USB keyboard & mouse
Video: ATI Radeon 7750 o Monitor: Viewsonic 27" VX2703MH-LED, LG 55" LCD TV
[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording movies / TV to XBMC directory stucture spinnaker 10 3,528 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  Not recording errors vidwiz 4 984 2024-04-17, 05:39 PM
Last Post: mvallevand
  Add Series/Episode Info to Recording Metadata andrewj 2 1,063 2023-11-20, 03:42 PM
Last Post: sub
  Recording to a network drive woes. 2leftfeet 12 7,187 2022-04-05, 08:03 PM
Last Post: mvallevand
  All my recordings start 90 sec early ncsercs 2 1,357 2022-03-19, 03:28 AM
Last Post: sub
  device needed for recording David209 2 1,731 2021-04-04, 08:47 AM
Last Post: David209
  PC not going to sleep after recording LeoL 7 3,266 2021-04-01, 07:17 PM
Last Post: Handy.Man
  HDHomerun recording bizzarely not working Jean0987654321 3 2,034 2021-03-27, 03:23 PM
Last Post: Jean0987654321
Video Restrict Recording Space foucomm 1 1,324 2021-01-30, 09:25 PM
Last Post: mvallevand
  Directory dropdown on the recording edit dialog MicahMakenzie 1 1,497 2021-01-11, 04:37 PM
Last Post: Graham

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

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

Linear Mode
Threaded Mode