mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
fix album save in metadata manager
This commit is contained in:
parent
deb6e5a2ee
commit
3e442e0df4
5 changed files with 46 additions and 15 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue