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