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:
parent
3a8522e92f
commit
427ce17e6e
@ -1,4 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net.Sockets;
|
||||
using FluentValidation.Results;
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user