From ad075e8fd8e0a48fa47003f3d23f6fc4eb2897a6 Mon Sep 17 00:00:00 2001 From: xAmarnath <75058759+xAmarnath@users.noreply.github.com> Date: Sun, 5 May 2024 14:24:54 +0530 Subject: [PATCH] debug 1 --- modules/custdl.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/custdl.py b/modules/custdl.py index f8434f3..f2bd067 100644 --- a/modules/custdl.py +++ b/modules/custdl.py @@ -273,6 +273,7 @@ async def download_x(e): ffmpeg_command = generate_ffmpeg_command(f"{out_folder}/{out_filename}", subs_urls) await ms.edit("Merging subs...") + print("FFMPEG CMD: "+" ".join(ffmpeg_command)) (await create_subprocess_shell(" ".join(ffmpeg_command))).wait() # os.remove(f"{out_folder}/{out_filename}") @@ -280,7 +281,7 @@ async def download_x(e): await ms.edit(f"Downloaded {out_filename} in {time.time() - t:.2f} seconds.", buttons=[[Button.inline("Back", data=f"episode_{series_id}_{season_index}_{episode_index}_{category}_{season_index}_{episode_index}")], [Button.url("Index Link", f"{SERVIO_TEMP}")]]) - await remove(f"{out_folder}/{out_filename}") + # await remove(f"{out_folder}/{out_filename}") # move the file to downloads folder