Merge branch 'dev' into release

pull/137/head
FongMi 4 years ago
commit bb515766a8
  1. 34
      README.md
  2. 2
      app/src/main/java/com/fongmi/android/tv/player/source/Force.java
  3. 31
      other/live-offline.json
  4. 31
      other/live-online.json
  5. 33
      other/vod-offline.json
  6. 33
      other/vod-online.json

@ -7,36 +7,12 @@ https://github.com/CatVodTVOfficial/CatVodTVJarLoader
[TV-Java](https://github.com/FongMi/TV/blob/main/release/leanback-java.apk?raw=true "TV-Java")
[TV-Python](https://github.com/FongMi/TV/blob/main/release/leanback-python.apk?raw=true "TV-Python")
### Local Config Example
file://cat.json
### Config Example
[Vod-Online](other/vod-online.json)
[Vod-Offline](other/vod-offline.json)
[Live-Online](other/live-online.json)
[Live-Offline](other/live-offline.json)
```json
{
"spider":"spider.jar",
"sites":[
{
"key":"one",
"name":"One",
"type":3,
"api":"csp_Csp",
"searchable":1,
"quickSearch":1,
"filterable":1,
"ext":"file://one.json"
},
{
"key":"two",
"name":"Two",
"type":3,
"api":"csp_XPath",
"searchable":1,
"quickSearch":1,
"filterable":1,
"ext":"two.json"
}
]
}
```
### Subtitle Format
In playerContent put "sub"

@ -37,7 +37,7 @@ public class Force {
private void check() throws Exception {
File file = FileUtil.getCacheFile("libmitv.so");
String url = "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/TV/release/release/libmitv.so";
String url = "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/TV/release/other/libmitv.so";
if (!file.exists()) FileUtil.write(file, OKHttp.newCall(url).execute().body().bytes());
}

@ -0,0 +1,31 @@
{
"lives": [
{
"group": "redirect",
"channels": [
{
"name": "redirect",
"urls": [
"proxy://do=live&type=txt&ext=ZmlsZTovL0Rvd25sb2FkL3JlZGlyZWN0LnR4dA=="
]
}
]
},
{
"name": "TXT",
"type": 0,
"url": "file://Download/live.txt",
"epg": "http://epg.51zmt.top:8000/api/diyp/?ch={name}&date={date}",
"logo": "",
"ua": ""
},
{
"name": "M3U",
"type": 0,
"url": "file://Download/live.m3u",
"epg": "https://epg.112114.xyz/?ch={name}",
"logo": "",
"ua": ""
}
]
}

@ -0,0 +1,31 @@
{
"lives": [
{
"group": "redirect",
"channels": [
{
"name": "redirect",
"urls": [
"proxy://do=live&type=txt&ext=aHR0cHM6Ly9naXRodWIuY29tL3JlZGlyZWN0LnR4dA=="
]
}
]
},
{
"name": "TXT",
"type": 0,
"url": "https://github.com/live.txt",
"epg": "http://epg.51zmt.top:8000/api/diyp/?ch={name}&date={date}",
"logo": "",
"ua": ""
},
{
"name": "M3U",
"type": 0,
"url": "https://github.com/live.m3u",
"epg": "https://epg.112114.xyz/?ch={name}",
"logo": "",
"ua": ""
}
]
}

@ -0,0 +1,33 @@
{
"spider": "file://Download/custom_spider.jar",
"sites": [
{
"key": "one",
"name": "One",
"type": 3,
"api": "csp_Csp",
"searchable": 1,
"filterable": 1,
"ext": "file://Download/one.json"
},
{
"key": "two",
"name": "Two",
"type": 3,
"api": "csp_Csp",
"searchable": 1,
"filterable": 1,
"ext": "file://Download/two.json"
},
{
"key": "extend",
"name": "Extend",
"type": 3,
"api": "csp_Csp",
"searchable": 1,
"filterable": 1,
"ext": "file://Download/extend.json",
"jar": "file://Download/extend.jar"
}
]
}

@ -0,0 +1,33 @@
{
"spider": "https://github.com/custom_spider.jar",
"sites": [
{
"key": "one",
"name": "One",
"type": 3,
"api": "csp_Csp",
"searchable": 1,
"filterable": 1,
"ext": "https://github.com/one.json"
},
{
"key": "two",
"name": "Two",
"type": 3,
"api": "csp_Csp",
"searchable": 1,
"filterable": 1,
"ext": "https://github.com/two.json"
},
{
"key": "extend",
"name": "Extend",
"type": 3,
"api": "csp_Csp",
"searchable": 1,
"filterable": 1,
"ext": "https://github.com/extend.json",
"jar": "https://github.com/extend.jar"
}
]
}
Loading…
Cancel
Save