rtp2httpd icon indicating copy to clipboard operation
rtp2httpd copied to clipboard

关于外部M3U走HTTP协议问题

Open StefanLuo opened this issue 1 year ago • 4 comments

我的OpenWrt系统中的curl版本是没有集成compressed功能的,所以走HTTP或者HTTPS方式加载M3U会报错 Sun Oct 26 15:00:59 2025 daemon.info rtp2httpd[29000]: curl: option --compressed: the installed libcurl version does not support this Sun Oct 26 15:00:59 2025 daemon.info rtp2httpd[29000]: curl: try 'curl --help' for more information Sun Oct 26 15:00:59 2025 daemon.err rtp2httpd[29000]: Failed to fetch URL (curl exit code 512): http://192.168.2.3:8091/Lists/hunanhk.m3u Sun Oct 26 15:00:59 2025 daemon.err rtp2httpd[29000]: Failed to fetch external M3U from: http://192.168.2.3:8091/Lists/hunanhk.m3u 一般来讲M3U文件应该不会太大吧,是不是可以考虑去掉compressed参数?

StefanLuo avatar Oct 26 '25 07:10 StefanLuo

哦,我看到还有EPG也会使用相同方式获取,那直接去掉compressed参数还不太合适

StefanLuo avatar Oct 26 '25 07:10 StefanLuo

openwrt的libcurl都不支持libz,zstd,brotli,这里最好要加判断

jelliesfrothy0q-stack avatar Oct 26 '25 11:10 jelliesfrothy0q-stack

用curl命令测试 openwrt系统下 curl支持 --compressed-ssh 参数,一样可以的

wolonggl avatar Oct 26 '25 11:10 wolonggl

v3.0.1 已经去掉 --compressed

stackia avatar Oct 26 '25 14:10 stackia