mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-16 15:16:41 +00:00
fix album save in metadata manager
This commit is contained in:
@@ -233,6 +233,12 @@ namespace MediaBrowser.Server.Implementations.Devices
|
||||
}
|
||||
|
||||
var user = _userManager.GetUserById(userId);
|
||||
|
||||
if (user == null)
|
||||
{
|
||||
throw new ArgumentException("user not found");
|
||||
}
|
||||
|
||||
if (!CanAccessDevice(user.Policy, deviceId))
|
||||
{
|
||||
var capabilities = GetCapabilities(deviceId);
|
||||
|
||||
Reference in New Issue
Block a user