Blank EPG after running for a couple of days
#1
I have noticed that after running the VBox plugin for a couple of days I return to use the EPG and find that it's completely blank.
Once it gets into this state, I find the only way to get the EPG back is to restart the PVR Manager.

I am using the very latest version of the plugin and the latest kodi nightly dev build.

I switched on debug logging to capture this, and when it gets into this state I see the following entries repeated roughly once an hour in the logfile when it attempts to retrieve the guide data from the backend:

Code:
12:03:09 T:139777546376960    INFO: AddOnLog: VBox TV Gateway PVR Client: pvr.vbox - Fetching guide data from backend (this will take a while)
12:03:09 T:139777546376960   DEBUG: CurlFile::Open(0x50f8e30) http://192.168.0.166:80/cgi-bin/HttpControl/HttpControlApp?OPTION=1&ExternalIP=192.168.0.166&FromChIndex=1&Method=GetXmltvSection&Port=55555&ToChIndex=10
12:03:10 T:139777546376960   DEBUG: CurlFile::Open(0x56c18a0) http://192.168.0.166:80/cgi-bin/HttpControl/HttpControlApp?OPTION=1&ExternalIP=192.168.0.166&FromChIndex=11&Method=GetXmltvSection&Port=55555&ToChIndex=20

.....

12:03:16 T:139777730918144   ERROR: PVR - Process - invalid channel or channel doesn't have an EPG
12:03:16 T:139779127555840   ERROR: Previous line repeats 165 times.

I've dropped my full debug logfile here incase it helps.

https://www.dropbox.com/s/g1jbig5mmaas64...l.log?dl=0
Reply
#2
Interesting, I'll take a look. I'm quite busy at the moment though so it may take a while.

Does this only happen after a few days or have you managed to reproduce it quicker than that?
Reply
#3
I have managed to reproduce it quicker than that. It seems quite random as to how long it takes to happen - e.g. it took 2 days to happen, then I restarted and the problem cleared, but then returned again a couple of hours later. I did notice in the log that one hour prior to it hitting the problem it had cleared the channel list and epg data, then re-populated the channel list:

Code:
06:16:58 T:139777546376960   DEBUG: CurlFile::Open(0x51a1d50) http://192.168.0.166:80/cgi-bin/HttpControl/HttpControlApp?OPTION=1&ExternalIP=192.168.0.166&FromChIndex=FirstChannel&Method=GetXmltvChannelsList&Port=55555&ToChIndex=LastChannel
06:16:59 T:139778561402624   DEBUG: CPVRChannelGroupsContainer - Update - updating channels
06:16:59 T:139777546376960    INFO: AddOnLog: VBox TV Gateway PVR Client: pvr.vbox - Fetching guide data from backend (this will take a while)
...
06:17:12 T:139778561402624    INFO: PVRChannelGroup - RemoveDeletedChannels - deleted TV channel 'BBC One HD' from group 'All channels'
06:17:12 T:139778561402624   DEBUG: deleting EPG table BBC One HD (120)
06:17:12 T:139778561402624   DEBUG: PVR - Delete - deleting channel 'BBC One HD' from the database
06:17:12 T:139778561402624    INFO: PVRChannelGroup - RemoveDeletedChannels - deleted TV channel 'BBC Two HD' from group 'All channels'
06:17:12 T:139778561402624   DEBUG: deleting EPG table BBC Two HD (133)
06:17:12 T:139778561402624   DEBUG: PVR - Delete - deleting channel 'BBC Two HD' from the database
06:17:12 T:139778561402624    INFO: PVRChannelGroup - RemoveDeletedChannels - deleted TV channel 'ITVHD London' from group 'All channels'
06:17:12 T:139778561402624   DEBUG: deleting EPG table ITVHD London (157)
....
06:17:30 T:139778561402624   DEBUG: CPVRChannelGroupsContainer - Update - updating channels
06:17:31 T:139778561402624    INFO: AddOnLog: VBox TV Gateway PVR Client: pvr.vbox - Adding channel 101: BBC One HD. Icon: http://images.atlas.metabroadcast.com/pressassociation.com/channels/p131686.png
06:17:31 T:139778561402624    INFO: AddOnLog: VBox TV Gateway PVR Client: pvr.vbox - Adding channel 102: BBC Two HD. Icon: http://images.atlas.metabroadcast.com/pressassociation.com/channels/p142703.png
06:17:31 T:139778561402624    INFO: AddOnLog: VBox TV Gateway PVR Client: pvr.vbox - Adding channel 103: ITVHD London. Icon: http://images.atlas.metabroadcast.com/pressassociation.com/channels/p136176.png
Reply
#4
I've experienced the same issue. the EPG was missing on the device (backend), so it was not related to the kodi addon.
no matter how many times i've tried to refresh the EPG data on the device page, it didn't help.
the only thing that fixed it for me was restoring factory default and start from the beginning. now I have EPG back.
Reply
#5
Yeah make sure you check the web interface to see if the device actually has any data.
Reply
#6
The issue pomela found it different to mine.

I can see in the log that EPG data is being returned from the vbox.
I am also using an external XMLTV guide, and have ticked the "Prefer external EPG over OTA" option, so surely the guide should never be blank.

It's clear from the logfile I posted that both the OTA and extenal EPG sources contained data, but for some reason the EPG gets into a mess every now and again, and I can only get it back to normal by either clearing the guide data or restarting the PVR Manager.

I posted the link to my logfile in the original post.
Reply
#7
If it's any help to add to this problem, I'm seeing the blanked out EPG with using a locally stored xmltv file, configured like jahutchi - way sooner than days though, I'm lucky to get 12 hours without a blank EPG,
A restart or a DB clean returns it back to working order. Scripting a PVR manager stop and restart does *not* fix the EPG, sitll blank Sad
Reply
#8
Just to add a comment for those experiencing the issue - since it's very quiet here, I'm expecting negge is just too busy Smile

It looks like it is the addon with the way it processes channels and updates periodically from the backend. If you use the vbox inbuilt program guide stuff in the latest beta, it actually works.
1. Download and install beta posted on this forum
2. Schedule downloading the xml data
3. put it on a share
4. configure vbox to use that xml file
5. do manual mapping (ITV anglia to ITV1, etc)
6. wait for it to process
7. in the kodi addon, set it back to use the vbox program guide
8. settings - TV - guide - clear data

It takes a long time if you have weeks of data downloaded - and in fact, I limit it to 1 day since 7 days can cause the vbox to lock up (it is beta after all)
Reply
#9
(2016-05-09, 10:57)furious1y Wrote: Just to add a comment for those experiencing the issue - since it's very quiet here, I'm expecting negge is just too busy Smile

It looks like it is the addon with the way it processes channels and updates periodically from the backend. If you use the vbox inbuilt program guide stuff in the latest beta, it actually works.
1. Download and install beta posted on this forum
2. Schedule downloading the xml data
3. put it on a share
4. configure vbox to use that xml file
5. do manual mapping (ITV anglia to ITV1, etc)
6. wait for it to process
7. in the kodi addon, set it back to use the vbox program guide
8. settings - TV - guide - clear data

It takes a long time if you have weeks of data downloaded - and in fact, I limit it to 1 day since 7 days can cause the vbox to lock up (it is beta after all)

Hi

Just wondered what method your using to get you EPG data? As I have been using Atlas, but it take a long time to setup. Just wondered whether there is an easier way to do this. As Atlas in the last few days have told me I can only now download 24hrs, instead of the normal 7 days I would normally do, as they are changing their T&C's.

Cheers

Scam
Reply

Logout Mark Read Team Forum Stats Members Help
Blank EPG after running for a couple of days0