Escape tmpConcatPath for DVD and BD folder
Signed-off-by: gnattu <gnattuoc@me.com>
This commit is contained in:
parent
8e979bdb4b
commit
2cb74e3dd0
|
@ -1189,8 +1189,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||||
{
|
{
|
||||||
var tmpConcatPath = Path.Join(_configurationManager.GetTranscodePath(), state.MediaSource.Id + ".concat");
|
var tmpConcatPath = Path.Join(_configurationManager.GetTranscodePath(), state.MediaSource.Id + ".concat");
|
||||||
_mediaEncoder.GenerateConcatConfig(state.MediaSource, tmpConcatPath);
|
_mediaEncoder.GenerateConcatConfig(state.MediaSource, tmpConcatPath);
|
||||||
arg.Append(" -f concat -safe 0 -i ")
|
arg.Append(CultureInfo.InvariantCulture, $" -f concat -safe 0 -i \"{tmpConcatPath}\"");
|
||||||
.Append(tmpConcatPath);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user