Skip to content

Commit

Permalink
fix(client): Guard for missing ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
bendikrb committed Oct 20, 2024
1 parent 2008144 commit 1dbdab9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions podme_api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,9 @@ async def transcode_file(
)
try:
await ffmpeg.execute()
except FileNotFoundError as err:
_LOGGER.warning("Error occurred while transcoding file: %s", err)
return input_file
except FFmpegError as err:
_LOGGER.warning("Error occurred while transcoding file: %s", err)
return input_file
Expand Down

0 comments on commit 1dbdab9

Please sign in to comment.