mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
update dlna default user
This commit is contained in:
parent
7c6ebe9b21
commit
ef490818d7
@ -126,7 +126,8 @@ namespace Emby.Dlna.ContentDirectory
|
|||||||
}
|
}
|
||||||
|
|
||||||
// No configuration so it's going to be pretty arbitrary
|
// 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()
|
public void Dispose()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user