Radarr: Discover New Movies -> Upcoming not working

Created on 22 Nov 2018  路  4Comments  路  Source: Radarr/Radarr

I'm not sure whether this is a Radarr bug or a backend API bug, but the data being returned by the backend seems sane as far as I can tell so I'm filing this under the client.

Describe the bug
When selecting the "Upcoming" tab from the Discover New Movies page the result returned is blank and a JSON serialization error appears in the logs (see below for full trace log).

To Reproduce
Steps to reproduce the behavior:

  1. Open Radarr interface
  2. Click on "Add Movies"
  3. Click on "Discover New Movies"
  4. Click on "Upcoming"
  5. See "No Movies Left To Discover. Come Back At Another Time :)"

Expected behavior
Radarr should be displaying the list of five movies being returned by the server. When I query the URL referenced in the debug log (https://api.radarr.video/v2/discovery/upcoming) with a browser directly it returns a JSON document that validates and seems to contain reasonable data, but for some reason the Radarr client is unhappy with it.

Desktop (please complete the following information):

  • OS: Ubuntu Linux 18.04 LTS
  • Mono Version: 5.10.1.20 (tarball Thu Mar 29 10:48:35 UTC 2018)
  • Browser and Version: Chrome 71 on Windows 10
  • Version: 0.2.0.1217

Debug Logs

18-11-22 14:44:30.9|Trace|Http|Req: 53 [GET] /api/movies/discover/upcoming
18-11-22 14:44:30.9|Trace|Owin|SQLite warning (284): automatic index on AlternativeTitles(MovieId)

18-11-22 14:44:30.9|Trace|Owin|SQLite warning (284): automatic index on MovieFiles(MovieId)

18-11-22 14:44:31.1|Trace|HttpClient|Req: [POST] https://api.radarr.video/v2/discovery/upcoming
18-11-22 14:44:31.1|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False'
18-11-22 14:44:31.3|Trace|HttpClient|Res: [POST] https://api.radarr.video/v2/discovery/upcoming: 200.OK (145 ms)
18-11-22 14:44:31.3|Error|SkyHookProxy|Failed to discover movies for action upcoming!

[v0.2.0.1217] Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON object (e.g. {"name":"value"}) into type 'System.Collections.Generic.List`1[NzbDrone.Core.MetadataSource.SkyHook.Resource.MovieResult]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly.
To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object.
Path '0', line 1, position 5.
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00375] in <5e099fb6434a463a960f4009caf8abae>:0
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <5e099fb6434a463a960f4009caf8abae>:0
  at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000dd] in <5e099fb6434a463a960f4009caf8abae>:0
  at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00057] in <5e099fb6434a463a960f4009caf8abae>:0
  at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <5e099fb6434a463a960f4009caf8abae>:0
  at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <5e099fb6434a463a960f4009caf8abae>:0
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <5e099fb6434a463a960f4009caf8abae>:0
  at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value) [0x00000] in <5e099fb6434a463a960f4009caf8abae>:0
  at NzbDrone.Core.MetadataSource.RadarrAPI.RadarrAPIClient.Execute[T] (NzbDrone.Common.Http.HttpRequest request) [0x00070] in C:\projects\radarr-usby1\src\NzbDrone.Core\MetadataSource\RadarrAPI\RadarrAPIClient.cs:91
  at NzbDrone.Core.MetadataSource.RadarrAPI.RadarrAPIClient.DiscoverMovies (System.String action, System.Func`2[T,TResult] enhanceRequest) [0x00038] in C:\projects\radarr-usby1\src\NzbDrone.Core\MetadataSource\RadarrAPI\RadarrAPIClient.cs:103
  at NzbDrone.Core.MetadataSource.SkyHook.SkyHookProxy.DiscoverNewMovies (System.String action) [0x000a2] in C:\projects\radarr-usby1\src\NzbDrone.Core\MetadataSource\SkyHook\SkyHookProxy.cs:363

18-11-22 14:44:31.3|Trace|Http|Res: 53 [GET] /api/movies/discover/upcoming: 200.OK (395 ms)
18-11-22 14:44:31.3|Debug|Api|[GET] /api/movies/discover/upcoming: 200.OK (395 ms)

Most helpful comment

API now appears to be returning an empty result which I find surprising. Is that expected?

https://api.radarr.video/v2/discovery/upcoming

All 4 comments

Hello,

I'm having the same issue, is there any solutions?

Thanks.

This should be fixed in a few hours. BTW. if the discovery returns something in your browser, that doesn't mean it should return something for you in Radarr. Radarr will automatically filter out any movies that you already have.

API now appears to be returning an empty result which I find surprising. Is that expected?

https://api.radarr.video/v2/discovery/upcoming

Hello guys,

API still seems to be returning an empty result when querying for upcoming/popular movies?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Silent-Remux picture Silent-Remux  路  4Comments

jurpeedurp picture jurpeedurp  路  3Comments

danielb2 picture danielb2  路  3Comments

codaamok picture codaamok  路  3Comments

willmonahan picture willmonahan  路  4Comments