mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 01:33:42 +01:00
Merge pull request #5864 from DeeJayBro/return-on-error
Fix ArgumentOutOfRangeException when getting PostedPlaybackInfo
This commit is contained in:
commit
ea7c7ea48c
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Reference in a new issue