diff options
| author | Bond-009 <bond.009@outlook.com> | 2022-09-12 01:56:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-11 17:56:41 -0600 |
| commit | 2d57e71b4446df7274ae3a9bc45421f890c1bdd2 (patch) | |
| tree | 068ffd01de5f027f914c3adb96ece9b50af73240 /Emby.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs | |
| parent | d2e18547b16fa30684d7c9ceb8a117d5d9bcef56 (diff) | |
Don't allow throwing System.Exception (#8378)
Diffstat (limited to 'Emby.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs')
| -rw-r--r-- | Emby.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs b/Emby.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs index 6e05598410..08534de59d 100644 --- a/Emby.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs +++ b/Emby.Server.Implementations/LiveTv/EmbyTV/EncodedRecorder.cs @@ -13,6 +13,7 @@ using System.Threading; using System.Threading.Tasks; using Jellyfin.Extensions; using Jellyfin.Extensions.Json; +using MediaBrowser.Common; using MediaBrowser.Common.Configuration; using MediaBrowser.Controller; using MediaBrowser.Controller.Configuration; @@ -297,7 +298,7 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV else { _taskCompletionSource.TrySetException( - new Exception( + new FfmpegException( string.Format( CultureInfo.InvariantCulture, "Recording for {0} failed. Exit code {1}", |
