aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Watson <2922868+theshoeshiner@users.noreply.github.com>2025-07-22 19:13:01 -0400
committerGitHub <noreply@github.com>2025-07-22 17:13:01 -0600
commitdddeea1f7bff45812921eafc113b3b1c5b479054 (patch)
tree19e7f44d82d84651c37a56771f95466bc074cd7e
parenta148a4ad026ee33aacdb34e4fdc997f0b4eede56 (diff)
Fix issue with EncodedRecorder streams not showing up under "Active Recordings" (#14357)
-rw-r--r--CONTRIBUTORS.md1
-rw-r--r--src/Jellyfin.LiveTv/IO/EncodedRecorder.cs4
2 files changed, 5 insertions, 0 deletions
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 06c72c616..c805fd431 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -199,6 +199,7 @@
- [allesmi](https://github.com/allesmi)
- [ThunderClapLP](https://github.com/ThunderClapLP)
- [Shoham Peller](https://github.com/spellr)
+ - [theshoeshiner](https://github.com/theshoeshiner)
# Emby Contributors
diff --git a/src/Jellyfin.LiveTv/IO/EncodedRecorder.cs b/src/Jellyfin.LiveTv/IO/EncodedRecorder.cs
index c04954207..be7ff5297 100644
--- a/src/Jellyfin.LiveTv/IO/EncodedRecorder.cs
+++ b/src/Jellyfin.LiveTv/IO/EncodedRecorder.cs
@@ -73,6 +73,10 @@ namespace Jellyfin.LiveTv.IO
{
_targetPath = targetFile;
Directory.CreateDirectory(Path.GetDirectoryName(targetFile));
+ if (!File.Exists(targetFile))
+ {
+ FileHelper.CreateEmpty(targetFile);
+ }
var processStartInfo = new ProcessStartInfo
{