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

Fix ArgumentOutOfRangeException when getting PostedPlaybackInfo
pull/6318/head
Bond-009 3 years ago committed by GitHub
commit ea7c7ea48c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save