1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

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.Net.Sockets;
using FluentValidation.Results;

View File

@ -59,7 +59,7 @@ public List<ActivePlayer> GetActivePlayers(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;
}