diff --git a/README.md b/README.md index 1209eb2..954b4d5 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,9 @@ - Music & Video downloader feature - Inline Search support - YouTube direct search support -- YouTube/Local/Radio/Live stream support +- YouTube/Local/Live/m3u8 stream support - Inline Search support +- Control With Button support ## ๐Ÿ›  Commands: - `/play (query)` - play music from youtube @@ -77,6 +78,7 @@ python3 main.py # run the bot. - [Zxce3](https://github.com/Zxce3) ``Dev`` - [DoellBarr](https://github.com/DoellBarr) ``Dev`` - [tofikdn](https://github.com/tofikdn) ``Dev`` +- [Hunter-XDD](https://github.com/Hunter-XDD) ``Dev`` - [Laky's](https://github.com/Laky-64) for [``py-tgcalls``](https://github.com/pytgcalls/pytgcalls) - [Dan](https://github.com/delivrance) for [``Pyrogram``](https://github.com/pyrogram) diff --git a/program/callback.py b/program/callback.py index 3375883..ff2731d 100644 --- a/program/callback.py +++ b/program/callback.py @@ -107,7 +107,7 @@ async def cbbasic(_, query: CallbackQuery): ยป /play (song name/link) - play music on video chat ยป /stream (query/link) - stream the yt live/radio live music ยป /vplay (video name/link) - play video on video chat -ยป /vstream - play live video from yt live +ยป /vstream - play live video from yt live/m3u8 ยป /playlist - show you the playlist ยป /video (query) - download video from youtube ยป /song (query) - download song from youtube diff --git a/program/video.py b/program/video.py index 934a93a..a499c31 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)