From 37c699af76fe1d09c5250165e902c90c62942141 Mon Sep 17 00:00:00 2001 From: FongMi Date: Wed, 9 Nov 2022 15:28:16 +0800 Subject: [PATCH] Add json demo --- other/live-offline.json | 31 +++++++++++++++++++++++++++++++ other/live-online.json | 31 +++++++++++++++++++++++++++++++ other/vod-offline.json | 33 +++++++++++++++++++++++++++++++++ other/vod-online.json | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 128 insertions(+) create mode 100644 other/live-offline.json create mode 100644 other/live-online.json create mode 100644 other/vod-offline.json create mode 100644 other/vod-online.json diff --git a/other/live-offline.json b/other/live-offline.json new file mode 100644 index 000000000..50516abd3 --- /dev/null +++ b/other/live-offline.json @@ -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": "" + } + ] +} \ No newline at end of file diff --git a/other/live-online.json b/other/live-online.json new file mode 100644 index 000000000..88e245abb --- /dev/null +++ b/other/live-online.json @@ -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": "" + } + ] +} \ No newline at end of file diff --git a/other/vod-offline.json b/other/vod-offline.json new file mode 100644 index 000000000..913b74d5f --- /dev/null +++ b/other/vod-offline.json @@ -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" + } + ] +} \ No newline at end of file diff --git a/other/vod-online.json b/other/vod-online.json new file mode 100644 index 000000000..78f774984 --- /dev/null +++ b/other/vod-online.json @@ -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" + } + ] +} \ No newline at end of file