diff --git a/src/NzbDrone.Core/Notifications/Xbmc/XbmcJsonApiProxy.cs b/src/NzbDrone.Core/Notifications/Xbmc/XbmcJsonApiProxy.cs index 3d3bd5b19..bb2359fdc 100644 --- a/src/NzbDrone.Core/Notifications/Xbmc/XbmcJsonApiProxy.cs +++ b/src/NzbDrone.Core/Notifications/Xbmc/XbmcJsonApiProxy.cs @@ -40,7 +40,16 @@ namespace NzbDrone.Core.Notifications.Xbmc public string UpdateLibrary(XbmcSettings settings, string path) { - var response = ProcessRequest(settings, "AudioLibrary.Scan", path); + string response; + + if (path == null) + { + response = ProcessRequest(settings, "AudioLibrary.Scan"); + } + else + { + response = ProcessRequest(settings, "AudioLibrary.Scan", path); + } return Json.Deserialize>(response).Result; }