mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 04:59:35 -07:00
Fixed: URL Base setting for Kodi connections
This commit is contained in:
parent
f6529d5ad3
commit
47e647ddb1
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
||||||
{
|
{
|
||||||
RuleFor(c => c.Host).ValidHost();
|
RuleFor(c => c.Host).ValidHost();
|
||||||
RuleFor(c => c.DisplayTime).GreaterThanOrEqualTo(2);
|
RuleFor(c => c.DisplayTime).GreaterThanOrEqualTo(2);
|
||||||
|
RuleFor(c => c.UrlBase).ValidUrlBase();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -65,7 +66,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
|
||||||
public bool AlwaysUpdate { get; set; }
|
public bool AlwaysUpdate { get; set; }
|
||||||
|
|
||||||
[JsonIgnore]
|
[JsonIgnore]
|
||||||
public string Address => $"{Host.ToUrlHost()}:{Port}";
|
public string Address => $"{Host.ToUrlHost()}:{Port}{UrlBase}";
|
||||||
|
|
||||||
public NzbDroneValidationResult Validate()
|
public NzbDroneValidationResult Validate()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue