From 8e402a8b12ace288c5229fde11da38e086c9037a Mon Sep 17 00:00:00 2001 From: Aleksandr Statciuk Date: Sat, 10 Sep 2022 16:45:34 +0300 Subject: [PATCH] Update tests/__data__ --- tests/__data__/expected/streams/aw.m3u | 6 ++++++ tests/__data__/input/database/playlist_update.streams.db | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 tests/__data__/expected/streams/aw.m3u diff --git a/tests/__data__/expected/streams/aw.m3u b/tests/__data__/expected/streams/aw.m3u new file mode 100644 index 0000000000..b50f1cbbc9 --- /dev/null +++ b/tests/__data__/expected/streams/aw.m3u @@ -0,0 +1,6 @@ +#EXTM3U +#EXTINF:-1 tvg-id="Telearuba.aw" status="online",Telearuba (720p) +http://cdn.setar.aw:1935/Telearuba/smil:telearuba.smil/playlist.m3u8 +#EXTINF:-1 tvg-id="Telearuba.aw" status="online" user-agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36",Telearuba (480p) [Not 24/7] +#EXTVLCOPT:http-user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36 +https://backend-server-dot-telearuba-app.appspot.com/media/livestream13/playlist.m3u8 diff --git a/tests/__data__/input/database/playlist_update.streams.db b/tests/__data__/input/database/playlist_update.streams.db index ea07301ce6..07f9673b28 100644 --- a/tests/__data__/input/database/playlist_update.streams.db +++ b/tests/__data__/input/database/playlist_update.streams.db @@ -15,4 +15,6 @@ {"title":"Tele 2000","channel":"Tele2000.pe","filepath":"tests/__data__/output/streams/pe.m3u","url":"https://servilive.com:3126/live/tele2000live.m3u8","http_referrer":null,"user_agent":null,"cluster_id":1,"_id":"cF0pFVzSn6xFMUF3"} {"title":"Planeta Junior TV","channel":"","filepath":"tests/__data__/output/streams/es.m3u","url":"https://deaplaneta-planetakidz-1-es.samsung.wurl.tv/playlist.m3u8","http_referrer":null,"user_agent":null,"cluster_id":1,"_id":"1BT8btby3mmsgPF0","status":"online"} {"title":"Caillou","channel":"","filepath":"tests/__data__/output/streams/es.m3u","url":"https://dhx-caillou-1-es.samsung.wurl.tv/playlist.m3u8","http_referrer":null,"user_agent":null,"cluster_id":1,"_id":"3BT8btby3mmsgPF0","status":"online"} -{"title":"iHola Play","channel":"","filepath":"tests/__data__/output/streams/es.m3u","url":"https://rakuten-hola-2-es.samsung.wurl.tv/playlist.m3u8","http_referrer":null,"user_agent":null,"cluster_id":1,"_id":"2BT8btby3mmsgPF0","status":"online"} +{"title":"iHola Play","channel":"","filepath":"tests/__data__/output/streams/es.m3u","url":"https://rakuten-hola-2-es.samsung.wurl.tv/playlist.m3u8","http_referrer":null,"user_agent":null,"height":480,"width":640,"frame_rate":60,"cluster_id":1,"_id":"2BT8btby3mmsgPF0","status":"online"} +{"title":"Telearuba (720p)","channel":"Telearuba.aw","filepath":"tests/__data__/output/streams/aw.m3u","url":"http://cdn.setar.aw:1935/Telearuba/smil:telearuba.smil/playlist.m3u8","http_referrer":null,"user_agent":null,"height":720,"width":1280,"cluster_id":1,"_id":"6BT8btby3mmsgPF0","status":"online"} +{"title":"Telearuba (480p) [Not 24/7]","channel":"Telearuba.aw","filepath":"tests/__data__/output/streams/aw.m3u","url":"https://backend-server-dot-telearuba-app.appspot.com/media/livestream13/playlist.m3u8","http_referrer":null,"user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36","height":480,"width":640,"cluster_id":1,"_id":"4BT8btby3mmsgPF0","status":"online"}