Ignores in exiftool read descriptions

This commit is contained in:
tusooa 2023-02-11 00:30:52 -05:00
commit 024bb27fc7
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
4 changed files with 31 additions and 1 deletions

View file

@ -33,7 +33,10 @@ defmodule Pleroma.Upload.Filter.Exiftool.ReadDescription do
defp read_when_empty(_, file, tag) do
try do
{tag_content, 0} =
System.cmd("exiftool", ["-b", "-s3", tag, file], stderr_to_stdout: true, parallelism: true)
System.cmd("exiftool", ["-b", "-s3", tag, file],
stderr_to_stdout: false,
parallelism: true
)
tag_content = String.trim(tag_content)