Kodi GetMovies fails due to Parameter Type
This commit is contained in:
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…
Reference in New Issue