TVHeadend addon - can't record programs that are longer than 2 hours

  • I'm trying to determine if I chasing a TVH problem, Raspberry Pi problem, or LibreELEC problem.

    I need to confirm if LibreELEC 9.2.5 on a Raspberry PI 4 4GB with the TVH addon can record a program that is longer than 2 hours. I can't make it happen with my setup.

    I have LE 9.2.5 installed on a USB3-SATA 1TB SSD with the TVH server and client addon installed along with the SD4TVH EPG addon. It works on everything except recording a program longer than 2 hours. I have tried setting up the recordings multiple ways: Kodi Guide -> Record, Kodi Guide -> Timer, and TVH web interface EPG.

    My tuners are HDHomerun Connect, but they are configured as IPTV inputs so I can use the HTTP interface method so tuners are shared properly with other apps. I have also posted this on the TVH and Kodi forums, but no luck anywhere yet. There seems to be a hint that Kodi Record button limits to 2 hours, but not sure.

  • I think I know the problem and will test to confirm.

    When you use IPTV Network Automatic you need a .m3u file. Mine had entries like:

    Code
    #EXTM3U
    #EXTINF:-1 tvg-name="UNC-TV" tvh-chnum="4.1",UNC-TV
    http://192.168.0.21:5004/auto/v4.1?duration=7200
    #EXTINF:-1 tvg-name="ROOTLE" tvh-chnum="4.2",ROOTLE
    http://192.168.0.21:5004/auto/v4.2?duration=7200
    #EXTINF:-1 tvg-name="UNC-EX" tvh-chnum="4.3",UNC-EX
    http://192.168.0.21:5004/auto/v4.3?duration=7200
    #EXTINF:-1 tvg-name="NCCHL" tvh-chnum="4.4",NCCHL
    http://192.168.0.21:5004/auto/v4.4?duration=7200

    Note the duration=7200 which is 2 hours. I'm going to make the edits as in:

    Code
    #EXTM3U
    #EXTINF:-1 tvg-name="UNC-TV" tvh-chnum="4.1",UNC-TV
    http://192.168.0.27:5004/auto/v4.1
    #EXTINF:-1 tvg-name="ROOTLE" tvh-chnum="4.2",ROOTLE
    http://192.168.0.27:5004/auto/v4.2
    #EXTINF:-1 tvg-name="UNC-EX" tvh-chnum="4.3",UNC-EX
    http://192.168.0.27:5004/auto/v4.3
    #EXTINF:-1 tvg-name="NCCHL" tvh-chnum="4.4",NCCHL
    http://192.168.0.27:5004/auto/v4.4

    and see what happens.