|
|
|
@ -14,6 +14,7 @@ using MediaBrowser.Common.Extensions;
|
|
|
|
|
using MediaBrowser.Controller.Entities;
|
|
|
|
|
using MediaBrowser.Controller.Library;
|
|
|
|
|
using MediaBrowser.Controller.MediaEncoding;
|
|
|
|
|
using MediaBrowser.MediaEncoding.Encoder;
|
|
|
|
|
using MediaBrowser.Model.Dto;
|
|
|
|
|
using MediaBrowser.Model.Entities;
|
|
|
|
|
using MediaBrowser.Model.IO;
|
|
|
|
@ -317,10 +318,10 @@ namespace MediaBrowser.MediaEncoding.Attachments
|
|
|
|
|
|
|
|
|
|
var processArgs = string.Format(
|
|
|
|
|
CultureInfo.InvariantCulture,
|
|
|
|
|
"-dump_attachment:{1} {2} -i {0} -t 0 -f null null",
|
|
|
|
|
"-dump_attachment:{1} \"{2}\" -i {0} -t 0 -f null null",
|
|
|
|
|
inputPath,
|
|
|
|
|
attachmentStreamIndex,
|
|
|
|
|
outputPath);
|
|
|
|
|
EncodingUtils.NormalizePath(outputPath));
|
|
|
|
|
|
|
|
|
|
int exitCode;
|
|
|
|
|
|
|
|
|
|