2013-03-09, 04:23
(2013-02-24, 05:06)verheek Wrote:(2013-02-23, 21:27)kiler129 Wrote: "Genres" tab is also working but it's painfully slow - loading one genre took more than 40 seconds. Also results aren't cached. Getting whole genre is also a bad practice I think - it contain a lot of data.
It's interesting bcs I think all comercial devices like Roku uses this API and works smooth - any idea how? I think I should start from basics - API testing
My impression is the code could be optimized. There are some rules about what you are allowed to keep and how long in the developer agreement. Not sure if it applies to catalogs too or just user data. But I noticed that new auth and new results are done everytime(?) a menu item is selected.
I started with the "latest" netflix.py from http://code.google.com/p/pyflix/ and then have been rewriting iqueue.py and menu.py to use the updated library based on example code in example.py from the same google code site. It was last updated in 2009 but reading over the api, not a lot has changed but the code needs to be updated a bit for version 2 of the api and made more robust with exception handling. Version 2 mostly just improves catalog searches and allows for batching calls. Also rental and @Home need to be removed as they are no longer available and some other feed endpoints were removed too.
Hi Verheek, would it be possible for you to upload a more-up-to-date version of this plugin?