use logger instead of print for ffmpeg progress
This commit is contained in:
parent
4465c8afd2
commit
ee65222e18
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ async def exec_recorder(playhead):
|
|||
))
|
||||
@ffmpeg.on("progress")
|
||||
def on_progress(progress: Progress):
|
||||
print(progress)
|
||||
logger_discord.info(progress)
|
||||
ffmpeg.execute()
|
||||
logger_discord.info(f'Recording of {video_file} finished.')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue