Browse Source

Merge pull request #6588 from Bond-009/escape

Fix issue #6587
Claus Vium 3 years ago
parent
commit
b4c0518001
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Emby.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs

+ 1 - 1
Emby.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs

@@ -188,7 +188,7 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV
                 CultureInfo.InvariantCulture,
                 "-i \"{0}\" {2} -map_metadata -1 -threads {6} {3}{4}{5} -y \"{1}\"",
                 inputTempFile,
-                targetFile,
+                targetFile.Replace("\"", "\\\""), // Escape quotes in filename
                 videoArgs,
                 GetAudioArgs(mediaSource),
                 subtitleArgs,