Problem loading channels and EPG
#1
Hi

I am running LibreELEC 9.2.3 (Kodi 18.7) on a raspberry pi with the MythTV PVR client v5.10.19.1 installed. I have upgraded my MythTV-backend from 0.28 to 0.31 and the channels and epg information are now missing from the PVR client, recordings and timers are shown correctly.  I understand that the PVR client supports this version of MythTV.

I have uploaded a debug log from LibreElec here https://pastebin.com/ZcF1Qxbq

At line 2340 it seems that MythTV PVR is trying to find the members of a channel group called 'satellite'.  I don't have any channel groups defined (the channelgroup and channelgroupnames tables are empty) although I have a video source called 'satellite'. The channels identified in lines 2348 etc are my MythTV channels.

I'm probably doing something wrong, can anyone help point me in the right direction? TIA.

Paul
Reply
#2
You could try clearing channel and guide data to force a reload from the backend.

System-pvr&livetv-general and guide sections --clear data.
Reply
#3
(2021-03-18, 19:19)pshepherd Wrote:  

At line 2280 I see it call this URL: 

    http://192.168.1.11:6544/Channel/GetChan...SourceID=2

This results in a number of channels as shown at line 2308.  Cut/paste the URL above in any WWW browser and you will see the complete results in JSON format.

If I go backward a bit at line 2236 I see the output of:

    http://192.168.1.11:6544/Channel/GetVideoSourceList

It shows three videosources and the second one (SourceID=2) above is associated with SourceName "satellite". Not sure why it calls that a 'group' though.  The update in MythTV may not have fully migrated the databases...in that case you may need to delete the video source in myth-setup and rebuild it.


{
    "VideoSourceList": {
        "AsOf": "2021-03-18T15:17:41Z",
        "ProtoVer": "91",
        "Version": "31.20200101-1",
        "VideoSources": [
            {
                "BouquetId": "0",
                "ConfigPath": "",
                "FreqTable": "default",
                "Grabber": "eitonly",
                "Id": "1",
                "LineupId": "",
                "NITId": "-1",
                "Password": "",
                "RegionId": "0",
                "ScanFrequency": "0",
                "SourceName": "terrestial",
                "UseEIT": "true",
                "UserId": ""
            },
            {
                "BouquetId": "0",
                "ConfigPath": "",
                "FreqTable": "default",
                "Grabber": "tv_grab_uk_tvguide",
                "Id": "2",
                "LineupId": "",
                "NITId": "-1",
                "Password": "",
                "RegionId": "0",
                "ScanFrequency": "0",
                "SourceName": "satellite",
                "UseEIT": "true",
                "UserId": ""
            },
            {
                "BouquetId": "0",
                "ConfigPath": "",
                "FreqTable": "default",
                "Grabber": "tv_grab_uk_bleb",
                "Id": "3",
                "LineupId": "",
                "NITId": "-1",
                "Password": "",
                "RegionId": "0",
                "ScanFrequency": "0",
                "SourceName": "test_ch4",
                "UseEIT": "true",
                "UserId": ""
            }
        ]
    }
}
Reply
#4
Thanks for the responses.

@Atreyu I did clear the data when investigating. Forgot to mention it didn't help.

@goldpizza44 The response to http://192.168.1.11:6544/Channel/GetChan...SourceID=2 can be found here https://pastebin.com/DbpfvdxX in terms of content it looks good to me. 

Line 2236 returns the 3 sources which correspond to the 3 rows in the videosource table in mythconverg. A grab from phpMyAdmin is here https://i.imgur.com/TtEwhYc.png

It is odd that it interprets source #2 as a channel group.

If I try http://192.168.1.11:6544/Guide/GetChannelGroupList I get the following back:

<ChannelGroupList version="1.0" serializerVersion="1.1">
<ChannelGroups/>
</ChannelGroupList>

Is that correct for no channelgroups?
Reply
#5
What happens when you run mythfilldatabase on the backend, is it pulling data or error in out
Reply
#6
I run mythfilldatabase each data for one channel, the grabber works fine. the epg for other channels are done over the air.
Reply
#7
I have tried adding a group called satellite to channelgroupnames and inserted one channel into the group.  I then used:

http://192.168.1.11:6544/Guide/GetChannelGroupList

http://192.168.1.11:6544/Channel/GetChan...SourceID=2

to verify the group was present.  MythTV.pvr still doesn't see the channel or the group - I cleared the cache to make sure it would reload.

Incidentally where does kodi/mythtv.pvr store this group/channel data? ... decided it might be Epg12.db and TV32.db, deleted both and rebooted kodi, same problem.

I could run mythtv-setup although I am not a big fan owing to problems in the past - also I am not sure that there is a problem with the videosource table.

Anything else I can try?
Reply

Logout Mark Read Team Forum Stats Members Help
Problem loading channels and EPG0