[mobile] update dev

pull/137/head
FongMi 3 years ago
parent 4f54582565
commit 2e7fca3845
  1. 1
      README.md
  2. 2
      app/build.gradle
  3. 51
      other/sample/live/offline.json
  4. 49
      other/sample/live/online.json
  5. 4
      other/sample/live/tvbus.json

@ -25,6 +25,7 @@ playerType:播放器 (1:IJK、2:EXO)</code></pre>
### 直播欄位
<pre><code>ua:用戶代理
referer:參照位址
epg:節目網址
logo:台標網址
boot:是否自動開啟

@ -27,7 +27,7 @@ android {
mobile {
dimension "mode"
versionCode 11
versionName "20230425#1"
versionName "20230426#1"
}
java {
dimension "api"

@ -1,36 +1,53 @@
{
"lives": [
{
"name": "M3U",
"url": "file://Download/live.m3u"
},
{
"name": "TXT",
"type": 0,
"url": "file://Download/live.txt",
"epg": "http://epg.51zmt.top:8000/api/diyp/?ch={name}&date={date}",
"epg": "https://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png"
},
{
"name": "IJK",
"url": "file://Download/live.txt",
"epg": "https://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png",
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
"boot": false
"playerType": 1
},
{
"name": "M3U",
"type": 0,
"url": "file://Download/live.m3u",
"name": "EXO",
"url": "file://Download/live.txt",
"epg": "https://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png",
"ua": "okhttp/3.15",
"boot": false
"playerType": 2
},
{
"name": "IJK",
"type": 0,
"url": "file://Download/live.m3u",
"playerType": 1
"name": "PRO",
"boot": false,
"url": "file://Download/live.txt",
"epg": "https://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png",
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
"referer": "https://github.com/"
},
{
"name": "Custom",
"boot": false,
"url": "file://Download/live.txt",
"epg": "https://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png",
"header": {
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
"referer": "https://github.com/"
}
},
{
"name": "JSON",
"type": 1,
"url": "file://Download/live.json",
"epg": "http://epg.51zmt.top:8000/api/diyp/?ch={epg}&date={date}",
"logo": "http://epg.51zmt.top:8000/{logo}",
"boot": false
"url": "file://Download/live.json"
}
]
}

@ -1,36 +1,53 @@
{
"lives": [
{
"name": "M3U",
"url": "https://github.com/live.m3u"
},
{
"name": "TXT",
"type": 0,
"url": "https://github.com/live.txt",
"epg": "http://epg.51zmt.top:8000/api/diyp/?ch={name}&date={date}",
"epg": "https://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png"
},
{
"name": "IJK",
"url": "https://github.com/live.txt",
"epg": "https://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png",
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
"boot": false
"playerType": 1
},
{
"name": "M3U",
"type": 0,
"url": "https://github.com/live.m3u",
"name": "EXO",
"url": "https://github.com/live.txt",
"epg": "https://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png",
"ua": "okhttp/3.15",
"boot": false
"playerType": 2
},
{
"name": "IJK",
"type": 0,
"name": "PRO",
"boot": false,
"url": "https://github.com/live.txt",
"playerType": 1
"epg": "https://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png",
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
"referer": "https://github.com/"
},
{
"name": "Custom",
"boot": false,
"url": "https://github.com/live.txt",
"epg": "https://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png",
"header": {
"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
"referer": "https://github.com/"
}
},
{
"name": "JSON",
"type": 1,
"url": "https://github.com/live.json",
"epg": "http://epg.51zmt.top:8000/api/diyp/?ch={epg}&date={date}",
"logo": "http://epg.51zmt.top:8000/{logo}",
"boot": false
"url": "https://github.com/live.json"
}
]
}

@ -2,11 +2,9 @@
"lives": [
{
"name": "TXT",
"type": 0,
"url": "https://github.com/live.txt",
"epg": "http://epg.51zmt.top:8000/api/diyp/?ch={name}&date={date}",
"epg": "https://epg.112114.xyz/?ch={name}&date={date}",
"logo": "https://epg.112114.xyz/logo/{name}.png",
"boot": false,
"core": {
"auth": "",
"name": "",

Loading…
Cancel
Save