Skip to content

Commit

Permalink
Fixed: URL Base setting for Kodi connections
Browse files Browse the repository at this point in the history
  • Loading branch information
mynameisbogdan committed Mar 3, 2024
1 parent f6529d5 commit 47e647d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/NzbDrone.Core/Notifications/Xbmc/XbmcSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public XbmcSettingsValidator()
{
RuleFor(c => c.Host).ValidHost();
RuleFor(c => c.DisplayTime).GreaterThanOrEqualTo(2);
RuleFor(c => c.UrlBase).ValidUrlBase();
}
}

Expand Down Expand Up @@ -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()
{
Expand Down

0 comments on commit 47e647d

Please sign in to comment.