From d3ef0ef040bb2adfd17a588b46ae484e8db03100 Mon Sep 17 00:00:00 2001 From: Aman Karmani Date: Wed, 20 Oct 2021 09:24:05 -0700 Subject: [PATCH] add channel-number to the m3u --- PlutoIPTV/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PlutoIPTV/index.js b/PlutoIPTV/index.js index 09a5172..5ebc445 100755 --- a/PlutoIPTV/index.js +++ b/PlutoIPTV/index.js @@ -354,11 +354,10 @@ function processChannels(version, channels) { .replace(/(\r\n|\n|\r)/gm, " ") .replace('"', "") .replace("”", ""); - let channelNumberTag; m3u8 = m3u8 + - `#EXTINF:0 channel-id="${slug}" tvg-logo="${logo}" tvc-guide-art="${art}" tvc-guide-title="${name}" tvc-guide-description="${guideDescription}" group-title="${group}", ${name} + `#EXTINF:0 channel-id="${slug}" channel-number="${channel.number}" tvg-logo="${logo}" tvc-guide-art="${art}" tvc-guide-title="${name}" tvc-guide-description="${guideDescription}" group-title="${group}", ${name} ${m3uUrl} `;