Kodi Community Forum
[RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC (/showthread.php?tid=87552)



RE: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon - verheek - 2013-02-22

(2013-02-22, 01:48)kiler129 Wrote: Ok, I've tried - all this is a crap, sry. Digging into debug logs, copying some keys which finally doesn't event work and print hundreds lines of errors and useless trackbacks.

If I, as a programmer, can't figure out how to run this s.... who could?

Well there are levels of programmers...lol

Seriously, welcome to undeveloped plugin land. Developer isn't developing anymore and things have changed.
Put on your Python hat, learn the netflix API and xbmc plugin and release 1.0.24 or later for us all.

The contents entered into userinfo.txt do work as many will attest.


RE: [RELEASE] XBMC Fli - kiler129 - 2013-02-22

I know state of this plugin but staring from scratch is very annoying, so I planned to rearrange existing code and improve it. Unfortunately I can't even run existing code which is little frustrating.
Honestly I didn't have enough time to dig into nfx api documentation. Maybe 403 is returned due to exceeded number of paired devices?


RE: [RELEASE] XBMC Fli - verheek - 2013-02-22

(2013-02-22, 02:52)kiler129 Wrote: I know state of this plugin but staring from scratch is very annoying, so I planned to rearrange existing code and improve it. Unfortunately I can't even run existing code which is little frustrating.
Honestly I didn't have enough time to dig into nfx api documentation. Maybe 403 is returned due to exceeded number of paired devices?

Don't think so.

Application:xbmcflicks2
Key: 9gmtqvwwpagbh7hq56shftrd
Shared Secret: UEnJ7yWQxY
Status: active
Registered: 3 weeks ago

Key Rate Limits
10 Calls per second
25,000 Calls per day

Starting from scratch isn't necessary. I've done a bunch of research and crash Python learning myself. The API pages do need a read through to understand netflix.py . I copied the latest version (2009) from github http://code.google.com/p/pyflix/ This breaks iqueue.py in some places as the functions in netflix.py have changed.
You can use example.py to rewrite some functions in iqueue.py and play with the api output. I pretty much have recommended queue done as I was interested in that but you need to have rated some movies for stuff to show up.

Also, a lot of functions need exception wrappers so there is more feedback about what is wrong in the log and basic feedback to the user.

In the fall of 2012 they made some changes and removed the rental stuff. check http://developer.netflix.com/ for more. This year version 2 of the api was released into preview. It's backwards compatible but who knows how long.

This page http://kentbrewster.com/netflix-api-explorer/ can be used to explorer the no authentication required aspects of the API. you need to add ' -public' to the URL though. Use the key/secret supplied previously for iqueue.py to make it go.

There is a list of Netflix error codes in the developer area of Netflix. http://developer.netflix.com/docs/read/HTTP_Status_Codes
403 applies to all feeds and means 'invalid token'. ie incorrect authentication

The library used to read the server response from netflix when authenticating throws and exception when it receives a non-standard response from the server. I have seen request used elsewhere on the web which is more granular than perhaps httplib . This would fix the auth script error after the browser is closed.


RE: - kiler129 - 2013-02-22

I was talking not about API limits but devices limit - is applications counted as next device?
I've tried to use data you provided but no lucky:

Code:
15:12:32 T:4622651392  NOTICE: couldn't load user information from userinfo.txt file
15:12:32 T:4622651392  NOTICE: .. getAuth called ..
15:12:32 T:4622651392  NOTICE: OSX Setting is set to: True
15:12:32 T:4622651392  NOTICE: .. user configured ..
15:12:35 T:4622651392  NOTICE: Token did not contain any errors
15:12:35 T:4622651392  NOTICE: Authorize user access here: https://api-user.netflix.com/oauth/login?application_name=xbmcflicks2&oauth_consumer_key=9gmtqvwwpagbh7hq56shftrd&oauth_token=XXXXXXXXXXXXXXXXXXXXXXXX
15:12:35 T:4622651392  NOTICE: and then put this key / secret in MY_USER.request:
                                             'key': 'XXXXXXXXXXXXXXXXXXXXXXXX',
                                             'secret': 'YYYYYYYYYYYY'
15:12:35 T:4622651392  NOTICE: and run again.
15:12:35 T:4622651392  NOTICE: open /Applications/Firefox.app 'https://api-user.netflix.com/oauth/login?application_name=xbmcflicks2&oauth_consumer_key=9gmtqvwwpagbh7hq56shftrd&oauth_token=XXXXXXXXXXXXXXXXXXXXXXXX'
ca15:14:11 T:4622651392  NOTICE: The dialog was displayed, hopefully you read the text and waited until you authorized it before clicking ok.
15:14:11 T:4622651392  NOTICE: user key set to: XXXXXXXXXXXXXXXXXXXXXXXX
15:14:11 T:4622651392  NOTICE: user secret set to: YYYYYYYYYYYY
15:14:11 T:4622651392   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'httplib.BadStatusLine'>
                                            Error Contents:
                                            Traceback (most recent call last):
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/default.py", line 26, in <module>
                                                import resources.lib.menu as menu
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/resources/lib/menu.py", line 502, in <module>
                                                getInstantQueue()
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/resources/lib/iqueue.py", line 2838, in getInstantQueue
                                                initApp()
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/resources/lib/iqueue.py", line 2833, in initApp
                                                user = getAuth(netflixClient,VERBOSE_USER_LOG)
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/resources/lib/iqueue.py", line 1154, in getAuth
                                                tok = netflix.user.getAccessToken( MY_USER['request'] )
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/resources/lib/Netflix.py", line 74, in getAccessToken
                                                response = client.connection.getresponse()
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/httplib.py", line 986, in getresponse
                                                response.begin()
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/httplib.py", line 391, in begin
                                                version, status, reason = self._read_status()
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/httplib.py", line 355, in _read_status
                                                raise BadStatusLine(line)
                                            BadStatusLine
                                            -->End of Python script error report<--
15:14:11 T:140735233872256   ERROR: GetDirectory - Error getting plugin://plugin.video.xbmcflicks/?mode=10
15:14:11 T:140735233872256   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.xbmcflicks/?mode=10) failed
15:14:11 T:4622651392  NOTICE: Thread XBPyThread start, auto delete: false
15:14:11 T:4622651392  NOTICE: -->Python Interpreter Initialized<--

