Posts: 968
Joined: Nov 2011
Reputation:
10
giaur
Posting Freak
Posts: 968
Hello,
Everytime xbmc starts, it imports ALL epg data from backend (tvheadend in my case). There are some problems with this, baceuse:
- this import is extremely slow. I really have no idea why it's so slow, but this make me crazy
- there is modal window displayed with import epg progress. This is bad idea, I think this should bo done in background.
Is this possible to prevent epg import everytime on startup? I want to make import on demand only and make xbmc to use already imported epg data, saved in its own database. Epg does not change so often and there is no need to make scan on each program start.
Posts: 25
Joined: Jan 2010
Reputation:
0
Temporaly workaround ..Uncheck "Save EPG into toDtabase" under TV setting . Start is much faster ....
Posts: 2,274
Joined: Feb 2009
Reputation:
30
opdenkamp
Retired Team-Kodi Member
Posts: 2,274
you can increase the timeout in the epg settings. disabling "save to database" as ivonovak suggests will make the startup a lot slower, not faster (in most occasions, depending on how old the data in the db is)
the import is slow because of how the protocol has been implemented. the current htsp implementation requires one call to the server per epg event. the import will be much faster is the most recent builds, but it's still slow.
opdenkamp / dushmaniac
xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]
Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.
If you like my work, please consider donating to me and/or Team XBMC.
Posts: 464
Joined: Dec 2011
Reputation:
0
2012-03-05, 10:06
(This post was last modified: 2012-03-05, 10:12 by LastCoder.)
If my memory serves me right, you can only increase EPG update intervall to 480 minutes, which is in most cases too often .. I guess 12, 24 or even 48 hours would be enough to check for new EPG information, depends on the backend .. I have EPG up to seven days from my backend, no need to update it so often; in moste cases I'm only interessted in the next days, so updating every 2 - 3 days would be enough for me.
I'd suggest to change that small option ..
Greetz
LastCoder
PS: Nevertheless I have more than 50 channels and I think it's a quite fast import ..
Posts: 297
Joined: Oct 2005
Reputation:
1
Hi,
I am having the same problem, can I somehow hide the window on the top of the XBMC screen that says "Importing EPG" completely? Can I configure only to import EPG from certain channels, or to prevent importing EPG at all`?
Posts: 968
Joined: Nov 2011
Reputation:
10
giaur
Posting Freak
Posts: 968
2013-09-16, 21:33
(This post was last modified: 2013-09-16, 21:39 by giaur.)
I still agree, but now epg import is much improved (a lot of faster), so it's not so bad as before. It was really unacceptable with xbmc 11, because of very long time taken by epg importing process (25 channels, almost minute), now the same operation takes 2-3 seconds.
In any case, epg importing progress seems to be not neccesary, but it's only my personal opinion. Unfortunatelly, import is needed, since xbmc doesn't play tv directly and uses streaming from backend instead.
Posts: 208
Joined: Mar 2013
Reputation:
0
I've got over 200 channels in my set up and the little popup for EPG import appears at each start up, but takes about 5 seconds to do the whole lot... and I can continue using the system as normal during those 5seconds... not been an issue for me, and I'm not storing it in a local database. Happy with it how it is.