Posts by Da Flex

    I have set another 2 part recording on my freesat box in the same way to see if that completes both halves. This records fine and the only issues I have with that box is it sometimes completely freezes on playback of files, usually after a skip forward or backwards (through adverts),

    The "out of memory error" is still present at your latest log:

    Code
    kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/,task=tvheadend,pid=1193,uid=0
    Apr 06 12:44:17.906747 PiKodi kernel: Out of memory: Killed process 1193 (tvheadend) total-vm:1353420kB, anon-rss:1200636kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:2620kB oom_score_adj:0

    Create a swap file now (double size of your RPi RAM). It can't hurt for a few test recordings.

    Also check that drive:

    Code
    Feb 16 18:10:57.820749 PiKodi kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s
    Feb 16 18:10:57.821280 PiKodi kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current] 
    Feb 16 18:10:57.821583 PiKodi kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x11 ASCQ=0x0 
    Feb 16 18:10:57.821896 PiKodi kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 0a 00 00 00 08 00
    Feb 16 18:10:57.822242 PiKodi kernel: critical medium error, dev sda, sector 2560 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 2

    I think I found the cause of the issue (not enough RAM): :)

    Code
    Mar 31 14:31:58.021401 PiKodi kernel: Out of memory: Killed process 1694 (tvheadend) total-vm:1429592kB, anon-rss:1282680kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:2780kB oom_score_adj:0

    So create a swap file:

    Iridium
    April 14, 2019 at 6:09 PM

    I've received feedback from a developer. There are no plans to implement native DSD support.

    I want to keep things sorted:

    • users with questions about the MPD add-on, post here, or use the Kodi forum, where add-on developers are
    • users, who want to apply the above FFmpeg patch, read this, and post here in case of questions

    This thread is closed.

    Usage of banned add-ons means no support.

    newphreak
    March 15, 2016 at 1:02 AM
    Please provide a full debug log.

    How to post a log (wiki)

    1. Enable debugging in Settings>System Settings>Logging
    2. Restart Kodi
    3. Replicate the problem
    4. Generate a log URL (do not post/upload logs to the forum)

    use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link

    The part where the stream is broken - related to audio somehow?

    TV signals aren't always consistent. So maybe your setup is fine, and the stream gets interrupted by a short interrupt of the TV signal. It would be interesting, how TVHeadend handles such interruptions. Does it create a new recording file? Does it have a setting for such situations?

    Other than that, no idea. You're already at log level 2, and no better explanation for creating a new recording file.

    I think that's when the stream gets interrupted:

    Code
    2024-03-31 14:31:57.930 T:957     error <general>: CAESinkALSA - snd_pcm_writei(-32) Broken pipe - trying to recover
    2024-03-31 14:31:57.930 T:994     debug <general>: UpdateInProgressSize: Updating recordings size
    2024-03-31 14:31:57.930 T:1951    debug <general>: Thread JobWorker 3595555456 terminating (autodelete)
    2024-03-31 14:31:57.930 T:990     debug <general>: AddOnLog: pvr.hts: new connection requested

    Can you update your NAS from NFS 3 to NFS 4?

    Code
    2024-03-31 10:07:59.358 T:962     debug <general>: NFS: Context for 192.168.31.123/mnt/user/films not open - get a new context.
    2024-03-31 10:07:59.358 T:962     debug <general>: NFS: version: 3
    ...
    Feb 16 18:10:56.635496 LibreELEC kernel: RPC: Registered tcp NFSv4.1 backchannel transport module.

    Check your NTP settings.

    Code
    Mar 30 02:59:01.277963 PiKodi nmbd[901]: [2024/03/30 02:59:01.277774,  0] ../../source3/nmbd/nmbd_namequery.c:109(query_name_response)
    Mar 30 02:59:01.277982 PiKodi nmbd[901]:   query_name_response: Multiple (2) responses received for a query on subnet 192.168.31.101 for name LANGCLAN<1d>.
    Mar 30 02:59:01.278020 PiKodi nmbd[901]:   This response was from IP 192.168.31.123, reporting an IP address of 192.168.31.123.
    Mar 30 02:59:47.922456 PiKodi connmand[588]: ntp: adjust (slew): -0.023922 sec
    Mar 30 03:02:02.004453 PiKodi tvheadend[1388]: epgdb: snapshot start
    Mar 30 03:02:02.155433 PiKodi tvheadend[1388]: epgdb: queued to save (size 7908898)
    Mar 30 03:02:02.155525 PiKodi tvheadend[1388]: epgdb:   broadcasts 20339
    Mar 30 03:02:02.155551 PiKodi tvheadend[1388]: epgdb: save start
    Mar 30 03:02:02.412209 PiKodi tvheadend[1388]: epgdb: stored (size 1727297)