diff options
| author | DeeJayBro <maricrafterminecraft@gmail.com> | 2021-07-16 11:48:08 +0200 |
|---|---|---|
| committer | DeeJayBro <maricrafterminecraft@gmail.com> | 2021-07-16 11:48:08 +0200 |
| commit | 0ad62e7af93934ef0695891bd6a6adda67feb6ff (patch) | |
| tree | 8f9e31cdae362f6f75d281da034b6964f2adf773 /Jellyfin.Api/Controllers/MediaInfoController.cs | |
| parent | 4eeb69233d62d8ea8774acc440c43bef8a5a56fe (diff) | |
Fix ArgumentOutOfRangeException when getting PostedPlaybackInfo
Diffstat (limited to 'Jellyfin.Api/Controllers/MediaInfoController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/MediaInfoController.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Jellyfin.Api/Controllers/MediaInfoController.cs b/Jellyfin.Api/Controllers/MediaInfoController.cs index e330f02b6..672c26ff8 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 |
