Fix Exiftool stderr being read as an image description #782

Merged
floatingghost merged 1 commit from norm/akkoma:fix-exiftool-description into develop 2024-05-26 16:11:13 +00:00
Showing only changes of commit c2d3221be3 - Show all commits

View file

@ -33,8 +33,7 @@ defp read_when_empty(current_description, _, _) when is_binary(current_descripti
defp read_when_empty(_, file, tag) do
try do
{tag_content, 0} =
System.cmd("exiftool", ["-b", "-s3", tag, file],
stderr_to_stdout: true,
System.cmd("exiftool", ["-b", "-s3", "-ignoreMinorErrors", "-q", "-q", tag, file],
parallelism: true
)