mirror of https://github.com/jellyfin/jellyfin.git
Merge pull request #5864 from DeeJayBro/return-on-error
Fix ArgumentOutOfRangeException when getting PostedPlaybackInfo
This commit is contained in:
commit
ea7c7ea48c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue