disable streamlink for python
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
parent
efef31c233
commit
95b243f7e5
@ -393,7 +393,8 @@ async def get_any(upstream, proxy, logger):
|
|||||||
if isinstance(cached, StreamData):
|
if isinstance(cached, StreamData):
|
||||||
return cached
|
return cached
|
||||||
tasks = []
|
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_ytdl(upstream, proxy, logger)))
|
||||||
tasks.append(asyncio.create_task(get_meta(upstream, proxy, logger)))
|
tasks.append(asyncio.create_task(get_meta(upstream, proxy, logger)))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user