Merge pull request #11129 from crobibero/extract-concat

Specify file as concat when extracting attachments
pull/11138/head
Bond-009 2 months ago committed by GitHub
commit 9dbef98a15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -139,7 +139,8 @@ namespace MediaBrowser.MediaEncoding.Attachments
var processArgs = string.Format(
CultureInfo.InvariantCulture,
"-dump_attachment:t \"\" -y -i {0} -t 0 -f null null",
"-dump_attachment:t \"\" -y {0} -i {1} -t 0 -f null null",
inputPath.EndsWith(".concat\"", StringComparison.OrdinalIgnoreCase) ? "-f concat -safe 0" : string.Empty,
inputPath);
int exitCode;

Loading…
Cancel
Save