disable streamlink for python
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Roy Olav Purser 2023-07-07 21:19:25 +02:00
parent efef31c233
commit 95b243f7e5
Signed by: roypur
GPG Key ID: 90142918D5E59AD3

View File

@ -393,6 +393,7 @@ async def get_any(upstream, proxy, logger):
if isinstance(cached, StreamData):
return cached
tasks = []
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)))