From 427ce17e6ee28ce34b84959080250db59c142a66 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 18 Oct 2020 17:47:37 -0700 Subject: [PATCH] Kodi GetMovies fails due to Parameter Type --- src/NzbDrone.Core/Notifications/Xbmc/Xbmc.cs | 2 +- src/NzbDrone.Core/Notifications/Xbmc/XbmcJsonApiProxy.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Notifications/Xbmc/Xbmc.cs b/src/NzbDrone.Core/Notifications/Xbmc/Xbmc.cs index 713dce2c8..9c28840ba 100644 --- a/src/NzbDrone.Core/Notifications/Xbmc/Xbmc.cs +++ b/src/NzbDrone.Core/Notifications/Xbmc/Xbmc.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Net.Sockets; using FluentValidation.Results; diff --git a/src/NzbDrone.Core/Notifications/Xbmc/XbmcJsonApiProxy.cs b/src/NzbDrone.Core/Notifications/Xbmc/XbmcJsonApiProxy.cs index f8b4493dd..bc40be5ea 100644 --- a/src/NzbDrone.Core/Notifications/Xbmc/XbmcJsonApiProxy.cs +++ b/src/NzbDrone.Core/Notifications/Xbmc/XbmcJsonApiProxy.cs @@ -59,7 +59,7 @@ namespace NzbDrone.Core.Notifications.Xbmc public List GetSeries(XbmcSettings settings) { - var response = ProcessRequest(settings, "VideoLibrary.GetMovies", new[] { "file", "imdbnumber" }); + var response = ProcessRequest(settings, "VideoLibrary.GetTvShows", new List { "file", "imdbnumber" }); return Json.Deserialize(response).Result.TvShows; }