Posts: 45
Joined: Oct 2013
Reputation:
0
If I use something like The Scheduler, how do I tell xbmc to reset the EPG (like what happens when you click on "reset epg" in Live TV, and tell it to reboot. I'd prefer they be two seperate processes so I can adjust their startup time.
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
I don't know of any way to trigger the EPG reset remotely at the moment. More importantly, why do you need to do this?
Posts: 464
Joined: Dec 2011
Reputation:
0
A great feature request (I'd like to have a "reset EPG DB every x ours) !
Why - obviously XMBC has a lot of trouble to obtain a consistent epg database. After 1 - 2 days epg data are getting corrupt more an more (in XBMCs database; starting and ending times); only LiveTV->EPG->Reset EPG database and reloading from pvr backend helps to get no corrupt information - I do it manually every day to avoid broken timers. Maybe it's solved in Gotham, but in Frodo it's pain in the ass ..
Greetz
LCS
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
I have never experienced that at all, and I never close XBMC. Maybe the addon is at blame?
Posts: 45
Joined: Oct 2013
Reputation:
0
Well.. In the interim while the add on is becoming stable. I would love to do this. Am I hearing that it's not possible?
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
At the moment I don't think it's possible. The best approach would be to add a method for resetting the EPG to the JSON-RPC API, similar to VideoLibrary.Clean.
Posts: 2,064
Joined: Jan 2009
Reputation:
34
prae5
Team-XBMC Forum Moderator
Posts: 2,064
Or get the add-on dev to fix the add-on…….
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
I've never understood why xbmc needs it's own epg database when it is stored on the backend's database anyway. Why not just query the backend?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 3,735
Joined: Dec 2010
Reputation:
53
negge
yo guysv7may bd latr tomorroe
Posts: 3,735
I guess querying the database is faster than quering the backend directly. Most of the time absolutely up-to-date information is not needed anyway.
Posts: 45
Joined: Oct 2013
Reputation:
0
Thank you for the feedback!
Posts: 1,378
Joined: Oct 2004
Reputation:
37
there is an option in XBMC to not store data in the EPG database isnt there? I have that option set myself, so that way everyytime XBMC starts up it requests fresh EPG from the backend rather than only every X hours when it is caching things in it's database. You could set this option, then just restart XBMC every X amount of time (rather than reset EPG database every X hours)