From dddeea1f7bff45812921eafc113b3b1c5b479054 Mon Sep 17 00:00:00 2001 From: Dan Watson <2922868+theshoeshiner@users.noreply.github.com> Date: Tue, 22 Jul 2025 19:13:01 -0400 Subject: [PATCH] Fix issue with EncodedRecorder streams not showing up under "Active Recordings" (#14357) --- CONTRIBUTORS.md | 1 + src/Jellyfin.LiveTv/IO/EncodedRecorder.cs | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 06c72c6168..c805fd4314 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 c04954207b..be7ff52977 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 {