-
-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CouchPotato cache scheduler not working #334
Comments
Thats strange, as I didn't make any changes around those areas... |
i'll pull the release and investigate |
I have not seen that. I'll have to see what's going on when I get home from work. |
It appears to be successfully connecting to CP and obtaining the data, but it cannot deserialize the json array properly (using RestSharp) |
Either we have changed a type, or there is a new/changed type that we are not expecting... |
yea, I'm guessing the CP json changed? |
Unlikely if an older version works. Date: Tue, 21 Jun 2016 07:39:53 -0700 yea, I'm guessing the CP json changed? — |
Can you send me the Json response you get? Date: Tue, 21 Jun 2016 07:47:35 -0700 I narrowed it down to the "Info" property of our CP object, not sure which property, but commenting all of them but the tmdb_id fixes the issue: — |
looks like the release_date property is the culprit |
Here's an interesting item I found in the JSON... sometimes the release_date is: "release_date": [] so it can be an array or an object... |
Hmmm... The issue would be that we would then do that for everything... I am working on refactoring the Api stuff because it's horrible to work with. It's either an empty array or an object... well this sounds fun... |
I'm going to add that as a temp workaround for CP in the meantime. check my latest commit, it works like a charm. |
Oh it's done in the request and not the response. Yeah looks good! |
yea, and of course my git screwed up again and committed the entire file(s) instead of just my line changes... so weird. |
Plex Requests.Net Version: 1.8.0
Operating System: Ubuntu 15.10
Mono Version: 4.2.3
Applicable Logs (from
/logs/
directory or the Admin page):Reproduction Steps:
Reset your database so there are no "Requests" anymore. Load up 1.8.0 and setup couchpotato. I have already got Independence Day: Resurgence requested in CP:
Give PR some time to do the caching, check the Scheduled Jobs page and verify it ran the cacher for CP. Then search for Independence Day. You'll see a "Request" button when it should show requested.
This may be happening with Sonarr/SickRage as well, not sure.
The text was updated successfully, but these errors were encountered: