|
|
@ -42,7 +42,7 @@ namespace NzbDrone.Core.NetImport.StevenLu
|
|
|
|
return movies;
|
|
|
|
return movies;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
var jsonResponse = JsonConvert.DeserializeObject<StevenLuResponse>(_importResponse.Content);
|
|
|
|
var jsonResponse = JsonConvert.DeserializeObject<List<StevenLuResponse>>(_importResponse.Content);
|
|
|
|
|
|
|
|
|
|
|
|
// no movies were return
|
|
|
|
// no movies were return
|
|
|
|
if (jsonResponse == null)
|
|
|
|
if (jsonResponse == null)
|
|
|
@ -50,7 +50,7 @@ namespace NzbDrone.Core.NetImport.StevenLu
|
|
|
|
return movies;
|
|
|
|
return movies;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
foreach (var item in jsonResponse.Movie)
|
|
|
|
foreach (var item in jsonResponse)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
movies.AddIfNotNull(new Tv.Movie()
|
|
|
|
movies.AddIfNotNull(new Tv.Movie()
|
|
|
|
{
|
|
|
|
{
|
|
|
|