Next I entered X's and Y's as follow to the userinfo.txt file:
Code:
requestKey=XXXXXXXXXXXXXXXXXXXXXXXX
requestSecret=YYYYYYYYYYYY
accessKey=XXXXXXXXXXXXXXXXXXXXXXXX
accessSecret=YYYYYYYYYYYY

After restarting XBMC and trying to list instant queue log isn't optimistic at all:
Code:
15:15:52 T:4654546944  NOTICE: USER INFO FILE LOC: /Users/test/Library/Application Support/XBMC/userdata/addon_data/plugin.video.xbmcflicks/userinfo.txt
15:15:52 T:4654546944  NOTICE: matched file contents, it is in the correct format
15:15:52 T:4654546944  NOTICE: finished loading up user information from file
15:15:52 T:4654546944  NOTICE: .. getAuth called ..
15:15:52 T:4654546944  NOTICE: OSX Setting is set to: True
15:15:52 T:4654546944  NOTICE: .. user configured ..
15:15:52 T:4654546944  NOTICE: *** What's in the Instant Queue? ***
15:15:52 T:4654546944  NOTICE: params: {'max_results': '75'}
15:15:52 T:4654546944  NOTICE: http://api-public.netflix.com/users/XXXXXXXXXXXXXXXXXXXXXXXX/queues/instant?oauth_nonce=71910144&oauth_timestamp=1361542552&oauth_consumer_key=9gmtqvwwpagbh7hq56shftrd&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&max_results=75&oauth_token=XXXXXXXXXXXXXXXXXXXXXXXX&filters=http%3A%2F%2Fapi-public.netflix.com%2Fcategories%2Ftitle_formats%2Finstant&v=2.0&output=json&oauth_signature=[cut]%2BEhjog%3D&expand=%40title%2C%40synopsis%2C%40directors%2C%40formats%2C%40episodes%2C%40short_synopsis
15:15:55 T:4654546944  NOTICE: Max value: 75
15:15:55 T:4654546944  NOTICE: In CA: False
15:15:55 T:4654546944  NOTICE: {u'status': {u'status_code': 403, u'message': u'Account inactive'}, u'error': True}
15:15:56 T:4367872000  NOTICE: Thread Background Loader start, auto delete: false
ccat 15:23:16 T:4603281408  NOTICE: Thread Jobworker start, auto delete: true
15:23:16 T:4638380032  NOTICE: Thread XBPyThread start, auto delete: false



