Kodi GetMovies fails due to Parameter Type

pull/4037/head
Mark McDowall 4 years ago
parent 3a8522e92f
commit 427ce17e6e

@ -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;

@ -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;
} }

Loading…
Cancel
Save