The Free Software Media System - Server Backend & API
Fix issue with EncodedRecorder streams not showing up under "Active Recordings" (#14357)
Dan Watsondddeea1f7bff
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.mdindex 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 Contributorsdiff --git a/src/Jellyfin.LiveTv/IO/EncodedRecorder.cs b/src/Jellyfin.LiveTv/IO/EncodedRecorder.csindex 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{