RE: [RELEASE] XBMC Flicks - Netflix / TV Shows (Video) experimental Addon for XBMC - anewlanguage - 2013-02-22

Hmm well now it kind of works after putting the userinfo in the correct format. I can search and view new releases and what not. But it won't show my instant queue at all... but doesn't give an error, simply says 0 items. And there are definitely items in my queue.


RE: - verheek - 2013-02-22

(2013-02-22, 16:16)kiler129 Wrote: I was talking not about API limits but devices limit - is applications counted as next device?
I've tried to use data you provided but no lucky:

Code:
15:12:32 T:4622651392  NOTICE: couldn't load user information from userinfo.txt file
15:12:32 T:4622651392  NOTICE: .. getAuth called ..
15:12:32 T:4622651392  NOTICE: OSX Setting is set to: True
15:12:32 T:4622651392  NOTICE: .. user configured ..
15:12:35 T:4622651392  NOTICE: Token did not contain any errors
15:12:35 T:4622651392  NOTICE: Authorize user access here: https://api-user.netflix.com/oauth/login?application_name=xbmcflicks2&oauth_consumer_key=9gmtqvwwpagbh7hq56shftrd&oauth_token=XXXXXXXXXXXXXXXXXXXXXXXX
15:12:35 T:4622651392  NOTICE: and then put this key / secret in MY_USER.request:
                                             'key': 'XXXXXXXXXXXXXXXXXXXXXXXX',
                                             'secret': 'YYYYYYYYYYYY'
15:12:35 T:4622651392  NOTICE: and run again.
15:12:35 T:4622651392  NOTICE: open /Applications/Firefox.app 'https://api-user.netflix.com/oauth/login?application_name=xbmcflicks2&oauth_consumer_key=9gmtqvwwpagbh7hq56shftrd&oauth_token=XXXXXXXXXXXXXXXXXXXXXXXX'
ca15:14:11 T:4622651392  NOTICE: The dialog was displayed, hopefully you read the text and waited until you authorized it before clicking ok.
15:14:11 T:4622651392  NOTICE: user key set to: XXXXXXXXXXXXXXXXXXXXXXXX
15:14:11 T:4622651392  NOTICE: user secret set to: YYYYYYYYYYYY
15:14:11 T:4622651392   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'httplib.BadStatusLine'>
                                            Error Contents:
                                            Traceback (most recent call last):
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/default.py", line 26, in <module>
                                                import resources.lib.menu as menu
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/resources/lib/menu.py", line 502, in <module>
                                                getInstantQueue()
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/resources/lib/iqueue.py", line 2838, in getInstantQueue
                                                initApp()
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/resources/lib/iqueue.py", line 2833, in initApp
                                                user = getAuth(netflixClient,VERBOSE_USER_LOG)
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/resources/lib/iqueue.py", line 1154, in getAuth
                                                tok = netflix.user.getAccessToken( MY_USER['request'] )
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/resources/lib/Netflix.py", line 74, in getAccessToken
                                                response = client.connection.getresponse()
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/httplib.py", line 986, in getresponse
                                                response.begin()
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/httplib.py", line 391, in begin
                                                version, status, reason = self._read_status()
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/httplib.py", line 355, in _read_status
                                                raise BadStatusLine(line)
                                            BadStatusLine
                                            -->End of Python script error report<--
15:14:11 T:140735233872256   ERROR: GetDirectory - Error getting plugin://plugin.video.xbmcflicks/?mode=10
15:14:11 T:140735233872256   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.xbmcflicks/?mode=10) failed
15:14:11 T:4622651392  NOTICE: Thread XBPyThread start, auto delete: false
15:14:11 T:4622651392  NOTICE: -->Python Interpreter Initialized<--

Next I entered X's and Y's as follow to the userinfo.txt file:
Code:
requestKey=XXXXXXXXXXXXXXXXXXXXXXXX
requestSecret=YYYYYYYYYYYY
accessKey=XXXXXXXXXXXXXXXXXXXXXXXX
accessSecret=YYYYYYYYYYYY

