From b48457fe624c5c5e53560b504bf220cc5f178564 Mon Sep 17 00:00:00 2001
From: Aleksandr Statciuk <free.arhey@gmail.com>
Date: Mon, 2 Aug 2021 21:15:33 +0300
Subject: [PATCH] Update Playlist.js

---
 scripts/helpers/Playlist.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/scripts/helpers/Playlist.js b/scripts/helpers/Playlist.js
index aaaf676ff..6b797c96c 100644
--- a/scripts/helpers/Playlist.js
+++ b/scripts/helpers/Playlist.js
@@ -7,9 +7,7 @@ module.exports = class Playlist {
     this.name = name
     this.country = country
     this.header = header
-    this.channels = items
-      .map(item => new Channel({ data: item, header, sourceUrl: url }))
-      .filter(channel => channel.url)
+    this.channels = items.map(item => new Channel(item)).filter(channel => channel.url)
     this.updated = false
   }