diff --git a/backend/stream_providers.py b/backend/stream_providers.py index f0eb779..d83c094 100755 --- a/backend/stream_providers.py +++ b/backend/stream_providers.py @@ -393,7 +393,8 @@ async def get_any(upstream, proxy, logger): if isinstance(cached, StreamData): return cached tasks = [] - tasks.append(asyncio.create_task(get_streamlink(upstream, proxy, logger))) + if not "youtube" in upstream.lower(): + tasks.append(asyncio.create_task(get_streamlink(upstream, proxy, logger))) tasks.append(asyncio.create_task(get_ytdl(upstream, proxy, logger))) tasks.append(asyncio.create_task(get_meta(upstream, proxy, logger)))