This commit is contained in:
yasir 2023-02-09 15:25:11 +07:00
parent cf175843d0
commit 3b8d08ae4c
2 changed files with 2 additions and 2 deletions

View file

@ -99,7 +99,7 @@ async def screenshot_flink(c, m):
#print(sec)
ffmpeg_cmd = f"mediaextract -hide_banner -ss {sec} -i {shlex.quote(file_link)} -vframes 1 '{thumbnail_template}'"
output = await run_subprocess(ffmpeg_cmd)
await editPesan(m, f'😀 `{i+1}` of `{num_screenshots}` generated!')
await editPesan(m.message, f'😀 `{i+1}` of `{num_screenshots}` generated!')
if thumbnail_template.exists():
screenshots.append(
InputMediaPhoto(

View file

@ -112,7 +112,7 @@ async def genss_link(client, m):
btns = gen_ik_buttons()
await snt.edit_text(
text=f"Tell me what to do bro 🥳.\n\nTotal duration: `{datetime.timedelta(seconds=duration)}` (`{duration}s`)",
text=f"Now choose how many result for screenshot? 🥳.\n\nTotal duration: `{datetime.timedelta(seconds=duration)}` (`{duration}s`)",
reply_markup=InlineKeyboardMarkup(btns)
)