From 0fb2f383488c396b68c68b9154df2e10c08228a7 Mon Sep 17 00:00:00 2001 From: Roy Olav Purser Date: Wed, 26 May 2021 16:30:59 +0200 Subject: [PATCH] print upstream url --- backend/stream_providers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/stream_providers.py b/backend/stream_providers.py index 00ccda4..c162f3e 100755 --- a/backend/stream_providers.py +++ b/backend/stream_providers.py @@ -80,7 +80,6 @@ async def get_streamlink(upstream, proxy, logger): async def get_any(upstream, proxy, logger): tasks = [] - logger.info(upstream) tasks.append(asyncio.create_task(get_streamlink(upstream, proxy, logger))) tasks.append(asyncio.create_task(get_ytdl(upstream, proxy, logger))) result = None @@ -94,4 +93,5 @@ async def get_any(upstream, proxy, logger): for task in tasks: if not task.done(): task.cancel() + logger.info(result) return result