问:订阅文件的格式是什么
答: 这里有个示例的json文件
{
"uuid":"64350b50-a810-4901-b86b-7a5106bdef2c",
"title": "你对的频道名字",
"channels": [
{
"name":"频道1",
"url": "https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8"
},
{
"name": "频道2",
"url": "https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8"
}
]
}
分成3个部分, uuid, title和 channels
- uuid:
不要做任何改动 - title: 可以自定义
- channels: 你所有的频道列表
github提供的读取资源文件格式如下: https://raw.githubusercontent.com/:owner/:repo/master/:path