From eade07df8e2fe9552c21057c604e371a01a1cb6f Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Thu, 27 Apr 2023 17:41:47 +0300 Subject: [PATCH] Update playlist.js --- scripts/core/playlist.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/scripts/core/playlist.js b/scripts/core/playlist.js index 6363b233d..4c7888a8d 100644 --- a/scripts/core/playlist.js +++ b/scripts/core/playlist.js @@ -7,12 +7,6 @@ const playlist = {} class Playlist { constructor(items = [], options = {}) { this.header = {} - if (options.public) { - let guides = items - .map(item => (item.guides.length ? item.guides[0].url : null)) - .filter(i => i) - this.header['x-tvg-url'] = _.uniq(guides).sort().join(',') - } this.links = [] for (const item of items) { @@ -29,7 +23,6 @@ class Playlist { } else { attrs = { 'tvg-id': stream.get('tvg_id'), - status: stream.get('status'), 'user-agent': stream.get('user_agent') || undefined } }