From 0ad62e7af93934ef0695891bd6a6adda67feb6ff Mon Sep 17 00:00:00 2001 From: DeeJayBro Date: Fri, 16 Jul 2021 11:48:08 +0200 Subject: [PATCH] Fix ArgumentOutOfRangeException when getting PostedPlaybackInfo --- Jellyfin.Api/Controllers/MediaInfoController.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Jellyfin.Api/Controllers/MediaInfoController.cs b/Jellyfin.Api/Controllers/MediaInfoController.cs index e330f02b61..672c26ff8d 100644 --- a/Jellyfin.Api/Controllers/MediaInfoController.cs +++ b/Jellyfin.Api/Controllers/MediaInfoController.cs @@ -161,6 +161,11 @@ namespace Jellyfin.Api.Controllers liveStreamId) .ConfigureAwait(false); + if (info.ErrorCode != null) + { + return info; + } + if (profile != null) { // set device specific data