ChannelsDVR Closing Connection on first attempt to play channel

I'm on latest pre-release now (see my other post) and the logs seem to be a little more detailed for what I was trying to troubleshoot. So when I open a stream (m3u) the first time, it always says "Connection Lost. The connection to the tuner was lost.Press Play to try again" - if I try again, it works.

So I've been checking the logs for ChannelsDVR and my streaming m3u provider (locally hosted software). When this occurs, I get a very quick log entry showing that channelsdvr closed the connection:

2024/11/24 16:48:00.882648 [TNR] Opened connection to M3U-streammaster for ch9004 Channel1
2024/11/24 16:48:00.882775 [TNR] Closed connection to M3U-streammaster for ch9004 Channel1
2024/11/24 16:48:00.882901 [SNR] Buffer statistics for 192.168.1.155 (Master Bedroom TV) for ch9004 Channel1: buf=0% drop=0%

I'm assuming the last log entry above means the stream is done and these are the summary stats for it.

So then if I just press play again it works. Is there anyway to see behind these log entries and understand why its stopping immediately with a tuner failure? I can play that same stream with VLC without any delay or issue. What command is ChannelsDVR running here, anything I could test outside of the software using ffmpeg or vlc?

Try recording the channel. You can then stop/cancel the recording.
This should give you better error messages in the log.

Logs are pretty much the same. After it does the "immediate" fail. They just keep retrying and sometimes it gets content for a while but seems to keep disconnecting.

**User Clicks Record on Southpark, currently airing**
2024/11/24 21:27:26.953002 [HTTP] | 200 |   10.374059ms |   192.168.1.155 | POST     "/dvr/jobs/new"
2024/11/24 21:27:26.953031 [DVR] Starting job 1732501646-ch9005 South Park on ch=[9005]
2024/11/24 21:27:26.961801 [HTTP] | 200 |     115.196µs |   192.168.1.155 | GET      "/dvr/jobs/1732501646-ch9005"
2024/11/24 21:27:37.958921 [TNR] Opened connection to M3U-streammaster for ch9005 Comedy Central US
2024/11/24 21:27:37.959067 [TNR] Closed connection to M3U-streammaster for ch9005 Comedy Central US
2024/11/24 21:27:37.959625 [DVR] Recording for job 1732501646-ch9005 from M3U-streammaster ch9005 into "TV/South Park/South Park 2024-11-24-2127.mpg" for 3m33.046733044s
2024/11/24 21:27:37.997229 [IDX] Generating video index for job 1732501646-ch9005
2024/11/24 21:27:38.007316 [SNR] Buffer statistics for "TV/South Park/South Park 2024-11-24-2127.mpg": buf=0% drop=0%
2024/11/24 21:27:38.007427 [DVR] Job 1732501646-ch9005 South Park ended prematurely: 3m21.992573373s
2024/11/24 21:27:38.014962 [DVR] Starting job 1732501646-ch9005 South Park on ch=[9005]
2024/11/24 21:27:38.095141 [HTTP] | 200 |     443.246µs |   192.168.1.131 | GET      "/dvr/files/475"
2024/11/24 21:27:38.099950 [HTTP] | 200 |     625.977µs |   192.168.1.131 | GET      "/dvr/files/475"
2024/11/24 21:27:38.100194 [HTTP] | 200 |      823.58µs |   192.168.1.131 | GET      "/dvr/files/475"
2024/11/24 21:27:38.104080 [HTTP] | 200 |   10.950972ms |   192.168.1.131 | GET      "/log"
2024/11/24 21:27:38.105312 [HTTP] | 200 |      452.09µs |   192.168.1.131 | GET      "/dvr/recordings/upnext"
2024/11/24 21:27:38.105418 [HTTP] | 200 |   10.716607ms |   192.168.1.131 | GET      "/log"
2024/11/24 21:27:38.108861 [HTTP] | 200 |   13.016737ms |   192.168.1.131 | GET      "/log"
2024/11/24 21:27:38.116036 [HTTP] | 200 |   13.119124ms |   192.168.1.131 | GET      "/dvr/recordings/summary"
2024/11/24 21:27:38.542722 [HTTP] | 200 |     442.545µs |   192.168.1.155 | GET      "/dvr/files/475?raw=false"
2024/11/24 21:27:38.557720 [HTTP] | 200 |     110.079µs |   192.168.1.155 | GET      "/dvr/jobs/1732501646-ch9005"
2024/11/24 21:27:41.545205 [TNR] Opened connection to M3U-streammaster for ch9005 Comedy Central US
2024/11/24 21:27:41.545821 [DVR] Recording for job 1732501646-ch9005 from M3U-streammaster ch9005 into "TV/South Park/South Park 2024-11-24-2127.mpg" for 3m21.984960356s
2024/11/24 21:27:41.623118 [HTTP] | 200 |    8.356579ms |   192.168.1.131 | GET      "/log"
**User Stops Recording**
2024/11/24 21:28:08.545009 [HTTP] | 200 |    9.628895ms |   192.168.1.155 | DELETE   "/dvr/jobs/1732501646-ch9005"
2024/11/24 21:28:15.024453 [TNR] Closed connection to M3U-streammaster for ch9005 Comedy Central
2024/11/24 21:28:15.032377 [SNR] Buffer statistics for "TV/South Park/South Park 2024-11-24-2127.mpg": buf=0% drop=0%
2024/11/24 21:28:15.032465 [DVR] Job cancelled: 1732501646-ch9005 South Park
2024/11/24 21:28:15.040495 [DVR] Processing file-475: TV/South Park/South Park 2024-11-24-2127.mpg

Is it an MPEG-TS or HLS M3U Source?
If it's an MPEG-TS you wont get any meaningful log data on it.
Looks like it recorded for 34 seconds before you cancelled it.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.