This commit is contained in:
levina 2022-01-25 14:39:05 +07:00 committed by GitHub
parent 24010eaadd
commit 6a213c3ae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ def song(_, message):
info_dict = ydl.extract_info(link, download=False) info_dict = ydl.extract_info(link, download=False)
audio_file = ydl.prepare_filename(info_dict) audio_file = ydl.prepare_filename(info_dict)
ydl.process_info(info_dict) ydl.process_info(info_dict)
rep = f"**🎧 Uploader @{bn}**" rep = f"• uploader @{bn}"
secmul, dur, dur_arr = 1, 0, duration.split(":") secmul, dur, dur_arr = 1, 0, duration.split(":")
for i in range(len(dur_arr) - 1, -1, -1): for i in range(len(dur_arr) - 1, -1, -1):
dur += int(float(dur_arr[i])) * secmul dur += int(float(dur_arr[i])) * secmul