diff --git a/program/music.py b/program/music.py index a05b7e8..a635c5c 100644 --- a/program/music.py +++ b/program/music.py @@ -205,7 +205,7 @@ async def play(c: Client, m: Message): ), stream_type=StreamType().local_stream, ) - add_to_queue(chat_id, songname, ytlink, url, "Audio", 0) + add_to_queue(chat_id, songname, ytlink, url, image, duration, "Audio", 0) await suhu.delete() requester = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})" await m.reply_photo( @@ -264,7 +264,7 @@ async def play(c: Client, m: Message): ), stream_type=StreamType().local_stream, ) - add_to_queue(chat_id, songname, ytlink, url, "Audio", 0) + add_to_queue(chat_id, songname, ytlink, url, image, duration, "Audio", 0) await suhu.delete() requester = f"[{m.from_user.first_name}](tg://user?id={m.from_user.id})" await m.reply_photo(