From 0e0e5c61e6d604299cb01317dc7db9e7ba652a68 Mon Sep 17 00:00:00 2001
From: dct-infra <84126039+dct-infra@users.noreply.github.com>
Date: Tue, 21 Sep 2021 10:03:24 +0300
Subject: [PATCH 1/2] Update fr.m3u

Changed some streamlink proxy urls
---
 channels/fr.m3u | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/channels/fr.m3u b/channels/fr.m3u
index 4193c35f1..560a2636c 100644
--- a/channels/fr.m3u
+++ b/channels/fr.m3u
@@ -207,8 +207,8 @@ https://static.france24.com/live/F24_ES_LO_HLS/live_web.m3u8
 https://static.france24.com/live/F24_FR_HI_HLS/live_tv.m3u8
 #EXTINF:-1 tvg-id="France24Francais.fr" tvg-country="FR" tvg-language="French" tvg-logo="https://i.imgur.com/61MSiq9.png" group-title="News",France 24 Français (1080p)
 https://static.france24.com/live/F24_FR_HI_HLS/live_web.m3u8
-#EXTINF:-1 tvg-id="Franceinfo.fr" tvg-country="FR" tvg-language="French" tvg-logo="" group-title="",Franceinfo [Offline]
-https://linkastream.co/headless?url=https://www.youtube.com/channel/UCO6K_kkdP-lnSCiO3tPx7WA/live
+#EXTINF:-1 tvg-id="Franceinfo.fr" tvg-country="FR" tvg-language="French" tvg-logo="" group-title="",Franceinfo
+https://query-streamlink.herokuapp.com/iptv-query?streaming-ip=https://www.youtube.com/channel/UCO6K_kkdP-lnSCiO3tPx7WA/live
 #EXTINF:-1 tvg-id="Francophonie.fr" tvg-country="FR" tvg-language="French" tvg-logo="https://i.imgur.com/lvrvwtm.png" group-title="",Francophonie (360p)
 http://mv2.tvfrancophonie.org/live/Stream1/playlist.m3u8
 #EXTINF:-1 tvg-id="Francophonie24.fr" tvg-country="FR" tvg-language="" tvg-logo="https://github.com/geonsey/Free2ViewTV/blob/master/images/logos/Francophonie24_275x275.png?raw=true" group-title="",Francophonie24 (1080p)
@@ -339,7 +339,7 @@ https://live.creacast.com/mirabelletv/smil:mirabelletv.smil/playlist.m3u8
 https://streamer03.myvideoplace.tv/streamer02/hls/MDS_VIA_PAD_301117_medium/index.m3u8
 #EXTINF:-1 tvg-id="W9.fr" tvg-country="FR" tvg-language="French" tvg-logo="https://i.imgur.com/7FFFvCN.jpg" group-title="",W9 (720p) [Offline]
 https://s6.tntendirect.com/w9/live/playlist.m3u8
-#EXTINF:-1 tvg-id="WéoNordPasdeCalais.fr" tvg-country="FR" tvg-language="French" tvg-logo="" group-title="Local",Wéo (Nord-Pas-de-Calais) [Offline]
-https://linkastream.co/headless?url=https://www.dailymotion.com/video/x62islg
-#EXTINF:-1 tvg-id="WéoNordPasdeCalais.fr" tvg-country="FR" tvg-language="French" tvg-logo="" group-title="Local",Wéo (Picardie) [Offline]
-https://linkastream.co/headless?url=https://www.dailymotion.com/video/x63085w
+#EXTINF:-1 tvg-id="WéoNordPasdeCalais.fr" tvg-country="FR" tvg-language="French" tvg-logo="" group-title="Local",Wéo (Nord-Pas-de-Calais)
+https://query-streamlink.herokuapp.com/iptv-query?streaming-ip=https://www.dailymotion.com/video/x62islg
+#EXTINF:-1 tvg-id="WéoNordPasdeCalais.fr" tvg-country="FR" tvg-language="French" tvg-logo="" group-title="Local",Wéo (Picardie)
+https://query-streamlink.herokuapp.com/iptv-query?streaming-ip=https://www.dailymotion.com/video/x63085w

From 675ee83a7dd6cd5dc95c9334eb344a6805df5185 Mon Sep 17 00:00:00 2001
From: Aleksandr Statciuk <free.arhey@gmail.com>
Date: Tue, 21 Sep 2021 12:39:34 +0300
Subject: [PATCH 2/2] Update db.js

---
 scripts/helpers/db.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/scripts/helpers/db.js b/scripts/helpers/db.js
index f0a3b967a..52587ce38 100644
--- a/scripts/helpers/db.js
+++ b/scripts/helpers/db.js
@@ -84,9 +84,8 @@ db.channels = {
     if (!this.duplicates) {
       const buffer = []
       output = output.filter(channel => {
-        const info = channel.getInfo()
-        if (buffer.includes(info)) return false
-        buffer.push(info)
+        if (buffer.includes(channel.hash)) return false
+        buffer.push(channel.hash)
 
         return true
       })