Backport pull request #11894 from jellyfin/release-10.9.z

Escape tmpConcatPath for DVD and BD folder

Original-merge: 26419c64f5

Merged-by: crobibero <cody@robibe.ro>

Backported-by: Joshua M. Boniface <joshua@boniface.me>
pull/11877/head
gnattu 6 months ago committed by Joshua M. Boniface
parent 0d0a2b4d58
commit 4fa3c30df2

@ -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
{

Loading…
Cancel
Save