I have Frodo RC3 installed on Win 7 x64 SP1 with XBMCflicks 1.0.23
I get as far as permitting XBMC to access my Netflix account and then return with the script error because nothing is written to userinfo.txt . It's there but blank.
Here is the section from my xbmc.log. I blanked out the auth data.
22:02:39 T:4748 NOTICE: -->Python Interpreter Initialized<--
22:02:40 T:4748 NOTICE: ##########################################################
22:02:40 T:4748 NOTICE: Arg1: 0
22:02:40 T:4748 NOTICE: Arg2: ?mode=10
22:02:40 T:4748 NOTICE: Mode: 10
22:02:40 T:4748 NOTICE: ##########################################################
22:02:40 T:4748 NOTICE: root folder: D:\Users\Media\AppData\Roaming\XBMC\addons\spudsdude-XBMC-Flicks-a644263
22:02:40 T:4748 NOTICE: working folder: D:\Users\Media\AppData\Roaming\XBMC\userdata\addon_data\plugin.video.xbmcflicks\
22:02:40 T:4748 NOTICE: links folder: D:\Users\Media\AppData\Roaming\XBMC\userdata\addon_data\plugin.video.xbmcflicks\links
22:02:40 T:4748 NOTICE: real link path: D:\Users\Media\AppData\Roaming\XBMC\userdata\addon_data\plugin.video.xbmcflicks\links
22:02:40 T:4748 NOTICE: resource folder: D:\Users\Media\AppData\Roaming\XBMC\addons\spudsdude-XBMC-Flicks-a644263\resources
22:02:40 T:4748 NOTICE: lib folder: D:\Users\Media\AppData\Roaming\XBMC\addons\spudsdude-XBMC-Flicks-a644263\resources\lib
22:02:40 T:4748 NOTICE: userinfo folder: D:\Users\Media\AppData\Roaming\XBMC\userdata\addon_data\plugin.video.xbmcflicks\
22:02:40 T:4748 NOTICE: USER INFO FILE LOC: D:\Users\Media\AppData\Roaming\XBMC\userdata\addon_data\plugin.video.xbmcflicks\userinfo.txt
22:02:40 T:4748 NOTICE: couldn't load user information from userinfo.txt file
22:02:40 T:4748 NOTICE: .. getAuth called ..
22:02:40 T:4748 NOTICE: OSX Setting is set to: False
22:02:40 T:4748 NOTICE: .. user configured ..
22:02:40 T:4748 NOTICE: Token did not contain any errors
22:02:40 T:4748 NOTICE: Authorize user access here:
https://api-user.netflix.com/oauth/login...nsumer_key= &oauth_token=
22:02:40 T:4748 NOTICE: and then put this key / secret in MY_USER.request:
'key': ' ',
'secret': ' '
22:02:40 T:4748 NOTICE: and run again.
22:02:41 T:4748 NOTICE: browser open has completed
22:03:46 T:4748 NOTICE: The dialog was displayed, hopefully you read the text and waited until you authorized it before clicking ok.
22:03:46 T:4748 NOTICE: user key set to:
22:03:46 T:4748 NOTICE: user secret set to:
22:03:46 T:4748 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 "D:\Users\Media\AppData\Roaming\XBMC\addons\spudsdude-XBMC-Flicks-a644263\default.py", line 26, in <module>
import resources.lib.menu as menu
File "D:\Users\Media\AppData\Roaming\XBMC\addons\spudsdude-XBMC-Flicks-a644263\resources\lib\menu.py", line 474, in <module>
getInstantQueue()
File "D:\Users\Media\AppData\Roaming\XBMC\addons\spudsdude-XBMC-Flicks-a644263\resources\lib\iqueue.py", line 1379, in getInstantQueue
initApp()
File "D:\Users\Media\AppData\Roaming\XBMC\addons\spudsdude-XBMC-Flicks-a644263\resources\lib\iqueue.py", line 1374, in initApp
user = getAuth(netflixClient,VERBOSE_USER_LOG)
File "D:\Users\Media\AppData\Roaming\XBMC\addons\spudsdude-XBMC-Flicks-a644263\resources\lib\iqueue.py", line 85, in getAuth
tok = netflix.user.getAccessToken( MY_USER['request'] )
File "D:\Users\Media\AppData\Roaming\XBMC\addons\spudsdude-XBMC-Flicks-a644263\resources\lib\Netflix.py", line 74, in getAccessToken
response = client.connection.getresponse()
File "D:\Program Files\XBMC\system\python\Lib\httplib.py", line 990, in getresponse
response.begin()
File "D:\Program Files\XBMC\system\python\Lib\httplib.py", line 391, in begin
version, status, reason = self._read_status()
File "D:\Program Files\XBMC\system\python\Lib\httplib.py", line 355, in _read_status
raise BadStatusLine(line)
BadStatusLine
-->End of Python script error report<--
22:03:46 T:2696 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.xbmcflicks/?mode=10
22:03:46 T:2696 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.xbmcflicks/?mode=10) failed
Anyone know how to rectify this problem? I can manual put the info into userinfo.txt but it would be nice to solve the coding problem.
Edit: Finding time in the cracks between family, kids, job, etc I squeeze in what debugging I can. I've punched my keys in per post on page 114 except I am using auth_consumer = rquest_key and auth_token = requestSecret. I now have listings in Top 25 and All New.. . The rest come up blank but no script error. Launching a title does not launch my ie wrapped browser so I need to troubleshoot that. I then have a box in XBMC say to click ok when done.
So my take on this is the code just needs to some updating to work properly with the API. As I work towards this post from page 115, I may find it has already been solved. Would be nice to roll the changes back into github so that new users who download from original posts don't have to search through to figure stuff out.
Update: Per
http://developer.netflix.com/blog/read/U...PI_Program:
" Functional Changes
•We have already modified the value of the <available_until> element for all titles to be 1/1/2100 unless the title is to become unavailable within two weeks of the requesting date.
•We will be removing the following endpoints, effective on September 15, 2012:
•/users/userID/rental_history
•/users/userID/rental_history/shipped
•/users/userID/rental_history/returned
•/users/userID/rental_history/watched
•/users/userID/at_home
•We will be removing the following elements from the title_states endpoint, effective on September 15, 2012
•<watched_date>
•<playback_bookmark>
•<watched_to_end>
•We will be removing the following RSS feeds, effective on September 15, 2012:
•Most Recent Rental Activity
•Movies At Home
•We will be removing all metadata for the rental history, recently watched, at home, etc. in all expands for all endpoints.
•We will be changing the API base URL domain from api.netflix.com to api-public.netflix.com. This new domain is active now. All requests will need to point to it by September 15, 2012, when the api.netflix.com domain will be retired.
•We will be retiring all existing versions of the catalog index files, to be replaced with new catalog index files. The new files will be structurally the same as the 2.0 version but there will be two files, one for streaming and one for DVD. The new files will be available in the coming weeks (we will post here with the new endpoints) and we plan to retire all other existing endpoints on September 15, 2012.
•We will be retiring the AppGallery pages found at
http://www.netflix.com/AppGallery. This is effective immediately. These pages were outdated and seldom used as people tend to go to various App stores and other Web sites to find applications.
To be clear, none of these changes will affect the Queue-related resources or data."
So might as well dump that code so people don't keep asking about it.