From f0b8e880d22e40caec28ab2759df92a89816957b Mon Sep 17 00:00:00 2001 From: FongMi Date: Mon, 16 Jan 2023 18:11:11 +0800 Subject: [PATCH] Update sample --- other/sample/live/offline.json | 15 ++++++++++++--- other/sample/live/online.json | 15 ++++++++++++--- other/sample/live/tvbus.json | 1 + other/sample/vod/offline.json | 3 +++ other/sample/vod/online.json | 3 +++ 5 files changed, 31 insertions(+), 6 deletions(-) diff --git a/other/sample/live/offline.json b/other/sample/live/offline.json index 40503089e..9c0968470 100644 --- a/other/sample/live/offline.json +++ b/other/sample/live/offline.json @@ -6,7 +6,8 @@ "url": "file://Download/live.txt", "epg": "http://epg.51zmt.top:8000/api/diyp/?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" + "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 }, { "name": "M3U", @@ -14,14 +15,22 @@ "url": "file://Download/live.m3u", "epg": "https://epg.112114.xyz/?ch={name}&date={date}", "logo": "https://epg.112114.xyz/logo/{name}.png", - "ua": "okhttp/3.15" + "ua": "okhttp/3.15", + "boot": false + }, + { + "name": "IJK", + "type": 0, + "url": "file://Download/live.m3u", + "playerType": 1 }, { "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}" + "logo": "http://epg.51zmt.top:8000/{logo}", + "boot": false } ] } \ No newline at end of file diff --git a/other/sample/live/online.json b/other/sample/live/online.json index 1b9592ebe..d611bc7c1 100644 --- a/other/sample/live/online.json +++ b/other/sample/live/online.json @@ -6,7 +6,8 @@ "url": "https://github.com/live.txt", "epg": "http://epg.51zmt.top:8000/api/diyp/?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" + "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 }, { "name": "M3U", @@ -14,14 +15,22 @@ "url": "https://github.com/live.m3u", "epg": "https://epg.112114.xyz/?ch={name}&date={date}", "logo": "https://epg.112114.xyz/logo/{name}.png", - "ua": "okhttp/3.15" + "ua": "okhttp/3.15", + "boot": false + }, + { + "name": "IJK", + "type": 0, + "url": "https://github.com/live.txt", + "playerType": 1 }, { "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}" + "logo": "http://epg.51zmt.top:8000/{logo}", + "boot": false } ] } \ No newline at end of file diff --git a/other/sample/live/tvbus.json b/other/sample/live/tvbus.json index ca0b0de35..0c0f5dfc6 100644 --- a/other/sample/live/tvbus.json +++ b/other/sample/live/tvbus.json @@ -6,6 +6,7 @@ "url": "https://github.com/live.txt", "epg": "http://epg.51zmt.top:8000/api/diyp/?ch={name}&date={date}", "logo": "https://epg.112114.xyz/logo/{name}.png", + "boot": false, "core": { "auth": "", "name": "", diff --git a/other/sample/vod/offline.json b/other/sample/vod/offline.json index 913b74d5f..7d8dd2b1d 100644 --- a/other/sample/vod/offline.json +++ b/other/sample/vod/offline.json @@ -8,6 +8,7 @@ "api": "csp_Csp", "searchable": 1, "filterable": 1, + "switchable": 1, "ext": "file://Download/one.json" }, { @@ -17,6 +18,7 @@ "api": "csp_Csp", "searchable": 1, "filterable": 1, + "switchable": 1, "ext": "file://Download/two.json" }, { @@ -26,6 +28,7 @@ "api": "csp_Csp", "searchable": 1, "filterable": 1, + "switchable": 1, "ext": "file://Download/extend.json", "jar": "file://Download/extend.jar" } diff --git a/other/sample/vod/online.json b/other/sample/vod/online.json index 78f774984..c68f01ed7 100644 --- a/other/sample/vod/online.json +++ b/other/sample/vod/online.json @@ -8,6 +8,7 @@ "api": "csp_Csp", "searchable": 1, "filterable": 1, + "switchable": 1, "ext": "https://github.com/one.json" }, { @@ -17,6 +18,7 @@ "api": "csp_Csp", "searchable": 1, "filterable": 1, + "switchable": 1, "ext": "https://github.com/two.json" }, { @@ -26,6 +28,7 @@ "api": "csp_Csp", "searchable": 1, "filterable": 1, + "switchable": 1, "ext": "https://github.com/extend.json", "jar": "https://github.com/extend.jar" }