rtp2httpd icon indicating copy to clipboard operation
rtp2httpd copied to clipboard

当外部 m3u 内含有多个 epg 源时会导致获取失败

Open kernalxxx opened this issue 6 months ago • 4 comments

2026/05/24 17:59:35 DEBUG [Worker 0] External M3U update interval reached for worker 0, reloading...
2026/05/24 17:59:35 DEBUG [Worker 0] Starting async reload of external M3U: http://10.0.0.1/playlist.m3u
2026/05/24 17:59:35 DEBUG [Worker 0] Starting async HTTP fetch: http://10.0.0.1/playlist.m3u
2026/05/24 17:59:35 DEBUG [Worker 0] Async HTTP fetch started, pipe_fd=21
2026/05/24 17:59:35 DEBUG [Worker 0] Async HTTP(S) fetch started, waiting for completion
2026/05/24 17:59:35 INFO [Worker 0] Starting async EPG fetch from: https://myepg.org/Zhejiang_Telecom_IPTV/EPG/hz_uni_epg.xml.gz,https://epg.zsdc.eu.org/t.xml.gz,https://epg.pw/xmltv/epg_CN.xml.gz
2026/05/24 17:59:35 DEBUG [Worker 0] Starting async HTTP fetch: https://myepg.org/Zhejiang_Telecom_IPTV/EPG/hz_uni_epg.xml.gz,https://epg.zsdc.eu.org/t.xml.gz,https://epg.pw/xmltv/epg_CN.xml.gz
2026/05/24 17:59:35 DEBUG [Worker 0] Async HTTP fetch started, pipe_fd=23
2026/05/24 17:59:35 DEBUG [Worker 0] Async HTTP(S) fetch started, waiting for completion
2026/05/24 17:59:35 INFO [Worker 0] External M3U reloaded successfully (async)
2026/05/24 17:59:36 DEBUG [Worker 0] Async HTTP fetch pipe closed, checking results

2026/05/24 17:59:36 ERROR [Worker 0] Async HTTP fetch failed (exit code 22): https://myepg.org/Zhejiang_Telecom_IPTV/EPG/hz_uni_epg.xml.gz,https://epg.zsdc.eu.org/t.xml.gz,https://epg.pw/xmltv/epg_CN.xml.gz
2026/05/24 17:59:36 DEBUG [Worker 0] Fetch output: curl: (22) The requested URL returned error: 404
EXIT_CODE:22

看日志应该是抓取EPG时没有把3个地址分开导致404

kernalxxx avatar May 24 '26 10:05 kernalxxx

有什么播放器支持这种逗号分隔的多个 EPG URL 的写法?

stackia avatar May 24 '26 20:05 stackia

目前观察到的是 APTV 会根据顺序进行匹配。TiviMate 在导入只会取第一个。

kernalxxx avatar May 24 '26 20:05 kernalxxx

我后续做一下支持

stackia avatar May 24 '26 20:05 stackia

之前尝试提了个 PR,但感觉复杂性有点高,目前还是先不打算支持这个能力了。

stackia avatar Jul 20 '26 09:07 stackia