1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-20 01:42:35 +01:00

Fixed: URL Base setting for Kodi connections

This commit is contained in:
Bogdan 2024-03-03 13:44:47 +02:00
parent 0a5a4e0a6f
commit 2286055d6a

View File

@ -14,6 +14,7 @@ public XbmcSettingsValidator()
{
RuleFor(c => c.Host).ValidHost();
RuleFor(c => c.DisplayTime).GreaterThanOrEqualTo(2);
RuleFor(c => c.UrlBase).ValidUrlBase();
}
}
@ -65,7 +66,7 @@ public XbmcSettings()
public bool AlwaysUpdate { get; set; }
[JsonIgnore]
public string Address => $"{Host.ToUrlHost()}:{Port}";
public string Address => $"{Host.ToUrlHost()}:{Port}{UrlBase}";
public NzbDroneValidationResult Validate()
{