changing StreamType() property for fixing the bug
This commit is contained in:
parent
c074737b1b
commit
123338b65e
@ -148,7 +148,7 @@ async def play(c: Client, m: Message):
|
|||||||
AudioPiped(
|
AudioPiped(
|
||||||
dl,
|
dl,
|
||||||
),
|
),
|
||||||
stream_type=StreamType().pulse_stream,
|
stream_type=StreamType().local_stream,
|
||||||
)
|
)
|
||||||
add_to_queue(chat_id, songname, dl, link, "Audio", 0)
|
add_to_queue(chat_id, songname, dl, link, "Audio", 0)
|
||||||
await suhu.delete()
|
await suhu.delete()
|
||||||
@ -194,7 +194,7 @@ async def play(c: Client, m: Message):
|
|||||||
AudioPiped(
|
AudioPiped(
|
||||||
ytlink,
|
ytlink,
|
||||||
),
|
),
|
||||||
stream_type=StreamType().pulse_stream,
|
stream_type=StreamType().local_stream,
|
||||||
)
|
)
|
||||||
add_to_queue(chat_id, songname, ytlink, url, "Audio", 0)
|
add_to_queue(chat_id, songname, ytlink, url, "Audio", 0)
|
||||||
await suhu.delete()
|
await suhu.delete()
|
||||||
@ -244,7 +244,7 @@ async def play(c: Client, m: Message):
|
|||||||
AudioPiped(
|
AudioPiped(
|
||||||
ytlink,
|
ytlink,
|
||||||
),
|
),
|
||||||
stream_type=StreamType().pulse_stream,
|
stream_type=StreamType().local_stream,
|
||||||
)
|
)
|
||||||
add_to_queue(chat_id, songname, ytlink, url, "Audio", 0)
|
add_to_queue(chat_id, songname, ytlink, url, "Audio", 0)
|
||||||
await suhu.delete()
|
await suhu.delete()
|
||||||
@ -363,7 +363,7 @@ async def stream(c: Client, m: Message):
|
|||||||
AudioPiped(
|
AudioPiped(
|
||||||
livelink,
|
livelink,
|
||||||
),
|
),
|
||||||
stream_type=StreamType().pulse_stream,
|
stream_type=StreamType().live_stream,
|
||||||
)
|
)
|
||||||
add_to_queue(chat_id, "Radio", livelink, link, "Audio", 0)
|
add_to_queue(chat_id, "Radio", livelink, link, "Audio", 0)
|
||||||
await suhu.delete()
|
await suhu.delete()
|
||||||
|
Loading…
Reference in New Issue
Block a user