From c36baa3077a21e6bbaf6284fb974ec3ca7be3f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Arnauts?= Date: Mon, 26 Jan 2026 11:24:36 +0100 Subject: [PATCH 1/3] Add detail.episodeName to EPG as subTitle --- sites/telenet.tv/telenet.tv.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/sites/telenet.tv/telenet.tv.config.js b/sites/telenet.tv/telenet.tv.config.js index 7f286001..159539d0 100644 --- a/sites/telenet.tv/telenet.tv.config.js +++ b/sites/telenet.tv/telenet.tv.config.js @@ -63,6 +63,7 @@ module.exports = { const detail = await loadProgramDetails(item, channel) programs.push({ title: item.title, + subTitle: detail.episodeName, icon: parseIcon(item), description: detail.longDescription, category: detail.genres, From 37e478b423ae3abf7318681fe14e2bd4c3684cdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Arnauts?= Date: Mon, 26 Jan 2026 11:55:09 +0100 Subject: [PATCH 2/3] Fix generated url --- sites/telenet.tv/telenet.tv.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/telenet.tv/telenet.tv.config.js b/sites/telenet.tv/telenet.tv.config.js index 159539d0..0c42595d 100644 --- a/sites/telenet.tv/telenet.tv.config.js +++ b/sites/telenet.tv/telenet.tv.config.js @@ -14,7 +14,7 @@ module.exports = { } }, url: function ({ date, channel }) { - return `${API_STATIC_ENDPOINT}/${channel.lang}/events/segments/${date.format('YYYYMMDDHHmmss')}` + return `${API_STATIC_ENDPOINT}/${channel.lang}/events/segments/${date.format('YYYYMMDD')}000000` }, async parser({ content, channel, date }) { let programs = [] From 8002fe2a40fef0550a6a8d3c02bedfb457a7bcce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Arnauts?= Date: Mon, 26 Jan 2026 12:17:22 +0100 Subject: [PATCH 3/3] Fix other urls as well --- sites/telenet.tv/telenet.tv.config.js | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/sites/telenet.tv/telenet.tv.config.js b/sites/telenet.tv/telenet.tv.config.js index 0c42595d..ac71973a 100644 --- a/sites/telenet.tv/telenet.tv.config.js +++ b/sites/telenet.tv/telenet.tv.config.js @@ -22,25 +22,19 @@ module.exports = { if (!items.length) return programs const promises = [ axios.get( - `${API_STATIC_ENDPOINT}/${channel.lang}/events/segments/${date - .add(6, 'h') - .format('YYYYMMDDHHmmss')}`, + `${API_STATIC_ENDPOINT}/${channel.lang}/events/segments/${date.format('YYYYMMDD')}060000`, { responseType: 'arraybuffer' } ), axios.get( - `${API_STATIC_ENDPOINT}/${channel.lang}/events/segments/${date - .add(12, 'h') - .format('YYYYMMDDHHmmss')}`, + `${API_STATIC_ENDPOINT}/${channel.lang}/events/segments/${date.format('YYYYMMDD')}120000`, { responseType: 'arraybuffer' } ), axios.get( - `${API_STATIC_ENDPOINT}/${channel.lang}/events/segments/${date - .add(18, 'h') - .format('YYYYMMDDHHmmss')}`, + `${API_STATIC_ENDPOINT}/${channel.lang}/events/segments/${date.format('YYYYMMDD')}180000`, { responseType: 'arraybuffer' }