Kodi GetMovies fails due to Parameter Type

This commit is contained in:
Mark McDowall 2020-10-18 17:47:37 -07:00
parent 3a8522e92f
commit 427ce17e6e
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Net.Sockets; using System.Net.Sockets;
using FluentValidation.Results; using FluentValidation.Results;

View File

@ -59,7 +59,7 @@ namespace NzbDrone.Core.Notifications.Xbmc
public List<TvShow> GetSeries(XbmcSettings settings) public List<TvShow> GetSeries(XbmcSettings settings)
{ {
var response = ProcessRequest(settings, "VideoLibrary.GetMovies", new[] { "file", "imdbnumber" }); var response = ProcessRequest(settings, "VideoLibrary.GetTvShows", new List<string> { "file", "imdbnumber" });
return Json.Deserialize<TvShowResponse>(response).Result.TvShows; return Json.Deserialize<TvShowResponse>(response).Result.TvShows;
} }