关于外部M3U走HTTP协议问题
我的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参数?
哦,我看到还有EPG也会使用相同方式获取,那直接去掉compressed参数还不太合适
openwrt的libcurl都不支持libz,zstd,brotli,这里最好要加判断
用curl命令测试 openwrt系统下 curl支持 --compressed-ssh 参数,一样可以的
v3.0.1 已经去掉 --compressed