After restarting XBMC and trying to list instant queue log isn't optimistic at all:
Code:
15:15:52 T:4654546944  NOTICE: USER INFO FILE LOC: /Users/test/Library/Application Support/XBMC/userdata/addon_data/plugin.video.xbmcflicks/userinfo.txt
15:15:52 T:4654546944  NOTICE: matched file contents, it is in the correct format
15:15:52 T:4654546944  NOTICE: finished loading up user information from file
15:15:52 T:4654546944  NOTICE: .. getAuth called ..
15:15:52 T:4654546944  NOTICE: OSX Setting is set to: True
15:15:52 T:4654546944  NOTICE: .. user configured ..
15:15:52 T:4654546944  NOTICE: *** What's in the Instant Queue? ***
15:15:52 T:4654546944  NOTICE: params: {'max_results': '75'}
15:15:52 T:4654546944  NOTICE: http://api-public.netflix.com/users/XXXXXXXXXXXXXXXXXXXXXXXX/queues/instant?oauth_nonce=71910144&oauth_timestamp=1361542552&oauth_consumer_key=9gmtqvwwpagbh7hq56shftrd&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&max_results=75&oauth_token=XXXXXXXXXXXXXXXXXXXXXXXX&filters=http%3A%2F%2Fapi-public.netflix.com%2Fcategories%2Ftitle_formats%2Finstant&v=2.0&output=json&oauth_signature=[cut]%2BEhjog%3D&expand=%40title%2C%40synopsis%2C%40directors%2C%40formats%2C%40episodes%2C%40short_synopsis
15:15:55 T:4654546944  NOTICE: Max value: 75
15:15:55 T:4654546944  NOTICE: In CA: False
15:15:55 T:4654546944  NOTICE: {u'status': {u'status_code': 403, u'message': u'Account inactive'}, u'error': True}
15:15:56 T:4367872000  NOTICE: Thread Background Loader start, auto delete: false
ccat 15:23:16 T:4603281408  NOTICE: Thread Jobworker start, auto delete: true
15:23:16 T:4638380032  NOTICE: Thread XBPyThread start, auto delete: false

The log looks ok for authentication. Is it still popping up the browser window?

As for the queues, anything is possible. I have not looked into that one. But it still looks like 403 account inactive.

(2013-02-22, 16:16)kiler129 Wrote: I was talking not about API limits but devices limit - is applications counted as next device?
I've tried to use data you provided but no lucky:

Code:
15:12:32 T:4622651392  NOTICE: couldn't load user information from userinfo.txt file
15:12:32 T:4622651392  NOTICE: .. getAuth called ..
15:12:32 T:4622651392  NOTICE: OSX Setting is set to: True
15:12:32 T:4622651392  NOTICE: .. user configured ..
15:12:35 T:4622651392  NOTICE: Token did not contain any errors
15:12:35 T:4622651392  NOTICE: Authorize user access here: https://api-user.netflix.com/oauth/login?application_name=xbmcflicks2&oauth_consumer_key=9gmtqvwwpagbh7hq56shftrd&oauth_token=XXXXXXXXXXXXXXXXXXXXXXXX
15:12:35 T:4622651392  NOTICE: and then put this key / secret in MY_USER.request:
                                             'key': 'XXXXXXXXXXXXXXXXXXXXXXXX',
                                             'secret': 'YYYYYYYYYYYY'
