TVHeadEnd scan for muxes and EPG

  • RPI4, 8 Gb., two usb tuners (TVHeadEnd sees all the ATCS-T tuners).

    I realize my questions are related TVHeadEnd, but I'm only seeing these problems on LE.

    I've searched the forums (LE, TVHeadEnd, Kodi, xmltv) I'm trying LibreElec as an alternative to OSMC (which I used for the last seven years), and have run into two problems with TVHeadEnd on this platform:

    • When scanning for muxes (ATSC-T) the following are generated in the log ad nauseam:2023-10-30 17:32:31.290 htsp: Got connection from 127.0.0.1
      • 2023-10-30 17:32:31.291 htsp: 127.0.0.1: Welcomed client software: Kodi Media Center (HTSPv35)
        2023-10-30 17:32:31.291 htsp: 127.0.0.1 [ Kodi Media Center ]: Unauthorized access
        2023-10-30 17:32:36.292 htsp: 127.0.0.1 [ Kodi Media Center ]: Disconnected
        2023-10-30 17:32:36.293 htsp: Got connection from 127.0.0.1
        2023-10-30 17:32:36.293 htsp: 127.0.0.1: Welcomed client software: Kodi Media Center (HTSPv35)
    • The xmltv setup seems, to be nice, onerous.
      • There are no tv_grab... scripts other than the one generic (previously there was one for each zone and the questions/answers were obvious: Account:, Password:...).
      • I'm using Schedules Direct.
    • Trying to apply the workarounds is reminiscent of the early days of RH rpm hell. (LE does not allow the installation of missing packages to meet the xmltv workaround addon requirements, no apt-get allowed to install py 2.xx.x., etc.

    I'm hoping I missed some crucial step that would have resolved all these issues; can someone drop me a link to what I'm missing, if I need to look elsewhere a link for that would also be appreciated? /shrug

    Thanks in advance!

  • Instead of TVHeadend perhaps try NextPVR as it can also be installed on LE. It will use the same /dev/dvb tuners as TVHeadend. Schedules Direct integration is built in and fairly easy to configure. You will also get the meta art from SD in Kodi.

    If you do want to this I would recommend adding you Schedules Direct account first. Then do the scan on the first tuner, update the EPG when prompted and then make sure that everything works. Afterward scan the second tuner and copy.

    Note if you are testing setup with the web browser and not Kodi on an Arm device like the RP4 they are not fast enough to transcode North American OTA in real time so video transcoding is disabled LE/CE. Testing in Kodi you will get video. You could enable video transcoding in the server settings to see what I mean.

  • when I set up xmltv, I used the TVHeadEnd plugin for Schedules Direct. This plugin will automatically download show schedules from Schedules Direct and create EPG files for your channels.