From 1ec42e52c0d569662887eb8b9578ca0444702616 Mon Sep 17 00:00:00 2001 From: Hunter XDD <85411336+Hunter-XDD@users.noreply.github.com> Date: Mon, 1 Nov 2021 19:34:49 +0530 Subject: [PATCH] none --- program/video.py | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/program/video.py b/program/video.py index 934a93a..58c405e 100644 --- a/program/video.py +++ b/program/video.py @@ -114,7 +114,11 @@ async def vplay(client, m: Message): amaze = LowQualityVideo() await call_py.join_group_call( chat_id, - AudioVideoPiped(dl, HighQualityAudio(), amaze), + AudioVideoPiped( + dl, + HighQualityAudio(), + amaze, + ), stream_type=StreamType().pulse_stream, ) add_to_queue(chat_id, songname, dl, link, "Video", Q) @@ -158,7 +162,11 @@ async def vplay(client, m: Message): try: await call_py.join_group_call( chat_id, - AudioVideoPiped(ytlink, HighQualityAudio(), amaze), + AudioVideoPiped( + ytlink, + HighQualityAudio(), + amaze, + ), stream_type=StreamType().pulse_stream, ) add_to_queue(chat_id, songname, ytlink, url, "Video", Q) @@ -203,7 +211,11 @@ async def vplay(client, m: Message): try: await call_py.join_group_call( chat_id, - AudioVideoPiped(ytlink, HighQualityAudio(), amaze), + AudioVideoPiped( + ytlink, + HighQualityAudio(), + amaze + ), stream_type=StreamType().pulse_stream, ) add_to_queue(chat_id, songname, ytlink, url, "Video", Q) @@ -285,7 +297,11 @@ async def vstream(client, m: Message): try: await call_py.join_group_call( chat_id, - AudioVideoPiped(livelink, HighQualityAudio(), amaze), + AudioVideoPiped( + livelink, + HighQualityAudio(), + amaze + ), stream_type=StreamType().pulse_stream, ) add_to_queue(chat_id, "Live Stream", livelink, link, "Video", Q)