From e0c42831dd2bbcc397d8018bebd2ceb0246cb553 Mon Sep 17 00:00:00 2001 From: Andrew Marshall Date: Sat, 13 Sep 2025 21:34:43 -0400 Subject: [PATCH] frigate: fix incorrect patch for ffmpeg path This called on the class, so got the `property`, whereas we need to call on the instance. Without this, get `TypeError: expected str, bytes or os.PathLike object, not property`. --- pkgs/by-name/fr/frigate/ffmpeg.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/by-name/fr/frigate/ffmpeg.patch b/pkgs/by-name/fr/frigate/ffmpeg.patch index 9a91f6ed74b6..e5e7c44121ae 100644 --- a/pkgs/by-name/fr/frigate/ffmpeg.patch +++ b/pkgs/by-name/fr/frigate/ffmpeg.patch @@ -41,7 +41,7 @@ index 0d3f96da..463bcff4 100644 seconds = int(diff % 60) ffmpeg_cmd = [ - "/usr/lib/ffmpeg/7.0/bin/ffmpeg", # hardcode path for exports thumbnail due to missing libwebp support -+ FfmpegConfig.ffmpeg_path, # hardcode path for exports thumbnail due to missing libwebp support ++ self.config.ffmpeg.ffmpeg_path, # hardcode path for exports thumbnail due to missing libwebp support "-hide_banner", "-loglevel", "warning",