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 … 21 22 23 24 25 … 433 Next »
EPG update at Kodi (or Windows) startup

EPG update at Kodi (or Windows) startup
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#11
2019-06-09, 06:31 PM
mvallevand Wrote:There is a good post here for xmltv https://forum.team-mediaportal.com/threa...ml.137808/ but integration with Kodi is difficult in the power off scenario.
Hopefully that'll give him multiple days, then it's largely problem solved. (just needs to either run it over night, or in PostStartup.bat, or once a day via Windows Scheduler etc)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,943
Threads: 956
Joined: May 2006
#12
2019-06-09, 07:21 PM
His approach without any automation is the problem I am talking. Post Startup EPG updates (potentially multiple times daily) and Kodi EPG channel.listings loads will be out of sync at startup and he can't necessarily just turn on the PC and start using Kodi.


Martin
niconpvr
Offline

Junior Member

Posts: 5
Threads: 1
Joined: Jun 2019
#13
2019-06-13, 12:12 PM
Hi again,

I have a minimum requirements setup working with the broadcast epg i.e. a "nextpvr.exe -updateepgonly" command runs at service startup (which is at boot time) via c:\users\public\NPVR\scripts\poststartup.bat and also every hour via task scheduler while the PC is running.

I've figured out that my epg, rather than a few hours worth of data, only provides the current show and the next show regardless of how long those shows are, so for example if a given channel happens to be almost at the end of one show and the next show is only a few minutes long (like a weather report) then the epg for that channel at that time is almost empty and I can't tell what might be starting a few minutes later.

To ensure that at all times I have the current and next show I'd have to run the epg update almost constantly and I'm not going to do that. For now, until I investigate the better epg solutions you've suggested, running it every hour does the job for most situtations.

PS: getting the bat file to run via task scheduler was ridiculously difficult. First my antivirus (Avast) silently quarantined both the task and the batch file (i.e. they just vanished!) and then to get the cmd window to run silently in the background I tweaked a setting which made my antivirus intercept it (this time not silently) saying it was an "IPD.Generic" trojan! Pain in the neck that was. Smile
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,943
Threads: 956
Joined: May 2006
#14
2019-06-13, 12:39 PM
To answer your original question to make Kodi sync more often look at https://kodi.wiki/view/Advancedsettings.xml#epg and play with

<cleanupinterval>900</cleanupinterval>
<updateemptytagsinterval>60</updateemptytagsinterval>

I'm thinking if you clean up quickly then the database will be empty for that channel earlier and Kodi will make a request to NextPVR more frequently.

Martin
niconpvr
Offline

Junior Member

Posts: 5
Threads: 1
Joined: Jun 2019
#15
2019-06-13, 02:44 PM
That's awesome, thanks Martin. I've put those Kodi parameters in place (with cleanupinterval=300) and I'm keeping an eye on the behaviour.

I caved and increased the frequency of the bat file execution in task scheduler to every 15 minutes. Smile (I failed to mention earlier that I've put the Seconds per Frequency NextPvr setting back to 10 seconds which means each update now takes about a couple of minutes)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#16
2019-06-13, 05:19 PM
Honestly, that sounds like it sucks Big Grin

I'd focus on getting xmltv going.
« 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
  EPG Update Errors jcole998 23 1,191 2025-05-11, 06:03 PM
Last Post: mvallevand
  NextPVR VOD through Kodi unmich 2 1,245 2023-06-18, 03:54 AM
Last Post: sub
  Device Update - Channel Mapping chezmorris 10 4,689 2022-07-01, 01:59 PM
Last Post: mvallevand
  Tuner not being released when live TV stopped on Kodi dark_half 7 2,830 2022-06-12, 11:59 PM
Last Post: sub
  ITV/BBC HD and EPG missing from scan and update angelisle 16 4,122 2021-08-26, 11:45 AM
Last Post: NumberFive
  Auto Update EPG not running as scheduled? BairStrokes 2 1,722 2021-03-26, 12:02 PM
Last Post: NumberFive
  automatic EPG update virtualpaul 18 12,773 2021-01-29, 12:40 PM
Last Post: virtualpaul
  Lights-Out for Windows Home Server 2011? TuckerDean 1 1,332 2021-01-28, 01:52 PM
Last Post: mvallevand
  Screensaver on Windows 10 NumberFive 0 1,071 2020-12-24, 10:21 AM
Last Post: NumberFive
  Auto Update EPG not running as scheduled Bobbybear 10 3,590 2020-10-24, 09:24 AM
Last Post: Bobbybear

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

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

Linear Mode
Threaded Mode