(2012-04-28, 07:36)war2die4 Wrote: Hi im having trouble with my instant queue, the tv shows dont show up unless I have the max items retrieved set to 200 which would be fine except its not retrieving all the tv shows or movies, most but not all. If I have it set to anything higher it just wont retrieve anything at all tv or movies and if set lower it gets movies but no tv shows. From what I can tell everything else works.
Im using eden.
I'm confirming similar issues with the Recently Watched queue. My Instant Queue is relatively small, so I haven't tested with this...but basically I have the same issue with Recently Watched...if I set it around 350 or so I have a high success rate with enumerating my episodes.
I am 99.9% sure this is actually a Netflix issue, and I say this for several reasons:
1) This was working without a problem on XBMC 11 with the same XBMCFlicks release just last week. Nothing has changed there.
2) I did a bunch of various tests with packet captures and the max items set to different values. I got the following response from the Netflix server on a rental_history/watched query:
After about 10 seconds of waiting with the max items set to 500:
{"error":true,"status":{"status_code":504,"message":"Gateway timeout"}}
or
{"status": {"message": "Filter threw Exception"}}
There have been some issues over the last couple weeks with various developers having problems with the API:
http://developer.netflix.com/forum/read/155908
So, this seems to be an issue with Netflix's servers either not being able to handle the load, improperly configured, or else they have been messing with the API code without proper quality control.
I have tested viewing my entire history from the Netflix site and it works - I can only assume they use the same APIs internally - so perhaps it is a network problem with their external servers (hence the Gateway Timeouts).
I think right now the only fix is to adjust the values down to lower numbers to prevent these problems. Unfortunately, for people with very large instant queues this is going to be a problem.
Also, this error doesn't happen 100% of the time...I can get it to enumerate larger sets if I keep retrying...but maybe a 10% rate if I try as many as 500.
At this point let's hope that Netflix gets their act together and fixes whatever is wrong. There is a technical fix for this, but I'm not good enough to implement it on my own...
Basically XBMCFlicks is requesting the full queue at a time...so that mean if your max results is set to 500, it will ask for 500. There is a way via the API to say send me 100 starting at 1, 100 starting at 101, 100 starting at 201, etc...until you get them all. I hope that Netflix is not going to require that.
I'd be curious as to others experiencing this problem with large Instant Queues if you have other Netflix devices (like XBOX, ROKU, etc) if you are also having problems. If not...I suspect those devices use an iterative query through the queue like mentioned above.
UPDATE: I did some more digging and it appears that the timeouts are coming from Mashery's servers. They seem to be the infrastructure that the Netflix API is built on, and serve as some sort of proxy. I have contacted their tech support to get some more information as to why this is occurring.
(2012-04-28, 21:57)tcat Wrote: (2012-02-14, 04:04)xekon Wrote: the check marks that show which episodes you watched are not saving between restarts, so it only remembers which netflix episodes i've seen until i turn the computer off or reboot it, then nothing is checked.
could this be a file permissions problem or something? what should i check first?
Does anyone know why this is happening? I am having the same problem since upgrading to eden. It worked fine previously. I have searched the database and cannot find a fix anywhere.
any info would be appreciated
thanks
Tcat
I have confirmed this is an issue as well. Works in Dharma, not in Eden. I've done a bit of research today as to the problem but I'm going to have to ask some developers who are smarter than me...
You will also find that the "W" key which toggles episodes watched or not is also not working.
The actual table in the .db file is being properly updated when an episode is watched, but this information is not being read back out.
My fear is that something in Eden has changed and the .html file links that XBMCFlicks generates are not being parsed anymore. If this is the case, there might not be much that can be done via the Add-on, and some changes might be required to XBMC. I will update back with what I find out.