NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 24 25 26 27 28 … 43 Next »
EPG update fails in multi-tuner setup when only 1 tuner in use

 
  • 0 Vote(s) - 0 Average
EPG update fails in multi-tuner setup when only 1 tuner in use
janoonk
Offline

Member

Netherlands
Posts: 105
Threads: 33
Joined: Dec 2020
#1
2021-01-23, 10:06 AM (This post was last modified: 2021-01-23, 10:22 AM by janoonk.)
By coincidence, while developing/testing my top movie recording plugin, I noticed that EPG update fails when a tuner is in use. I have HDHomeRun with 4 tuners and 3 were free (checked with both NextPVR Device Status and HDHomeRun tunerstatus webinterface. It was the first tuner that was in use by NextPVR recording RTL4 The Voice of Holland.
I have attached my log. In log you find that I have tried several times. Two times by setting the datetime of EPG update to a minute or so later than now, one time by pressing the Update EPG, one time by first emptying EPG and then doing an Update EPG (all from webinterface). During this whole time tuner 1 was in use recording.

Key entrypoints / timeline in log:
2021-01-22 20:04:07.239 [DEBUG][30] Setting '/Settings/General/EPGUpdateTime' to '20:05:00'
2021-01-22 20:06:48.478 [INFO][47] Finished updating EPG

2021-01-22 20:12:19.289 [DEBUG][47] Got request [172.17.0.1]: /services/service (system.epg.update)
2021-01-22 20:12:32.098 [INFO][60] Finished updating EPG

2021-01-22 20:13:35.144 [DEBUG][57] Got request [172.17.0.1]: /services/service (system.epg.empty)
2021-01-22 20:13:47.097 [DEBUG][76] Setting '/Settings/General/EPGUpdateTime' to '20:14:00'

2021-01-22 20:15:49.344 [INFO][24] Finished updating EPG

2021-01-22 20:40:37.038 [DEBUG][57] Got request [172.17.0.1]: /services/service (system.epg.update)
2021-01-22 20:40:46.725 [INFO][51] Finished updating EPG


Attached Files
.zip   bugUpdateEPG.zip (Size: 775.8 KB / Downloads: 4)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#2
2021-01-23, 10:16 AM
That is why it is recommended to do EPG updates in off hours when nothing is scheduled.

Martin
janoonk
Offline

Member

Netherlands
Posts: 105
Threads: 33
Joined: Dec 2020
#3
2021-01-23, 10:17 AM (This post was last modified: 2021-01-23, 10:24 AM by janoonk.)
(2021-01-23, 10:16 AM)mvallevand Wrote: That is why it is recommended to do EPG updates in off hours when nothing is scheduled.

Martin

For 1 tuner devices that's a good advice... but in this case I have 3 tuners free!
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,766
Threads: 954
Joined: May 2006
#4
2021-01-23, 02:42 PM
Can you be more specific about when the problem occurred?

Martin
janoonk
Offline

Member

Netherlands
Posts: 105
Threads: 33
Joined: Dec 2020
#5
2021-01-23, 04:12 PM
(2021-01-23, 02:42 PM)mvallevand Wrote: Can you be more specific about when the problem occurred?

Martin

I wasn't really doing anything. I had the webinterface open plus the live sqlite nextpvr database in DB Browser.
I wanted to check something regarding the EPG so I wanted to update it. First by trying to set the time in the very near future so it got triggered. Then I noticed nothing changed in the EPG_EVENT table. Inside the logs I noticed 'tuner in use' and 'finished updating epg' in only 2 minutes. Previously this took like 45 minutes. Rest of my tries (forcing update in About screen) are described in first post.

I attached a full logfile with timestamps and every request and command I and NextPVR did. Plus I described in my first post what I was doing and the situation/state of NextPVR (the first of the 4 tuners was recording). What more do you need?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#6
2021-01-23, 07:09 PM
Quote:EPG update fails in multi-tuner setup when only 1 tuner in use
Ultimately, it depends which tuner. The EPG source is tied to the tuner that was originally used to setup that channel. You may want to move that tuner further down the priority list, so that it's less likely to be chosen. (then update the EPG again, so recordings are rescheduled)
janoonk
Offline

Member

Netherlands
Posts: 105
Threads: 33
Joined: Dec 2020
#7
2021-01-23, 08:28 PM
(2021-01-23, 07:09 PM)sub Wrote:
Quote:EPG update fails in multi-tuner setup when only 1 tuner in use
Ultimately, it depends which tuner. The EPG source is tied to the tuner that was originally used to setup that channel. You may want to move that tuner further down the priority list, so that it's less likely to be chosen. (then update the EPG again, so recordings are rescheduled)

Okay that did the trick. I moved tuner 0 to the bottom using it’s down arrow icon in the Devices screen. I did a test recording 3 programs at once which caused tuner 1, 2 and 3 to get in recording state. Then I did a EPG update which triggered tuner 0 and that worked!
Thanks alot!
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG doesn't update bornsurvivor 11 779 2025-04-06, 04:04 PM
Last Post: mvallevand
  webplayer dvb-t subtitles no longer supported or available since v7 update a1blues 23 1,073 2025-01-07, 08:06 AM
Last Post: a1blues
  HDHR Tuner not released after recording since update to 7.0.0 spin35 1 311 2024-12-24, 01:46 PM
Last Post: mvallevand
  V7 update artmetz 0 335 2024-12-03, 07:30 PM
Last Post: artmetz
  Import guide data from HD Homerun tuner jonasx 5 626 2024-10-14, 08:48 PM
Last Post: mvallevand
  Unable to install HDHomeRun tuner to NextPVR terry 19 2,016 2024-01-26, 09:47 PM
Last Post: terry
  NPVR Recording Service fails to start kingdomservant 5 1,065 2023-06-16, 04:51 AM
Last Post: sub
  Recommendation for Dual or Quad Tuner sirlou 13 1,890 2023-02-24, 02:15 AM
Last Post: sirlou
  Linux Ending Tuner Recording Early For New Recording Despite Idle Tuners Available LinuxDVR 5 1,077 2022-11-18, 09:30 PM
Last Post: mvallevand
  Recording tuner ordering snagglewest 6 1,028 2022-11-17, 12:33 AM
Last Post: sub

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

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

Linear Mode
Threaded Mode