15:12:35 T:4622651392  NOTICE: and run again.
15:12:35 T:4622651392  NOTICE: open /Applications/Firefox.app 'https://api-user.netflix.com/oauth/login?application_name=xbmcflicks2&oauth_consumer_key=9gmtqvwwpagbh7hq56shftrd&oauth_token=XXXXXXXXXXXXXXXXXXXXXXXX'
ca15:14:11 T:4622651392  NOTICE: The dialog was displayed, hopefully you read the text and waited until you authorized it before clicking ok.
15:14:11 T:4622651392  NOTICE: user key set to: XXXXXXXXXXXXXXXXXXXXXXXX
15:14:11 T:4622651392  NOTICE: user secret set to: YYYYYYYYYYYY
15:14:11 T:4622651392   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'httplib.BadStatusLine'>
                                            Error Contents:
                                            Traceback (most recent call last):
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/default.py", line 26, in <module>
                                                import resources.lib.menu as menu
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/resources/lib/menu.py", line 502, in <module>
                                                getInstantQueue()
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/resources/lib/iqueue.py", line 2838, in getInstantQueue
                                                initApp()
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/resources/lib/iqueue.py", line 2833, in initApp
                                                user = getAuth(netflixClient,VERBOSE_USER_LOG)
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/resources/lib/iqueue.py", line 1154, in getAuth
                                                tok = netflix.user.getAccessToken( MY_USER['request'] )
                                              File "/Users/test/Library/Application Support/XBMC/addons/XBMC-yabsiehacks-Flicks-0.3/resources/lib/Netflix.py", line 74, in getAccessToken
                                                response = client.connection.getresponse()
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/httplib.py", line 986, in getresponse
                                                response.begin()
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/httplib.py", line 391, in begin
                                                version, status, reason = self._read_status()
                                              File "/Applications/XBMC.app/Contents/Frameworks/lib/python2.6/httplib.py", line 355, in _read_status
                                                raise BadStatusLine(line)
                                            BadStatusLine
                                            -->End of Python script error report<--
15:14:11 T:140735233872256   ERROR: GetDirectory - Error getting plugin://plugin.video.xbmcflicks/?mode=10
15:14:11 T:140735233872256   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.xbmcflicks/?mode=10) failed
15:14:11 T:4622651392  NOTICE: Thread XBPyThread start, auto delete: false
15:14:11 T:4622651392  NOTICE: -->Python Interpreter Initialized<--

Next I entered X's and Y's as follow to the userinfo.txt file:
Code:
requestKey=XXXXXXXXXXXXXXXXXXXXXXXX
requestSecret=YYYYYYYYYYYY
accessKey=XXXXXXXXXXXXXXXXXXXXXXXX
accessSecret=YYYYYYYYYYYY

After restarting XBMC and trying to list instant queue log isn't optimistic at all:
Code:
15:15:52 T:4654546944  NOTICE: USER INFO FILE LOC: /Users/test/Library/Application Support/XBMC/userdata/addon_data/plugin.video.xbmcflicks/userinfo.txt
15:15:52 T:4654546944  NOTICE: matched file contents, it is in the correct format
15:15:52 T:4654546944  NOTICE: finished loading up user information from file
15:15:52 T:4654546944  NOTICE: .. getAuth called ..
15:15:52 T:4654546944  NOTICE: OSX Setting is set to: True
15:15:52 T:4654546944  NOTICE: .. user configured ..
15:15:52 T:4654546944  NOTICE: *** What's in the Instant Queue? ***
15:15:52 T:4654546944  NOTICE: params: {'max_results': '75'}
15:15:52 T:4654546944  NOTICE: http://api-public.netflix.com/users/XXXXXXXXXXXXXXXXXXXXXXXX/queues/instant?oauth_nonce=71910144&oauth_timestamp=1361542552&oauth_consumer_key=9gmtqvwwpagbh7hq56shftrd&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&max_results=75&oauth_token=XXXXXXXXXXXXXXXXXXXXXXXX&filters=http%3A%2F%2Fapi-public.netflix.com%2Fcategories%2Ftitle_formats%2Finstant&v=2.0&output=json&oauth_signature=[cut]%2BEhjog%3D&expand=%40title%2C%40synopsis%2C%40directors%2C%40formats%2C%40episodes%2C%40short_synopsis
15:15:55 T:4654546944  NOTICE: Max value: 75
15:15:55 T:4654546944  NOTICE: In CA: False
15:15:55 T:4654546944  NOTICE: {u'status': {u'status_code': 403, u'message': u'Account inactive'}, u'error': True}
15:15:56 T:4367872000  NOTICE: Thread Background Loader start, auto delete: false
ccat 15:23:16 T:4603281408  NOTICE: Thread Jobworker start, auto delete: true
15:23:16 T:4638380032  NOTICE: Thread XBPyThread start, auto delete: false

The log looks ok for authentication. Is it still popping up the browser window?

As for the queues, anything is possible. I have not looked into that one. But it still looks like 403 account inactive.


RE: [RELEASE] - kiler129 - 2013-02-22

