From 4fcfbe43a5e2ff7f515aaacd483fb0e26d3c835a Mon Sep 17 00:00:00 2001
From: freearhey <7253922+freearhey@users.noreply.github.com>
Date: Sun, 3 Dec 2023 15:32:29 +0300
Subject: [PATCH] Update epg.i-cable.com
---
sites/epg.i-cable.com/epg.i-cable.com.test.js | 3 -
...ls.xml => epg.i-cable.com_en.channels.xml} | 66 ------------------
.../epg.i-cable.com_zh.channels.xml | 69 +++++++++++++++++++
sites/epg.i-cable.com/readme.md | 37 ++++++++++
4 files changed, 106 insertions(+), 69 deletions(-)
rename sites/epg.i-cable.com/{epg.i-cable.com.channels.xml => epg.i-cable.com_en.channels.xml} (58%)
create mode 100644 sites/epg.i-cable.com/epg.i-cable.com_zh.channels.xml
create mode 100644 sites/epg.i-cable.com/readme.md
diff --git a/sites/epg.i-cable.com/epg.i-cable.com.test.js b/sites/epg.i-cable.com/epg.i-cable.com.test.js
index 1982ce16..6210485f 100644
--- a/sites/epg.i-cable.com/epg.i-cable.com.test.js
+++ b/sites/epg.i-cable.com/epg.i-cable.com.test.js
@@ -1,6 +1,3 @@
-// npm run channels:parse -- --config=./sites/epg.i-cable.com/epg.i-cable.com.config.js --output=./sites/epg.i-cable.com/epg.i-cable.com.channels.xml --set=lang:zh
-// npm run grab -- --site=epg.i-cable.com
-
const { parser, url } = require('./epg.i-cable.com.config.js')
const fs = require('fs')
const path = require('path')
diff --git a/sites/epg.i-cable.com/epg.i-cable.com.channels.xml b/sites/epg.i-cable.com/epg.i-cable.com_en.channels.xml
similarity index 58%
rename from sites/epg.i-cable.com/epg.i-cable.com.channels.xml
rename to sites/epg.i-cable.com/epg.i-cable.com_en.channels.xml
index 384f1233..5723a423 100644
--- a/sites/epg.i-cable.com/epg.i-cable.com.channels.xml
+++ b/sites/epg.i-cable.com/epg.i-cable.com_en.channels.xml
@@ -97,70 +97,4 @@
Zing
France 24 French
Zee TV
- 動物星球頻道
- 亞洲美食頻道 [HD]
- BBC Earth
- BBC Lifestyle
- Bloomberg TV
- Boomerang 頻道
- 卡通頻道
- 中央電視台綜合頻道 [HD]
- 中央電視台戲曲頻道
- 中央電視台新聞頻道
- 中央電視台中文國際頻道
- 歡樂台
- 惹火台
- 亞洲新聞台
- Discovery Asia [HD]
- Discovery
- Discovery科學頻道
- DMAX
- 東方衛視國際頻道
- 夢工廠
- 東森亞洲衛視
- 東森亞洲幼幼台
- 東森亞洲新聞台
- euronews(Eng)
- euronews(Por)
- EVE
- Global Trekker [HD]
- 大灣區衛視
- HITS [HD]
- HITS MOVIES [HD]
- 香港國際財經台
- HOY TV
- 湖北衛視
- 湖南廣播電視台國際頻道
- 有線電影台
- 有線18台
- Cine p.
- 綜合娛樂台
- 財經資訊台
- 高清603台 [HD]
- 賽馬1台
- 賽馬2台
- 直播新聞台
- 新聞台
- 體育台
- Sports Plus 1
- Sports Plus 2
- Sports Plus 3
- 光影歐洲
- 國家地理頻道
- 國家地理野生頻道
- Nickelodeon
- Paramount Network Asia [HD]
- 鳯凰衛視中文台
- 鳳凰衛視香港台
- 鳳凰衛視資訊台
- ROCK綜藝娛樂
- ROCK超極娛樂 [HD]
- 深圳電視台
- 衛視中文台
- 衛視電影台 [HD]
- 驚慄電影台
- 旅遊生活頻道
- 旅遊頻道 [HD]
- tvN
- Zee Cinema
diff --git a/sites/epg.i-cable.com/epg.i-cable.com_zh.channels.xml b/sites/epg.i-cable.com/epg.i-cable.com_zh.channels.xml
new file mode 100644
index 00000000..4073750a
--- /dev/null
+++ b/sites/epg.i-cable.com/epg.i-cable.com_zh.channels.xml
@@ -0,0 +1,69 @@
+
+
+ 動物星球頻道
+ 亞洲美食頻道 [HD]
+ BBC Earth
+ BBC Lifestyle
+ Bloomberg TV
+ Boomerang 頻道
+ 卡通頻道
+ 中央電視台綜合頻道 [HD]
+ 中央電視台戲曲頻道
+ 中央電視台新聞頻道
+ 中央電視台中文國際頻道
+ 歡樂台
+ 惹火台
+ 亞洲新聞台
+ Discovery Asia [HD]
+ Discovery
+ Discovery科學頻道
+ DMAX
+ 東方衛視國際頻道
+ 夢工廠
+ 東森亞洲衛視
+ 東森亞洲幼幼台
+ 東森亞洲新聞台
+ euronews(Eng)
+ euronews(Por)
+ EVE
+ Global Trekker [HD]
+ 大灣區衛視
+ HITS [HD]
+ HITS MOVIES [HD]
+ 香港國際財經台
+ HOY TV
+ 湖北衛視
+ 湖南廣播電視台國際頻道
+ 有線電影台
+ 有線18台
+ Cine p.
+ 綜合娛樂台
+ 財經資訊台
+ 高清603台 [HD]
+ 賽馬1台
+ 賽馬2台
+ 直播新聞台
+ 新聞台
+ 體育台
+ Sports Plus 1
+ Sports Plus 2
+ Sports Plus 3
+ 光影歐洲
+ 國家地理頻道
+ 國家地理野生頻道
+ Nickelodeon
+ Paramount Network Asia [HD]
+ 鳯凰衛視中文台
+ 鳳凰衛視香港台
+ 鳳凰衛視資訊台
+ ROCK綜藝娛樂
+ ROCK超極娛樂 [HD]
+ 深圳電視台
+ 衛視中文台
+ 衛視電影台 [HD]
+ 驚慄電影台
+ 旅遊生活頻道
+ 旅遊頻道 [HD]
+ tvN
+ Zee Cinema
+
diff --git a/sites/epg.i-cable.com/readme.md b/sites/epg.i-cable.com/readme.md
new file mode 100644
index 00000000..4bc158af
--- /dev/null
+++ b/sites/epg.i-cable.com/readme.md
@@ -0,0 +1,37 @@
+# epg.i-cable.com
+
+https://epg.i-cable.com/
+
+### Download the guide
+
+Chinese:
+
+```sh
+npm run grab -- --site=epg.i-cable.com --lang=zh
+```
+
+English:
+
+```sh
+npm run grab -- --site=epg.i-cable.com --lang=en
+```
+
+### Update channel list
+
+Chinese:
+
+```sh
+npm run channels:parse -- --config=./sites/epg.i-cable.com/epg.i-cable.com.config.js --output=./sites/epg.i-cable.com/epg.i-cable.com_zh.channels.xml --set=lang:zh
+```
+
+English:
+
+```sh
+npm run channels:parse -- --config=./sites/epg.i-cable.com/epg.i-cable.com.config.js --output=./sites/epg.i-cable.com/epg.i-cable.com_en.channels.xml --set=lang:en
+```
+
+### Test
+
+```sh
+npm test -- epg.i-cable.com
+```