mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
update suggestions
This commit is contained in:
@@ -83,6 +83,8 @@ namespace Emby.Server.Implementations.Devices
|
||||
{
|
||||
var device = _json.DeserializeFromFile<DeviceInfo>(file);
|
||||
|
||||
device.Name = string.IsNullOrWhiteSpace(device.CustomName) ? device.ReportedName : device.CustomName;
|
||||
|
||||
SaveDevice(device);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
Reference in New Issue
Block a user