Nope, after filling userinfo browser window is not displayed anymore but none (except Top 25) works, even Search produce 403.


RE: [RELEASE] - verheek - 2013-02-23

(2013-02-22, 20:45)kiler129 Wrote: Nope, after filling userinfo browser window is not displayed anymore but none (except Top 25) works, even Search produce 403.

Sounds like and looks like (according to the log) that the auth part is working.

I have not populated or tested instant queue. I have been working on search and recommended. You have to have rated movies not just watched them to get recommended items according to a netflix forum post. Search is retu

On page 130 of this thread, another user got their instant queue going. Maybe there is a clue in there. I'll have to run my instant queue with debug on to see what it shows.


RE: [RELEASE] - kiler129 - 2013-02-23

"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


RE: [RELEASE] - verheek - 2013-02-24

(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.


RE: [RELEASE] - kiler129 - 2013-02-24

Caching isn't fully implemented - some cache files are made but as I see never used which results making expensive call every click.
So basically code firstly need cleaning and in-grund optimalisation. I think also hidden API-proxy option should be added - it's a little against rules but will be useful for many users which are outside US/CA and use proxy to stream.
As I know only API calls and few player requests must be pushed using proxy - whole streaming part not.


RE: close out of XBMC Flicks and switch back to XBMC - carbfrze - 2013-03-01

Hello all,
I just recently built a new HTPC running Win 7 64-bit w/ the latest version of XBMC running on it. I can use the XBMC Flicks with no problem. My question is there a way to switch back to XBMC using a remote? I have a Rosewill RHRC 12001 remote that functions fine in both XBMC Flicks and in XBMC as well, I just don't want to have to manually close the browser to get back to XBMC.

Any suggestions would be great!

Thanks


RE: close out of XBMC Flicks and switch back to XBMC - kadeschs - 2013-03-01

(2013-03-01, 19:30)carbfrze Wrote: Hello all,
I just recently built a new HTPC running Win 7 64-bit w/ the latest version of XBMC running on it. I can use the XBMC Flicks with no problem. My question is there a way to switch back to XBMC using a remote? I have a Rosewill RHRC 12001 remote that functions fine in both XBMC Flicks and in XBMC as well, I just don't want to have to manually close the browser to get back to XBMC.

Any suggestions would be great!

Thanks

I'd like to see this as well. I haven't found a work-around for this yet. To make things even more complicated, when I close the Firefox browser on a Mac Mini and return to XBMC, Firefox starts back up in the background and starts playing the video. I have to task switch back to Firefox and close it a second time and then task switch back to XBMC. All of this being on my Mac Mini hooked up to a big screen TV makes so I'm really the only one in the family that can use this addon because of how complicated it is for anyone else without a keyboard and mouse.


RE: [RELEASE] XBMC Flicks - - locoguano - 2013-03-02

Standard MCE remote has a "close" botton that sends an ALT-F4 signal to close the browser. is there a way to program that into your remote?


RE: close out of XBMC Flicks and switch back to XBMC - verheek - 2013-03-02

(2013-03-01, 19:48)kadeschs Wrote:
(2013-03-01, 19:30)carbfrze Wrote: Hello all,
I just recently built a new HTPC running Win 7 64-bit w/ the latest version of XBMC running on it. I can use the XBMC Flicks with no problem. My question is there a way to switch back to XBMC using a remote? I have a Rosewill RHRC 12001 remote that functions fine in both XBMC Flicks and in XBMC as well, I just don't want to have to manually close the browser to get back to XBMC.

Any suggestions would be great!

Thanks

I'd like to see this as well. I haven't found a work-around for this yet. To make things even more complicated, when I close the Firefox browser on a Mac Mini and return to XBMC, Firefox starts back up in the background and starts playing the video. I have to task switch back to Firefox and close it a second time and then task switch back to XBMC. All of this being on my Mac Mini hooked up to a big screen TV makes so I'm really the only one in the family that can use this addon because of how complicated it is for anyone else without a keyboard and mouse.

On the PC I follow the instructions at the beginning of this thread to use iewrap.exe . There are some ideas on how to integrate remotes. It will always be a bit of a hack while netflix requires silverlight to play the content for drm reasons. Whether any of this can be ported to the Mac Mini I don't know.

http://forum.xbmc.org/showthread.php?tid=87552