Merge pull request #11894 from gnattu/escape-concated-path

This commit is contained in:
Cody Robibero 2024-05-31 06:58:00 -06:00 committed by GitHub
commit 26419c64f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1189,8 +1189,9 @@ namespace MediaBrowser.Controller.MediaEncoding
{
var tmpConcatPath = Path.Join(_configurationManager.GetTranscodePath(), state.MediaSource.Id + ".concat");
_mediaEncoder.GenerateConcatConfig(state.MediaSource, tmpConcatPath);
arg.Append(" -f concat -safe 0 -i ")
.Append(tmpConcatPath);
arg.Append(" -f concat -safe 0 -i \"")
.Append(tmpConcatPath)
.Append("\" ");
}
else
{