Skip to content

Commit

Permalink
try to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Dec 8, 2024
1 parent 4743117 commit 240f354
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bot/helper/aeon_utils/ffmpeg_s.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ async def progress(self, status: str = ""):
):
if not self._duration:
self._duration = (await get_media_info(self.path))[0]
LOGGER.info(progress["time"])
hh, mm, sms = progress["time"].split(":")
time_to_second = (int(hh) * 3600) + (int(mm) * 60) + float(sms)
self._processed_bytes = int(progress["size"].rstrip("kB")) * 1024
Expand Down

0 comments on commit 240f354

Please sign in to comment.