[Solved] TV channel selection and EPG issue

  • After a reboot the TV channels are ok, but no EPG information.
    If I select TV > Guide > no information is dispayed.
    After a little bit of navigation through the TV channels, the TV channel gets stuck on a specific channel.
    I can still go through the TV channel explorer, but selecting a different channel results the stuck channel to get selected again.
    A reboot solves this, but only very shortly.

    Rpi3
    LibreElec 8.0.1 (suspect this issue wasn't there with LE 8.0.0)
    PVR backend (add-on): Tvheadend 4.0.9 (HTS Tvheadend 4.0.9 ~ LibreELEC Tvh-addon v.102)
    Tunner: 2 x Anysee E30 Combo plus (DVB-C Philips TDA10023) ('DVB-C #0 ad0' and 'DVB-C #0 ad1' in the logs below)


    On the web-interface of Tvheadend I don't see issues.
    e.g Electronic Program Guide shows the details I'm missing in Kodi.

    The System log of Tvheadend displays the first correct selection of 'NPO 1 HD' after I selected this channel.
    But when I selected 'NPO 2 HD' at '2017-03-31 23:36:13' it shows 'MTV' instead.
    Making another selection doesn't give other system log messages.
    2017-03-31 23:35:55.079 subscription: 0004: "127.0.0.1 [ Kodi Media Center ]" subscribing on channel "NPO 1 HD", weight: 100, adapter: "Philips TDA10023 DVB-C : DVB-C #0 ad0" <snip>
    2017-03-31 23:35:55.083 subscription: 0005: "127.0.0.1 [ Kodi Media Center ]" subscribing on channel "NPO 2 HD", weight: 40, adapter: "Philips TDA10023 DVB-C : DVB-C #0 ad0" <snip>
    2017-03-31 23:36:06.018 subscription: 0005: "127.0.0.1 [ Kodi Media Center ]" unsubscribing from "NPO 2 HD", hostname="127.0.0.1", client="Kodi Media Center"
    2017-03-31 23:36:11.455 TS: <snip>/610.75MHz/NPO 1 HD: H264 @ #2001 Continuity counter error (total 1)
    2017-03-31 23:36:13.486 mpegts: 482.75MHz in <snip> - tuning on Philips TDA10023 DVB-C : DVB-C #0 ad1
    2017-03-31 23:36:13.490 subscription: 0001: "epggrab" unsubscribing
    2017-03-31 23:36:13.491 subscription: 0006: "127.0.0.1 [ Kodi Media Center ]" subscribing on channel "MTV", weight: 100, adapter: "Philips TDA10023 DVB-C : DVB-C #0 ad1" <snip>
    2017-03-31 23:36:24.028 subscription: 0004: "127.0.0.1 [ Kodi Media Center ]" unsubscribing from "NPO 1 HD", hostname="127.0.0.1", client="Kodi Media Center"
    2017-03-31 23:36:31.663 subscription: 0002: "epggrab" unsubscribing
    2017-03-31 23:36:32.001 mpegts: 490.75MHz in <snip> - tuning on Philips TDA10023 DVB-C : DVB-C #0 ad0
    2017-03-31 23:36:32.001 subscription: 0008: "epggrab" subscribing to mux "490.75MHz", weight: 4, adapter: "Philips TDA10023 DVB-C : DVB-C #0 ad0" <snip>


    After another reboot started with 'RTL 4' as first selection, which is correctly displayed.
    But when I selected 'SBS 6' at '2017-03-31 23:50:09' it again shows 'MTV' instead.
    Making another selection doesn't give other system log messages.
    2017-03-31 23:49:01.555 mpegts: 482.75MHz in <snip> - tuning on Philips TDA10023 DVB-C : DVB-C #0 ad0
    2017-03-31 23:49:01.557 subscription: 0002: "epggrab" unsubscribing
    2017-03-31 23:49:01.559 subscription: 0004: "127.0.0.1 [ Kodi Media Center ]" subscribing on channel "RTL 4", weight: 100, adapter: "Philips TDA10023 DVB-C : DVB-C #0 ad0" <snip>
    2017-03-31 23:49:01.559 subscription: 0005: "127.0.0.1 [ Kodi Media Center ]" subscribing on channel "RTL 5", weight: 40, adapter: "Philips TDA10023 DVB-C : DVB-C #0 ad0" <snip>
    2017-03-31 23:49:12.016 subscription: 0005: "127.0.0.1 [ Kodi Media Center ]" unsubscribing from "RTL 5", hostname="127.0.0.1", client="Kodi Media Center"
    2017-03-31 23:49:32.626 subscription: 0001: "epggrab" unsubscribing
    2017-03-31 23:49:33.001 mpegts: 610.75MHz in <snip> - tuning on Philips TDA10023 DVB-C : DVB-C #0 ad1
    2017-03-31 23:49:33.001 subscription: 0007: "epggrab" subscribing to mux "610.75MHz", weight: 4, adapter: "Philips TDA10023 DVB-C : DVB-C #0 ad1" <snip>
    2017-03-31 23:50:09.675 subscription: 000A: "127.0.0.1 [ Kodi Media Center ]" subscribing on channel "MTV", weight: 100, adapter: "Philips TDA10023 DVB-C : DVB-C #0 ad0" <snip>
    2017-03-31 23:50:20.035 subscription: 0004: "127.0.0.1 [ Kodi Media Center ]" unsubscribing from "RTL 4", hostname="127.0.0.1", client="Kodi Media Center"
    2017-03-31 23:50:33.252 subscription: 0007: "epggrab" unsubscribing
    2017-03-31 23:50:34.002 mpegts: 682.75MHz in <snip> - tuning on Philips TDA10023 DVB-C : DVB-C #0 ad1
    2017-03-31 23:50:34.002 subscription: 000B: "epggrab" subscribing to mux "682.75MHz", weight: 4, adapter: "Philips TDA10023 DVB-C : DVB-C #0 ad1" <snip>
    2017-03-31 23:50:36.674 bat: invalid checksum (len 448, errors 1)
    2017-03-31 23:50:47.860 bat: invalid checksum (len 448, errors 4)
    2017-03-31 23:51:01.121 bat: invalid checksum (len 448, errors 7)


    Disconnected one tuner.
    After another reboot started with 'RTL 4' as first selection, which is correctly displayed.
    But when I selected 'SBS 6' at '2017-03-31 23:50:09' it again shows 'MTV' instead.
    Making another selection doesn't give other system log messages.
    2017-04-01 00:35:48.406 subscription: 0007: "127.0.0.1 [ Kodi Media Center ]" subscribing on channel "RTL 4", weight: 100, adapter: "Philips TDA10023 DVB-C : DVB-C #0 ad0" <snip>
    2017-04-01 00:35:48.407 subscription: 0008: "127.0.0.1 [ Kodi Media Center ]" subscribing on channel "RTL 5", weight: 40, adapter: "Philips TDA10023 DVB-C : DVB-C #0 ad0" <snip>
    2017-04-01 00:35:59.020 subscription: 0008: "127.0.0.1 [ Kodi Media Center ]" unsubscribing from "RTL 5", hostname="127.0.0.1", client="Kodi Media Center"
    2017-04-01 00:36:30.227 subscription: 000A: "127.0.0.1 [ Kodi Media Center ]" subscribing on channel "MTV", weight: 100, adapter: "Philips TDA10023 DVB-C : DVB-C #0 ad0" <snip>
    2017-04-01 00:36:41.023 subscription: 0007: "127.0.0.1 [ Kodi Media Center ]" unsubscribing from "RTL 4", hostname="127.0.0.1", client="Kodi Media Center"

    kodi.log shows the same (wrong) behavior:
    00:35:48.401 T:1491518368 DEBUG: PVRManager - OpenLiveStream - opening live stream on channel 'RTL 4'
    00:36:30.225 T:1491518368 DEBUG: PVRManager - PerformChannelSwitch - switching to channel 'MTV'
    00:36:30.276 T:1491518368 NOTICE: PVRManager - PerformChannelSwitch - switched to channel 'MTV'

    Edit (1-Apr-2017): kodi.log from the period if the last event: https://forum.libreelec.tv/thread-7052.html - Pastebin.com

    Edit (16-Apr-2017): Solved the issue by re-creating the 128 GB microSD card performing a restore from an earlier backup.
    More details: RPi TV channel selection and EPG issue

    Edited once, last by RomMon (April 15, 2017 at 11:47 PM).