mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 17:24:46 +03:00
updated nuget
This commit is contained in:
@@ -50,10 +50,14 @@ namespace MediaBrowser.Model.ApiClient
|
||||
{
|
||||
existing.RemoteAddress = server.RemoteAddress;
|
||||
}
|
||||
if (!existing.IsLocalAddressFixed && !string.IsNullOrEmpty(server.LocalAddress))
|
||||
if (!string.IsNullOrEmpty(server.LocalAddress))
|
||||
{
|
||||
existing.LocalAddress = server.LocalAddress;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(server.ManualAddress))
|
||||
{
|
||||
existing.LocalAddress = server.ManualAddress;
|
||||
}
|
||||
if (!string.IsNullOrEmpty(server.Name))
|
||||
{
|
||||
existing.Name = server.Name;
|
||||
@@ -62,9 +66,9 @@ namespace MediaBrowser.Model.ApiClient
|
||||
{
|
||||
existing.WakeOnLanInfos = server.WakeOnLanInfos.ToList();
|
||||
}
|
||||
if (server.IsLocalAddressFixed)
|
||||
if (server.LastConnectionMode.HasValue)
|
||||
{
|
||||
existing.IsLocalAddressFixed = true;
|
||||
existing.LastConnectionMode = server.LastConnectionMode;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user