Live stream not working while recording



Hi!

I am using LibreELEC (official): 12.0.0 (RPi5.aarch64) with next-pvr service (Version: 6.1.5.231022) and next-pvr client (Version: 21.1.0.1) all on LE.
I am using IPTV playlist with multicast addresses and I have an issue that live stream is not working while recording. When I cancel recording than live stream is working.

When I click on live stream channel while recording I get instant message Playback failed: One or more items failed to play. Check the log for more infromation about this message.

I checked logs and in logs there is an error:

Code:

2024-06-04 15:45:33.592    [ERROR][236]    Unable to StartStream():
2024-06-04 15:45:33.592    [ERROR][236]    Unable to start live stream for timeshift: Unable to find available capture device
<rsp stat="fail">
  <err code="11" msg="Failed to start stream: Unable to find available capture device" />
</rsp>

Is there any limit for only one stream at a time or what am I missing?

I also tried messing with npvr.db3 and add a few more IPTV devices but without success still the same error. Does anybody have any hint what can I check to force kodi using more than one stream at a time?

Code:

2024-06-03 15:43:02.389    [DEBUG][22]    IPTV StartStream@8
2024-06-03 15:43:02.389    [ERROR][22]    Unable to StartStream(): 
2024-06-03 15:43:02.389    [ERROR][22]    Unable to start live stream for timeshift: Unable to find available capture device
2024-06-03 15:43:02.389    [DEBUG][22]    <?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
  <err code="11" msg="Failed to start stream: Unable to find available capture device" />
</rsp>

2024-06-03 15:43:02.393    [DEBUG][35]    Got request [127.0.0.1]: /service (channel.stream.stop)
2024-06-03 15:43:02.393    [DEBUG][35]    method=channel.stream.stop
2024-06-03 15:43:02.393    [DEBUG][35]    parameters: 
2024-06-03 15:43:02.393    [DEBUG][35]       method: channel.stream.stop
2024-06-03 15:43:02.393    [DEBUG][35]       sid: e82d62ba5ef14f63971c4ff9427a6d6f
2024-06-03 15:43:02.393    [DEBUG][35]       client_ip: 127.0.0.1
2024-06-03 15:43:02.393    [DEBUG][35]       user_agent: Kodi/21.0 (X11; Linux aarch64) LibreELEC/12.0 App_Bitness/64 Version/21.0-(21.0.0)-Git:21.0-Omega
2024-06-03 15:43:02.393    [DEBUG][35]       host_callback: ...
2024-06-03 15:43:02.393    [DEBUG][35]    StopStream@e82d62ba5ef14f63971c4ff9427a6d6f
2024-06-03 15:43:02.393    [DEBUG][35]    <?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
</rsp>

2024-06-03 15:43:05.258    [DEBUG][32]    Got request [127.0.0.1]: /service (channel.stream.start)
2024-06-03 15:43:05.258    [DEBUG][32]    method=channel.stream.start
2024-06-03 15:43:05.258    [DEBUG][32]    parameters: 
2024-06-03 15:43:05.258    [DEBUG][32]       method: channel.stream.start
2024-06-03 15:43:05.258    [DEBUG][32]       channel_id: 9116
2024-06-03 15:43:05.258    [DEBUG][32]       sid: e82d62ba5ef14f63971c4ff9427a6d6f
2024-06-03 15:43:05.258    [DEBUG][32]       client_ip: 127.0.0.1
2024-06-03 15:43:05.258    [DEBUG][32]       user_agent: Kodi/21.0 (X11; Linux aarch64) LibreELEC/12.0 App_Bitness/64 Version/21.0-(21.0.0)-Git:21.0-Omega
2024-06-03 15:43:05.258    [DEBUG][32]       host_callback: ...
2024-06-03 15:43:05.258    [DEBUG][32]    StartStream(9116TongueOP TV)
2024-06-03 15:43:05.258    [DEBUG][32]    looking for capture source (in reverse priority order)
2024-06-03 15:43:05.258    [DEBUG][32]    checking: IPTV (http://...)
2024-06-03 15:43:05.258    [DEBUG][32]    enabled and present
2024-06-03 15:43:05.258    [DEBUG][32]    does not have channel
2024-06-03 15:43:05.258    [DEBUG][32]    checking: IPTV (http://...)
2024-06-03 15:43:05.258    [DEBUG][32]    enabled and present
2024-06-03 15:43:05.258    [DEBUG][32]    does not have channel
2024-06-03 15:43:05.258    [DEBUG][32]    checking: IPTV (http://...)
2024-06-03 15:43:05.258    [DEBUG][32]    enabled and present
2024-06-03 15:43:05.258    [DEBUG][32]    has channel
2024-06-03 15:43:05.258    [DEBUG][32]    ...resource is already in use, but this capture source supports multi-record and is on the same channel
2024-06-03 15:43:05.259    [DEBUG][32]    live tv is possible
2024-06-03 15:43:05.259    [DEBUG][32]    IPTV StartStream
2024-06-03 15:43:05.259    [DEBUG][32]    IPTV StartStream@2
2024-06-03 15:43:05.259    [DEBUG][32]    IPTV StartStream@3
2024-06-03 15:43:05.259    [DEBUG][32]    IPTV StartStream@5
2024-06-03 15:43:05.259    [DEBUG][32]    IPTV StartStream@6
2024-06-03 15:43:05.259    [DEBUG][32]    IPTV StartStream@7
2024-06-03 15:43:05.274    [DEBUG][32]    Requesting [nFlwiH3KixN8otubtqcCXi7ugEF8sIRPIwMVV0WGaJvKVBGhNzaB3Xdk4i9PQeHcm2JKZAyS3KEgzXHnMy1EHn8hPUHMAXIk2nmdRhO0uCrVpbu2D0QuAzmGpCVp3cyTrAJLDgEwJpjAXGLz9gPMsuiTS8k3gCJ0EvylqwtOv6uGeiJDuU/QzmNcWZm37cfUhDZI7CbwHQfEkezoCoCXv98vH9/aXyL7We7lFSYOVIV8e4dzQlbtZmsf2BWQhC0QAc4ErnkjJWb3KTqdz1SdZvYP8wazwGon3dNl9y9//m4Z+tJV/9CX0FQTX8O/BnAkp3k4uLscAOQaRyKlcuBy4esygj0hyy3vHC5erFPbMV1O/RYN+boRzUewvJXoyWsAGUCKPvq9uS67gMtFDoWuAQ==]
2024-06-03 15:43:05.274    [DEBUG][32]    IPTV StartStream@8
2024-06-03 15:43:05.274    [ERROR][32]    Unable to StartStream(): 
2024-06-03 15:43:05.274    [ERROR][32]    Unable to start live stream for timeshift: Unable to find available capture device
2024-06-03 15:43:05.274    [DEBUG][32]    <?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
  <err code="11" msg="Failed to start stream: Unable to find available capture device" />
</rsp>

Thanks in advanced,
regards Peter