2013-02-22, 20:43
(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.