diff --git a/PlutoIPTV/index.js b/PlutoIPTV/index.js index bb2f506..6b423fc 100755 --- a/PlutoIPTV/index.js +++ b/PlutoIPTV/index.js @@ -420,6 +420,7 @@ ${m3uUrl} } let isMovie = programme.episode.series.type == "film"; + let isLive = programme.episode.liveBroadcast === true let channelsGenres = []; let mogrifiedGenres = [...movieGenres, ...seriesGenres]; @@ -523,6 +524,11 @@ ${m3uUrl} text: programme.episode._id, }) } + if (isLive) { + airing.children.push({ + name: "live", + }) + } let uniqueGenres = channelsGenres.filter(function (item, pos) { return channelsGenres.indexOf(item) == pos;