Merge pull request #5864 from DeeJayBro/return-on-error

Fix ArgumentOutOfRangeException when getting PostedPlaybackInfo
This commit is contained in:
Bond-009 2021-07-17 20:54:07 +02:00 committed by GitHub
commit ea7c7ea48c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,6 +161,11 @@ namespace Jellyfin.Api.Controllers
liveStreamId)
.ConfigureAwait(false);
if (info.ErrorCode != null)
{
return info;
}
if (profile != null)
{
// set device specific data