mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #378 from cvium/fix_dlna_user_id_null
Fix ArgumentNullException in DLNA streams
This commit is contained in:
commit
c13c326171
@ -686,7 +686,7 @@ namespace MediaBrowser.Api.Playback
|
||||
};
|
||||
|
||||
var auth = AuthorizationContext.GetAuthorizationInfo(Request);
|
||||
if (auth.UserId != null)
|
||||
if (!auth.UserId.Equals(Guid.Empty))
|
||||
{
|
||||
state.User = UserManager.GetUserById(auth.UserId);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user