Support live home
This commit is contained in:
parent
aab8ef635e
commit
215aed5d5b
|
|
@ -0,0 +1,21 @@
|
||||||
|
package com.github.catvod.spider;
|
||||||
|
|
||||||
|
import android.app.Activity;
|
||||||
|
import android.content.ComponentName;
|
||||||
|
import android.content.Context;
|
||||||
|
import android.content.Intent;
|
||||||
|
|
||||||
|
import com.github.catvod.crawler.Spider;
|
||||||
|
|
||||||
|
public class Live extends Spider {
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void init(Context context, String extend) {
|
||||||
|
super.init(context, extend);
|
||||||
|
try {
|
||||||
|
Activity activity = Init.getActivity();
|
||||||
|
activity.startActivity(new Intent().setComponent(new ComponentName(activity, "com.fongmi.android.tv.ui.activity.LiveActivity")));
|
||||||
|
} catch (Throwable ignored) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
|
|
@ -1 +1 @@
|
||||||
4afbcea55791f6a2b1c8ac89745eca68
|
a1c200856bade9fe50617a55807e1747
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;4afbcea55791f6a2b1c8ac89745eca68",
|
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;a1c200856bade9fe50617a55807e1747",
|
||||||
"wallpaper": "https://gao.chuqiuyu.tk",
|
"wallpaper": "https://gao.chuqiuyu.tk",
|
||||||
"lives": [
|
"lives": [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;4afbcea55791f6a2b1c8ac89745eca68",
|
"spider": "https://ghproxy.com/https://raw.githubusercontent.com/FongMi/CatVodSpider/main/jar/custom_spider.jar;md5;a1c200856bade9fe50617a55807e1747",
|
||||||
"wallpaper": "http://www.kf666888.cn/api/tvbox/img",
|
"wallpaper": "http://www.kf666888.cn/api/tvbox/img",
|
||||||
"lives": [
|
"lives": [
|
||||||
{
|
{
|
||||||
|
|
@ -154,6 +154,14 @@
|
||||||
"filterable": 0,
|
"filterable": 0,
|
||||||
"ext": "http://我不是.肥猫.love:63/token.php"
|
"ext": "http://我不是.肥猫.love:63/token.php"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"key": "Live",
|
||||||
|
"name": "直播",
|
||||||
|
"type": 3,
|
||||||
|
"api": "csp_Live",
|
||||||
|
"searchable": 0,
|
||||||
|
"filterable": 0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"key": "push_agent",
|
"key": "push_agent",
|
||||||
"name": "推送",
|
"name": "推送",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue