Debugging LE

  • Hello,

    I have a Nvidia ION device with stable LE. I have problem with tvheadend when I play recordings. It use to stop the recording without any reason.

    I want to debbug it, which file could I "tail -f" to have realtime log?

    I want to have both tvheadend server and LE in two consoles with debbuging and try to reproduce the error.

    Could you help with it?


    • Official Post

    Debugging Kodi is about knowing what is going on. That always means the whole log, and not just the part that you are interested in. Errors can start anywhere.

  • Thanks!

    Where could I enable the debug logging?

    I will try it.

    Kind regards.

  • I try it.

    Kodi log is workig great:

    # tail -f /storage/.kodi/temp/kodi.log

    But I have nothing for Tvheadened client:

    # ls -lh /storage/.kodi/userdata/addon_data/
    total 16
    drwxr-xr-x    2 root     root        4.0K Oct 30 16:45 pvr.hts
    drwxr-xr-x    2 root     root        4.0K Oct 30 16:43 service.libreelec.settings
    drwxr-xr-x    2 root     root        4.0K Oct 30 16:44 skin.confluence
    drwxr-xr-x    2 root     root        4.0K Oct 30 16:43 visualization.projectm

    # ls -lh /storage/.kodi/userdata/addon_data/pvr.hts/
    total 4
    -rw-r--r--    1 root     root         861 Oct 30 16:45 settings.xml

    Need I activate the tvh logging?

    Thanks and regards.

  • from where did you installled TVHeadend from? From the LibreELEC repo? And if yes, which version?


    Yes, I installed from Libreelec repo and the version is 2.2.15.

    Need I change something here?

    Thanks for the help.


    • Official Post

    Sorry, my fault

    the path I gave you was for the "service" not for the client.

    If you play a recorded file, then the client shouldn't matter, as the file played back by kodi itself. So it's the kodi.log which is important.

    Otherwise you have to enable PVR-client specfic logging at Kodi settings to get a log for the client and then it's the kodi.log again.

  • Thanks!