Update video.py

This commit is contained in:
Shohih Abdul 2021-11-11 13:55:32 +07:00 committed by GitHub
parent 123338b65e
commit 6e6318ced0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,7 +172,7 @@ async def vplay(c: Client, m: Message):
HighQualityAudio(), HighQualityAudio(),
amaze, amaze,
), ),
stream_type=StreamType().pulse_stream, stream_type=StreamType().local_stream,
) )
add_to_queue(chat_id, songname, dl, link, "Video", Q) add_to_queue(chat_id, songname, dl, link, "Video", Q)
await loser.delete() await loser.delete()
@ -222,7 +222,7 @@ async def vplay(c: Client, m: Message):
HighQualityAudio(), HighQualityAudio(),
amaze, amaze,
), ),
stream_type=StreamType().pulse_stream, stream_type=StreamType().local_stream,
) )
add_to_queue(chat_id, songname, ytlink, url, "Video", Q) add_to_queue(chat_id, songname, ytlink, url, "Video", Q)
await loser.delete() await loser.delete()
@ -276,7 +276,7 @@ async def vplay(c: Client, m: Message):
HighQualityAudio(), HighQualityAudio(),
amaze, amaze,
), ),
stream_type=StreamType().pulse_stream, stream_type=StreamType().local_stream,
) )
add_to_queue(chat_id, songname, ytlink, url, "Video", Q) add_to_queue(chat_id, songname, ytlink, url, "Video", Q)
await loser.delete() await loser.delete()
@ -417,7 +417,7 @@ async def vstream(c: Client, m: Message):
HighQualityAudio(), HighQualityAudio(),
amaze, amaze,
), ),
stream_type=StreamType().pulse_stream, stream_type=StreamType().live_stream,
) )
add_to_queue(chat_id, "Live Stream", livelink, link, "Video", Q) add_to_queue(chat_id, "Live Stream", livelink, link, "Video", Q)
await loser.delete() await loser.delete()