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

View File

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