把直播源文件的地址接在 url= 后面,自动判断方向并返回转换结果。
/url=http://example.com/live.txt ?url=http://example.com/live.txt ?to=m3u&url=http://example.com/live.txt 强制输出 m3u ?to=txt&url=http://example.com/live.m3u 强制输出 txt ?from=m3u&url=http://example.com/live.txt 强制按 m3u 解析输入(扩展名骗人时用)
| 输入 | 输出 |
|---|---|
| txt 直播源(名称,url) | m3u(#EXTM3U / #EXTINF) |
| m3u(#EXTM3U) | txt 直播源(名称,url,分组用 名称,#genre#) |
参数必须写在 url= 前面 —— url= 会吃掉后面所有内容(目标地址自己可能带 ?a=1&b=2)。
#genre#)会转成 m3u 的 group-title,反向往返也认。