mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 05:57:20 -04:00
update dlna default user
This commit is contained in:
parent
7c6ebe9b21
commit
ef490818d7
1 changed files with 2 additions and 1 deletions
|
@ -126,7 +126,8 @@ namespace Emby.Dlna.ContentDirectory
|
|||
}
|
||||
|
||||
// No configuration so it's going to be pretty arbitrary
|
||||
return _userManager.Users.First();
|
||||
return _userManager.Users.FirstOrDefault(i => i.Policy.IsAdministrator) ??
|
||||
_userManager.Users.First();
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue