diff --git a/scripts/generators/countries.js b/scripts/generators/countries.js index bd1e747d4b..42f3deffcc 100644 --- a/scripts/generators/countries.js +++ b/scripts/generators/countries.js @@ -7,6 +7,7 @@ module.exports = async function (streams = []) { const countries = await api.countries.all() await api.regions.load() const regions = await api.regions.all() + streams = _.filter(streams, s => !s.channel || s.channel.is_nsfw === false) for (const country of countries) { const areaCodes = _.filter(regions, { countries: [country.code] }).map(r => r.code) areaCodes.push(country.code) diff --git a/scripts/generators/languages.js b/scripts/generators/languages.js index 8c63d8ec09..74692f9d83 100644 --- a/scripts/generators/languages.js +++ b/scripts/generators/languages.js @@ -6,6 +6,7 @@ module.exports = async function (streams = []) { await api.languages.load() let languages = await api.languages.all() languages = _.uniqBy(languages, 'code') + streams = _.filter(streams, s => !s.channel || s.channel.is_nsfw === false) for (const language of languages) { let items = _.filter(streams, { channel: { languages: [language.code] } }) if (items.length) { diff --git a/scripts/generators/regions.js b/scripts/generators/regions.js index aa81c02801..c48cbad443 100644 --- a/scripts/generators/regions.js +++ b/scripts/generators/regions.js @@ -5,6 +5,7 @@ module.exports = async function (streams = []) { const output = [] await api.regions.load() const regions = await api.regions.all() + streams = _.filter(streams, s => !s.channel || s.channel.is_nsfw === false) for (const region of regions) { const areaCodes = region.countries areaCodes.push(region.code) diff --git a/tests/__data__/expected/.gh-pages/countries/ru.m3u b/tests/__data__/expected/.gh-pages/countries/ru.m3u index 23eb60dbdc..753c8e6e1f 100644 --- a/tests/__data__/expected/.gh-pages/countries/ru.m3u +++ b/tests/__data__/expected/.gh-pages/countries/ru.m3u @@ -1,7 +1,5 @@ #EXTM3U x-tvg-url="https://iptv-org.github.io/epg/guides/ch/tv.blue.ch.epg.xml,https://iptv-org.github.io/epg/guides/ru/tv.yandex.ru.epg.xml,https://iptv-org.github.io/epg/guides/uk/ontvtonight.com.epg.xml,https://iptv-org.github.io/epg/guides/uk/sky.com.epg.xml" #EXTINF:-1 tvg-id="BBCNews.uk" tvg-country="INT" tvg-language="English" tvg-logo="https://raw.githubusercontent.com/Tapiosinn/tv-logos/master/countries/united-kingdom/bbc-news-uk.png" group-title="News",BBC News HD (720p) [Not 24/7] http://1111296894.rsc.cdn77.org/LS-ATL-54548-6/playlist.m3u8 -#EXTINF:-1 tvg-id="VisitXTV.nl" tvg-country="INT" tvg-language="Flemish" tvg-logo="https://i.imgur.com/RJ9wbNF.jpg" group-title="XXX",Visit-X TV -https://stream.visit-x.tv/vxtv/ngrp:live_all/playlist.m3u8 #EXTINF:-1 tvg-id="LDPRTV.ru" tvg-country="RU" tvg-language="Russian" tvg-logo="https://iptvx.one/icn/ldpr-tv.png" group-title="General",ЛДПР ТВ (1080p) http://46.46.143.222:1935/live/mp4:ldpr.stream/playlist.m3u8 diff --git a/tests/__data__/expected/.gh-pages/countries/uk.m3u b/tests/__data__/expected/.gh-pages/countries/uk.m3u index 7e00b31b6e..4c20e38382 100644 --- a/tests/__data__/expected/.gh-pages/countries/uk.m3u +++ b/tests/__data__/expected/.gh-pages/countries/uk.m3u @@ -1,5 +1,3 @@ #EXTM3U x-tvg-url="https://iptv-org.github.io/epg/guides/ch/tv.blue.ch.epg.xml,https://iptv-org.github.io/epg/guides/ru/tv.yandex.ru.epg.xml,https://iptv-org.github.io/epg/guides/uk/ontvtonight.com.epg.xml,https://iptv-org.github.io/epg/guides/uk/sky.com.epg.xml" #EXTINF:-1 tvg-id="BBCNews.uk" tvg-country="INT" tvg-language="English" tvg-logo="https://raw.githubusercontent.com/Tapiosinn/tv-logos/master/countries/united-kingdom/bbc-news-uk.png" group-title="News",BBC News HD (720p) [Not 24/7] http://1111296894.rsc.cdn77.org/LS-ATL-54548-6/playlist.m3u8 -#EXTINF:-1 tvg-id="VisitXTV.nl" tvg-country="INT" tvg-language="Flemish" tvg-logo="https://i.imgur.com/RJ9wbNF.jpg" group-title="XXX",Visit-X TV -https://stream.visit-x.tv/vxtv/ngrp:live_all/playlist.m3u8 diff --git a/tests/__data__/expected/.gh-pages/languages/nld.m3u b/tests/__data__/expected/.gh-pages/languages/nld.m3u deleted file mode 100644 index 3c9f990fce..0000000000 --- a/tests/__data__/expected/.gh-pages/languages/nld.m3u +++ /dev/null @@ -1,3 +0,0 @@ -#EXTM3U x-tvg-url="" -#EXTINF:-1 tvg-id="VisitXTV.nl" tvg-country="INT" tvg-language="Flemish" tvg-logo="https://i.imgur.com/RJ9wbNF.jpg" group-title="XXX",Visit-X TV -https://stream.visit-x.tv/vxtv/ngrp:live_all/playlist.m3u8 diff --git a/tests/__data__/expected/.gh-pages/regions/int.m3u b/tests/__data__/expected/.gh-pages/regions/int.m3u index 5892749870..c0834afa76 100644 --- a/tests/__data__/expected/.gh-pages/regions/int.m3u +++ b/tests/__data__/expected/.gh-pages/regions/int.m3u @@ -3,7 +3,5 @@ https://iptv-all.lanesh4d0w.repl.co/andorra/atv #EXTINF:-1 tvg-id="BBCNews.uk" tvg-country="INT" tvg-language="English" tvg-logo="https://raw.githubusercontent.com/Tapiosinn/tv-logos/master/countries/united-kingdom/bbc-news-uk.png" group-title="News",BBC News HD (720p) [Not 24/7] http://1111296894.rsc.cdn77.org/LS-ATL-54548-6/playlist.m3u8 -#EXTINF:-1 tvg-id="VisitXTV.nl" tvg-country="INT" tvg-language="Flemish" tvg-logo="https://i.imgur.com/RJ9wbNF.jpg" group-title="XXX",Visit-X TV -https://stream.visit-x.tv/vxtv/ngrp:live_all/playlist.m3u8 #EXTINF:-1 tvg-id="LDPRTV.ru" tvg-country="RU" tvg-language="Russian" tvg-logo="https://iptvx.one/icn/ldpr-tv.png" group-title="General",ЛДПР ТВ (1080p) http://46.46.143.222:1935/live/mp4:ldpr.stream/playlist.m3u8 diff --git a/tests/__data__/expected/logs/generators/countries.log b/tests/__data__/expected/logs/generators/countries.log index 6a5fe1ba44..cdd39bbdfb 100644 --- a/tests/__data__/expected/logs/generators/countries.log +++ b/tests/__data__/expected/logs/generators/countries.log @@ -1,251 +1,251 @@ -{"filepath":"countries/af.m3u","count":2} -{"filepath":"countries/al.m3u","count":2} -{"filepath":"countries/dz.m3u","count":2} -{"filepath":"countries/as.m3u","count":2} -{"filepath":"countries/ad.m3u","count":3} -{"filepath":"countries/ao.m3u","count":2} -{"filepath":"countries/ai.m3u","count":2} -{"filepath":"countries/aq.m3u","count":2} -{"filepath":"countries/ag.m3u","count":2} -{"filepath":"countries/ar.m3u","count":2} -{"filepath":"countries/am.m3u","count":2} -{"filepath":"countries/aw.m3u","count":2} -{"filepath":"countries/au.m3u","count":2} -{"filepath":"countries/at.m3u","count":2} -{"filepath":"countries/az.m3u","count":2} -{"filepath":"countries/bs.m3u","count":2} -{"filepath":"countries/bh.m3u","count":2} -{"filepath":"countries/bd.m3u","count":2} -{"filepath":"countries/bb.m3u","count":2} -{"filepath":"countries/by.m3u","count":2} -{"filepath":"countries/be.m3u","count":2} -{"filepath":"countries/bz.m3u","count":2} -{"filepath":"countries/bj.m3u","count":2} -{"filepath":"countries/bm.m3u","count":2} -{"filepath":"countries/bt.m3u","count":2} -{"filepath":"countries/bo.m3u","count":2} -{"filepath":"countries/bq.m3u","count":2} -{"filepath":"countries/ba.m3u","count":2} -{"filepath":"countries/bw.m3u","count":2} -{"filepath":"countries/bv.m3u","count":2} -{"filepath":"countries/br.m3u","count":2} -{"filepath":"countries/io.m3u","count":2} -{"filepath":"countries/vg.m3u","count":2} -{"filepath":"countries/bn.m3u","count":2} -{"filepath":"countries/bg.m3u","count":2} -{"filepath":"countries/bf.m3u","count":2} -{"filepath":"countries/bi.m3u","count":2} -{"filepath":"countries/kh.m3u","count":2} -{"filepath":"countries/cm.m3u","count":2} -{"filepath":"countries/ca.m3u","count":2} -{"filepath":"countries/cv.m3u","count":2} -{"filepath":"countries/ky.m3u","count":2} -{"filepath":"countries/cf.m3u","count":2} -{"filepath":"countries/td.m3u","count":2} -{"filepath":"countries/cl.m3u","count":2} -{"filepath":"countries/cn.m3u","count":2} -{"filepath":"countries/cx.m3u","count":2} -{"filepath":"countries/cc.m3u","count":2} -{"filepath":"countries/co.m3u","count":2} -{"filepath":"countries/km.m3u","count":2} -{"filepath":"countries/ck.m3u","count":2} -{"filepath":"countries/cr.m3u","count":2} -{"filepath":"countries/hr.m3u","count":2} -{"filepath":"countries/cu.m3u","count":2} -{"filepath":"countries/cw.m3u","count":2} -{"filepath":"countries/cy.m3u","count":2} -{"filepath":"countries/cz.m3u","count":2} -{"filepath":"countries/cd.m3u","count":2} -{"filepath":"countries/dk.m3u","count":2} -{"filepath":"countries/dj.m3u","count":2} -{"filepath":"countries/dm.m3u","count":2} -{"filepath":"countries/do.m3u","count":2} -{"filepath":"countries/tl.m3u","count":2} -{"filepath":"countries/ec.m3u","count":2} -{"filepath":"countries/eg.m3u","count":2} -{"filepath":"countries/sv.m3u","count":2} -{"filepath":"countries/gq.m3u","count":2} -{"filepath":"countries/er.m3u","count":2} -{"filepath":"countries/ee.m3u","count":2} -{"filepath":"countries/et.m3u","count":2} -{"filepath":"countries/fk.m3u","count":2} -{"filepath":"countries/fo.m3u","count":2} -{"filepath":"countries/fj.m3u","count":2} -{"filepath":"countries/fi.m3u","count":2} -{"filepath":"countries/fr.m3u","count":2} -{"filepath":"countries/gf.m3u","count":2} -{"filepath":"countries/pf.m3u","count":2} -{"filepath":"countries/tf.m3u","count":2} -{"filepath":"countries/ga.m3u","count":2} -{"filepath":"countries/gm.m3u","count":2} -{"filepath":"countries/ge.m3u","count":2} -{"filepath":"countries/de.m3u","count":2} -{"filepath":"countries/gh.m3u","count":2} -{"filepath":"countries/gi.m3u","count":2} -{"filepath":"countries/gr.m3u","count":2} -{"filepath":"countries/gl.m3u","count":2} -{"filepath":"countries/gd.m3u","count":2} -{"filepath":"countries/gp.m3u","count":2} -{"filepath":"countries/gu.m3u","count":2} -{"filepath":"countries/gt.m3u","count":2} -{"filepath":"countries/gg.m3u","count":2} -{"filepath":"countries/gn.m3u","count":2} -{"filepath":"countries/gw.m3u","count":2} -{"filepath":"countries/gy.m3u","count":2} -{"filepath":"countries/ht.m3u","count":2} -{"filepath":"countries/hm.m3u","count":2} -{"filepath":"countries/hn.m3u","count":2} -{"filepath":"countries/hk.m3u","count":2} -{"filepath":"countries/hu.m3u","count":2} -{"filepath":"countries/is.m3u","count":2} -{"filepath":"countries/in.m3u","count":2} -{"filepath":"countries/id.m3u","count":2} -{"filepath":"countries/ir.m3u","count":2} -{"filepath":"countries/iq.m3u","count":2} -{"filepath":"countries/ie.m3u","count":2} -{"filepath":"countries/im.m3u","count":2} -{"filepath":"countries/il.m3u","count":2} -{"filepath":"countries/it.m3u","count":2} -{"filepath":"countries/ci.m3u","count":2} -{"filepath":"countries/jm.m3u","count":2} -{"filepath":"countries/jp.m3u","count":2} -{"filepath":"countries/je.m3u","count":2} -{"filepath":"countries/jo.m3u","count":2} -{"filepath":"countries/kz.m3u","count":2} -{"filepath":"countries/ke.m3u","count":2} -{"filepath":"countries/ki.m3u","count":2} -{"filepath":"countries/xk.m3u","count":2} -{"filepath":"countries/kw.m3u","count":2} -{"filepath":"countries/kg.m3u","count":2} -{"filepath":"countries/la.m3u","count":2} -{"filepath":"countries/lv.m3u","count":2} -{"filepath":"countries/lb.m3u","count":2} -{"filepath":"countries/ls.m3u","count":2} -{"filepath":"countries/lr.m3u","count":2} -{"filepath":"countries/ly.m3u","count":2} -{"filepath":"countries/li.m3u","count":2} -{"filepath":"countries/lt.m3u","count":2} -{"filepath":"countries/lu.m3u","count":2} -{"filepath":"countries/mo.m3u","count":2} -{"filepath":"countries/mg.m3u","count":2} -{"filepath":"countries/mw.m3u","count":2} -{"filepath":"countries/my.m3u","count":2} -{"filepath":"countries/mv.m3u","count":2} -{"filepath":"countries/ml.m3u","count":2} -{"filepath":"countries/mt.m3u","count":2} -{"filepath":"countries/mh.m3u","count":2} -{"filepath":"countries/mq.m3u","count":2} -{"filepath":"countries/mr.m3u","count":2} -{"filepath":"countries/mu.m3u","count":2} -{"filepath":"countries/yt.m3u","count":2} -{"filepath":"countries/mx.m3u","count":2} -{"filepath":"countries/fm.m3u","count":2} -{"filepath":"countries/md.m3u","count":2} -{"filepath":"countries/mc.m3u","count":2} -{"filepath":"countries/mn.m3u","count":2} -{"filepath":"countries/me.m3u","count":2} -{"filepath":"countries/ms.m3u","count":2} -{"filepath":"countries/ma.m3u","count":2} -{"filepath":"countries/mz.m3u","count":2} -{"filepath":"countries/mm.m3u","count":2} -{"filepath":"countries/na.m3u","count":2} -{"filepath":"countries/nr.m3u","count":2} -{"filepath":"countries/np.m3u","count":2} -{"filepath":"countries/nl.m3u","count":2} -{"filepath":"countries/nc.m3u","count":2} -{"filepath":"countries/nz.m3u","count":2} -{"filepath":"countries/ni.m3u","count":2} -{"filepath":"countries/ne.m3u","count":2} -{"filepath":"countries/ng.m3u","count":2} -{"filepath":"countries/nu.m3u","count":2} -{"filepath":"countries/nf.m3u","count":2} -{"filepath":"countries/kp.m3u","count":2} -{"filepath":"countries/mk.m3u","count":2} -{"filepath":"countries/mp.m3u","count":2} -{"filepath":"countries/no.m3u","count":2} -{"filepath":"countries/om.m3u","count":2} -{"filepath":"countries/pk.m3u","count":2} -{"filepath":"countries/pw.m3u","count":2} -{"filepath":"countries/ps.m3u","count":2} -{"filepath":"countries/pa.m3u","count":2} -{"filepath":"countries/pg.m3u","count":2} -{"filepath":"countries/py.m3u","count":2} -{"filepath":"countries/pe.m3u","count":2} -{"filepath":"countries/ph.m3u","count":2} -{"filepath":"countries/pn.m3u","count":2} -{"filepath":"countries/pl.m3u","count":2} -{"filepath":"countries/pt.m3u","count":2} -{"filepath":"countries/pr.m3u","count":2} -{"filepath":"countries/qa.m3u","count":2} -{"filepath":"countries/cg.m3u","count":2} -{"filepath":"countries/ro.m3u","count":2} -{"filepath":"countries/ru.m3u","count":3} -{"filepath":"countries/rw.m3u","count":2} -{"filepath":"countries/re.m3u","count":2} -{"filepath":"countries/bl.m3u","count":2} -{"filepath":"countries/sh.m3u","count":2} -{"filepath":"countries/kn.m3u","count":2} -{"filepath":"countries/lc.m3u","count":2} -{"filepath":"countries/mf.m3u","count":2} -{"filepath":"countries/pm.m3u","count":2} -{"filepath":"countries/vc.m3u","count":2} -{"filepath":"countries/ws.m3u","count":2} -{"filepath":"countries/sm.m3u","count":2} -{"filepath":"countries/sa.m3u","count":2} -{"filepath":"countries/sn.m3u","count":2} -{"filepath":"countries/rs.m3u","count":2} -{"filepath":"countries/sc.m3u","count":2} -{"filepath":"countries/sl.m3u","count":2} -{"filepath":"countries/sg.m3u","count":2} -{"filepath":"countries/sx.m3u","count":2} -{"filepath":"countries/sk.m3u","count":2} -{"filepath":"countries/si.m3u","count":2} -{"filepath":"countries/sb.m3u","count":2} -{"filepath":"countries/so.m3u","count":2} -{"filepath":"countries/za.m3u","count":2} -{"filepath":"countries/gs.m3u","count":2} -{"filepath":"countries/kr.m3u","count":2} -{"filepath":"countries/ss.m3u","count":2} -{"filepath":"countries/es.m3u","count":2} -{"filepath":"countries/lk.m3u","count":2} -{"filepath":"countries/sd.m3u","count":2} -{"filepath":"countries/sr.m3u","count":2} -{"filepath":"countries/sj.m3u","count":2} -{"filepath":"countries/sz.m3u","count":2} -{"filepath":"countries/se.m3u","count":2} -{"filepath":"countries/ch.m3u","count":2} -{"filepath":"countries/sy.m3u","count":2} -{"filepath":"countries/st.m3u","count":2} -{"filepath":"countries/tw.m3u","count":2} -{"filepath":"countries/tj.m3u","count":2} -{"filepath":"countries/tz.m3u","count":2} -{"filepath":"countries/th.m3u","count":2} -{"filepath":"countries/tg.m3u","count":2} -{"filepath":"countries/tk.m3u","count":2} -{"filepath":"countries/to.m3u","count":2} -{"filepath":"countries/tt.m3u","count":2} -{"filepath":"countries/tn.m3u","count":2} -{"filepath":"countries/tr.m3u","count":2} -{"filepath":"countries/tm.m3u","count":2} -{"filepath":"countries/tc.m3u","count":2} -{"filepath":"countries/tv.m3u","count":2} -{"filepath":"countries/um.m3u","count":2} -{"filepath":"countries/vi.m3u","count":2} -{"filepath":"countries/ug.m3u","count":2} -{"filepath":"countries/ua.m3u","count":2} -{"filepath":"countries/ae.m3u","count":2} -{"filepath":"countries/uk.m3u","count":2} -{"filepath":"countries/us.m3u","count":2} -{"filepath":"countries/uy.m3u","count":2} -{"filepath":"countries/uz.m3u","count":2} -{"filepath":"countries/vu.m3u","count":2} -{"filepath":"countries/va.m3u","count":2} -{"filepath":"countries/ve.m3u","count":2} -{"filepath":"countries/vn.m3u","count":2} -{"filepath":"countries/wf.m3u","count":2} -{"filepath":"countries/eh.m3u","count":2} -{"filepath":"countries/ye.m3u","count":2} -{"filepath":"countries/zm.m3u","count":2} -{"filepath":"countries/zw.m3u","count":2} -{"filepath":"countries/ax.m3u","count":2} +{"filepath":"countries/af.m3u","count":1} +{"filepath":"countries/al.m3u","count":1} +{"filepath":"countries/dz.m3u","count":1} +{"filepath":"countries/as.m3u","count":1} +{"filepath":"countries/ad.m3u","count":2} +{"filepath":"countries/ao.m3u","count":1} +{"filepath":"countries/ai.m3u","count":1} +{"filepath":"countries/aq.m3u","count":1} +{"filepath":"countries/ag.m3u","count":1} +{"filepath":"countries/ar.m3u","count":1} +{"filepath":"countries/am.m3u","count":1} +{"filepath":"countries/aw.m3u","count":1} +{"filepath":"countries/au.m3u","count":1} +{"filepath":"countries/at.m3u","count":1} +{"filepath":"countries/az.m3u","count":1} +{"filepath":"countries/bs.m3u","count":1} +{"filepath":"countries/bh.m3u","count":1} +{"filepath":"countries/bd.m3u","count":1} +{"filepath":"countries/bb.m3u","count":1} +{"filepath":"countries/by.m3u","count":1} +{"filepath":"countries/be.m3u","count":1} +{"filepath":"countries/bz.m3u","count":1} +{"filepath":"countries/bj.m3u","count":1} +{"filepath":"countries/bm.m3u","count":1} +{"filepath":"countries/bt.m3u","count":1} +{"filepath":"countries/bo.m3u","count":1} +{"filepath":"countries/bq.m3u","count":1} +{"filepath":"countries/ba.m3u","count":1} +{"filepath":"countries/bw.m3u","count":1} +{"filepath":"countries/bv.m3u","count":1} +{"filepath":"countries/br.m3u","count":1} +{"filepath":"countries/io.m3u","count":1} +{"filepath":"countries/vg.m3u","count":1} +{"filepath":"countries/bn.m3u","count":1} +{"filepath":"countries/bg.m3u","count":1} +{"filepath":"countries/bf.m3u","count":1} +{"filepath":"countries/bi.m3u","count":1} +{"filepath":"countries/kh.m3u","count":1} +{"filepath":"countries/cm.m3u","count":1} +{"filepath":"countries/ca.m3u","count":1} +{"filepath":"countries/cv.m3u","count":1} +{"filepath":"countries/ky.m3u","count":1} +{"filepath":"countries/cf.m3u","count":1} +{"filepath":"countries/td.m3u","count":1} +{"filepath":"countries/cl.m3u","count":1} +{"filepath":"countries/cn.m3u","count":1} +{"filepath":"countries/cx.m3u","count":1} +{"filepath":"countries/cc.m3u","count":1} +{"filepath":"countries/co.m3u","count":1} +{"filepath":"countries/km.m3u","count":1} +{"filepath":"countries/ck.m3u","count":1} +{"filepath":"countries/cr.m3u","count":1} +{"filepath":"countries/hr.m3u","count":1} +{"filepath":"countries/cu.m3u","count":1} +{"filepath":"countries/cw.m3u","count":1} +{"filepath":"countries/cy.m3u","count":1} +{"filepath":"countries/cz.m3u","count":1} +{"filepath":"countries/cd.m3u","count":1} +{"filepath":"countries/dk.m3u","count":1} +{"filepath":"countries/dj.m3u","count":1} +{"filepath":"countries/dm.m3u","count":1} +{"filepath":"countries/do.m3u","count":1} +{"filepath":"countries/tl.m3u","count":1} +{"filepath":"countries/ec.m3u","count":1} +{"filepath":"countries/eg.m3u","count":1} +{"filepath":"countries/sv.m3u","count":1} +{"filepath":"countries/gq.m3u","count":1} +{"filepath":"countries/er.m3u","count":1} +{"filepath":"countries/ee.m3u","count":1} +{"filepath":"countries/et.m3u","count":1} +{"filepath":"countries/fk.m3u","count":1} +{"filepath":"countries/fo.m3u","count":1} +{"filepath":"countries/fj.m3u","count":1} +{"filepath":"countries/fi.m3u","count":1} +{"filepath":"countries/fr.m3u","count":1} +{"filepath":"countries/gf.m3u","count":1} +{"filepath":"countries/pf.m3u","count":1} +{"filepath":"countries/tf.m3u","count":1} +{"filepath":"countries/ga.m3u","count":1} +{"filepath":"countries/gm.m3u","count":1} +{"filepath":"countries/ge.m3u","count":1} +{"filepath":"countries/de.m3u","count":1} +{"filepath":"countries/gh.m3u","count":1} +{"filepath":"countries/gi.m3u","count":1} +{"filepath":"countries/gr.m3u","count":1} +{"filepath":"countries/gl.m3u","count":1} +{"filepath":"countries/gd.m3u","count":1} +{"filepath":"countries/gp.m3u","count":1} +{"filepath":"countries/gu.m3u","count":1} +{"filepath":"countries/gt.m3u","count":1} +{"filepath":"countries/gg.m3u","count":1} +{"filepath":"countries/gn.m3u","count":1} +{"filepath":"countries/gw.m3u","count":1} +{"filepath":"countries/gy.m3u","count":1} +{"filepath":"countries/ht.m3u","count":1} +{"filepath":"countries/hm.m3u","count":1} +{"filepath":"countries/hn.m3u","count":1} +{"filepath":"countries/hk.m3u","count":1} +{"filepath":"countries/hu.m3u","count":1} +{"filepath":"countries/is.m3u","count":1} +{"filepath":"countries/in.m3u","count":1} +{"filepath":"countries/id.m3u","count":1} +{"filepath":"countries/ir.m3u","count":1} +{"filepath":"countries/iq.m3u","count":1} +{"filepath":"countries/ie.m3u","count":1} +{"filepath":"countries/im.m3u","count":1} +{"filepath":"countries/il.m3u","count":1} +{"filepath":"countries/it.m3u","count":1} +{"filepath":"countries/ci.m3u","count":1} +{"filepath":"countries/jm.m3u","count":1} +{"filepath":"countries/jp.m3u","count":1} +{"filepath":"countries/je.m3u","count":1} +{"filepath":"countries/jo.m3u","count":1} +{"filepath":"countries/kz.m3u","count":1} +{"filepath":"countries/ke.m3u","count":1} +{"filepath":"countries/ki.m3u","count":1} +{"filepath":"countries/xk.m3u","count":1} +{"filepath":"countries/kw.m3u","count":1} +{"filepath":"countries/kg.m3u","count":1} +{"filepath":"countries/la.m3u","count":1} +{"filepath":"countries/lv.m3u","count":1} +{"filepath":"countries/lb.m3u","count":1} +{"filepath":"countries/ls.m3u","count":1} +{"filepath":"countries/lr.m3u","count":1} +{"filepath":"countries/ly.m3u","count":1} +{"filepath":"countries/li.m3u","count":1} +{"filepath":"countries/lt.m3u","count":1} +{"filepath":"countries/lu.m3u","count":1} +{"filepath":"countries/mo.m3u","count":1} +{"filepath":"countries/mg.m3u","count":1} +{"filepath":"countries/mw.m3u","count":1} +{"filepath":"countries/my.m3u","count":1} +{"filepath":"countries/mv.m3u","count":1} +{"filepath":"countries/ml.m3u","count":1} +{"filepath":"countries/mt.m3u","count":1} +{"filepath":"countries/mh.m3u","count":1} +{"filepath":"countries/mq.m3u","count":1} +{"filepath":"countries/mr.m3u","count":1} +{"filepath":"countries/mu.m3u","count":1} +{"filepath":"countries/yt.m3u","count":1} +{"filepath":"countries/mx.m3u","count":1} +{"filepath":"countries/fm.m3u","count":1} +{"filepath":"countries/md.m3u","count":1} +{"filepath":"countries/mc.m3u","count":1} +{"filepath":"countries/mn.m3u","count":1} +{"filepath":"countries/me.m3u","count":1} +{"filepath":"countries/ms.m3u","count":1} +{"filepath":"countries/ma.m3u","count":1} +{"filepath":"countries/mz.m3u","count":1} +{"filepath":"countries/mm.m3u","count":1} +{"filepath":"countries/na.m3u","count":1} +{"filepath":"countries/nr.m3u","count":1} +{"filepath":"countries/np.m3u","count":1} +{"filepath":"countries/nl.m3u","count":1} +{"filepath":"countries/nc.m3u","count":1} +{"filepath":"countries/nz.m3u","count":1} +{"filepath":"countries/ni.m3u","count":1} +{"filepath":"countries/ne.m3u","count":1} +{"filepath":"countries/ng.m3u","count":1} +{"filepath":"countries/nu.m3u","count":1} +{"filepath":"countries/nf.m3u","count":1} +{"filepath":"countries/kp.m3u","count":1} +{"filepath":"countries/mk.m3u","count":1} +{"filepath":"countries/mp.m3u","count":1} +{"filepath":"countries/no.m3u","count":1} +{"filepath":"countries/om.m3u","count":1} +{"filepath":"countries/pk.m3u","count":1} +{"filepath":"countries/pw.m3u","count":1} +{"filepath":"countries/ps.m3u","count":1} +{"filepath":"countries/pa.m3u","count":1} +{"filepath":"countries/pg.m3u","count":1} +{"filepath":"countries/py.m3u","count":1} +{"filepath":"countries/pe.m3u","count":1} +{"filepath":"countries/ph.m3u","count":1} +{"filepath":"countries/pn.m3u","count":1} +{"filepath":"countries/pl.m3u","count":1} +{"filepath":"countries/pt.m3u","count":1} +{"filepath":"countries/pr.m3u","count":1} +{"filepath":"countries/qa.m3u","count":1} +{"filepath":"countries/cg.m3u","count":1} +{"filepath":"countries/ro.m3u","count":1} +{"filepath":"countries/ru.m3u","count":2} +{"filepath":"countries/rw.m3u","count":1} +{"filepath":"countries/re.m3u","count":1} +{"filepath":"countries/bl.m3u","count":1} +{"filepath":"countries/sh.m3u","count":1} +{"filepath":"countries/kn.m3u","count":1} +{"filepath":"countries/lc.m3u","count":1} +{"filepath":"countries/mf.m3u","count":1} +{"filepath":"countries/pm.m3u","count":1} +{"filepath":"countries/vc.m3u","count":1} +{"filepath":"countries/ws.m3u","count":1} +{"filepath":"countries/sm.m3u","count":1} +{"filepath":"countries/sa.m3u","count":1} +{"filepath":"countries/sn.m3u","count":1} +{"filepath":"countries/rs.m3u","count":1} +{"filepath":"countries/sc.m3u","count":1} +{"filepath":"countries/sl.m3u","count":1} +{"filepath":"countries/sg.m3u","count":1} +{"filepath":"countries/sx.m3u","count":1} +{"filepath":"countries/sk.m3u","count":1} +{"filepath":"countries/si.m3u","count":1} +{"filepath":"countries/sb.m3u","count":1} +{"filepath":"countries/so.m3u","count":1} +{"filepath":"countries/za.m3u","count":1} +{"filepath":"countries/gs.m3u","count":1} +{"filepath":"countries/kr.m3u","count":1} +{"filepath":"countries/ss.m3u","count":1} +{"filepath":"countries/es.m3u","count":1} +{"filepath":"countries/lk.m3u","count":1} +{"filepath":"countries/sd.m3u","count":1} +{"filepath":"countries/sr.m3u","count":1} +{"filepath":"countries/sj.m3u","count":1} +{"filepath":"countries/sz.m3u","count":1} +{"filepath":"countries/se.m3u","count":1} +{"filepath":"countries/ch.m3u","count":1} +{"filepath":"countries/sy.m3u","count":1} +{"filepath":"countries/st.m3u","count":1} +{"filepath":"countries/tw.m3u","count":1} +{"filepath":"countries/tj.m3u","count":1} +{"filepath":"countries/tz.m3u","count":1} +{"filepath":"countries/th.m3u","count":1} +{"filepath":"countries/tg.m3u","count":1} +{"filepath":"countries/tk.m3u","count":1} +{"filepath":"countries/to.m3u","count":1} +{"filepath":"countries/tt.m3u","count":1} +{"filepath":"countries/tn.m3u","count":1} +{"filepath":"countries/tr.m3u","count":1} +{"filepath":"countries/tm.m3u","count":1} +{"filepath":"countries/tc.m3u","count":1} +{"filepath":"countries/tv.m3u","count":1} +{"filepath":"countries/um.m3u","count":1} +{"filepath":"countries/vi.m3u","count":1} +{"filepath":"countries/ug.m3u","count":1} +{"filepath":"countries/ua.m3u","count":1} +{"filepath":"countries/ae.m3u","count":1} +{"filepath":"countries/uk.m3u","count":1} +{"filepath":"countries/us.m3u","count":1} +{"filepath":"countries/uy.m3u","count":1} +{"filepath":"countries/uz.m3u","count":1} +{"filepath":"countries/vu.m3u","count":1} +{"filepath":"countries/va.m3u","count":1} +{"filepath":"countries/ve.m3u","count":1} +{"filepath":"countries/vn.m3u","count":1} +{"filepath":"countries/wf.m3u","count":1} +{"filepath":"countries/eh.m3u","count":1} +{"filepath":"countries/ye.m3u","count":1} +{"filepath":"countries/zm.m3u","count":1} +{"filepath":"countries/zw.m3u","count":1} +{"filepath":"countries/ax.m3u","count":1} {"filepath":"countries/undefined.m3u","count":2} \ No newline at end of file diff --git a/tests/__data__/expected/logs/generators/languages.log b/tests/__data__/expected/logs/generators/languages.log index bd9bd1a1c6..c68ade3aa5 100644 --- a/tests/__data__/expected/logs/generators/languages.log +++ b/tests/__data__/expected/logs/generators/languages.log @@ -1,5 +1,4 @@ {"filepath":"languages/cat.m3u","count":1} {"filepath":"languages/eng.m3u","count":1} -{"filepath":"languages/nld.m3u","count":1} {"filepath":"languages/rus.m3u","count":1} {"filepath":"languages/undefined.m3u","count":2} \ No newline at end of file diff --git a/tests/__data__/expected/logs/generators/regions.log b/tests/__data__/expected/logs/generators/regions.log index 11e3d17dac..d4c00b2cc3 100644 --- a/tests/__data__/expected/logs/generators/regions.log +++ b/tests/__data__/expected/logs/generators/regions.log @@ -21,5 +21,5 @@ {"filepath":"regions/sas.m3u","count":0} {"filepath":"regions/ssa.m3u","count":0} {"filepath":"regions/wafr.m3u","count":0} -{"filepath":"regions/int.m3u","count":4} +{"filepath":"regions/int.m3u","count":3} {"filepath":"regions/undefined.m3u","count":2} \ No newline at end of file