[RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC

  Thread Rating:
  • 14 Votes - 4.64 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
fekker Offline
Posting Freak
Posts: 1,545
Joined: Oct 2008
Reputation: 30
Post: #161
poutine Wrote:Deleted userinfo.txt - but, FYI, it's been empty the entire time
Initially tried just setting IE to default. Same result - IE called to authorize the plugin, click authorize, continue to netflix, close IE. CNTRL-TAB back to XBMC, hangs on the loading directory dialogue.
Then tried the zip file above, and got a script error when clicking on my instant queue (IE never launches)



These items don't appear in the log, either before I updated the plugin (log the same as my original post), and after updating the plugin (perhaps the errors below happen before that...). Log after updating the plugin from your zip file:

woops, my bad there
download the zip file again and overwrite the xbmcflicks plugin, i was missing some code in there.. the good part is you won't have to delete the text strings anymore as I changed how those are done.
i.e. download, extract, overwrite files, give it a try again, paste log file
find quote
loki131 Offline
Member
Posts: 95
Joined: Dec 2010
Reputation: 0
Post: #162
First off amazing app! I absolutely love it! Big Grin

Now I thought I would share some of the info I've found. Currently I have AutoHotKey re-map my remote when Netflix launches so I have play/pause, stop, etc. all working seamlessly and my direct access keys to bring me back in to xbmc (whatever section I want). I'm new to AutoHotKey so I haven't quite figured out how to automatically kick into fullscreen but hopefully tonight I will solve that one!

Anyway here are the Netflix/Silverlight keyboard commands I've found so far so you guys can map them however you want.

Netflix controls

Space – Toggle Play/Pause
Enter – Toggle Play/Pause
PgUp – Play
PgDn – Pause
F – Full-screen
Esc – Exit full-screen
Shift+Left arrow – Rewind
Shift+Right arrow – Fast Forward

In full-screen mode:

Ctrl+space – Frame forward/backward mode. Ctrl+space pauses the movie and enters key frame mode (aka intra-frame or i-frame mode). The right and left arrow keys move between key frames.

The following Ctrl+Shift+Alt+* shortcuts (Ctrl+Shift+Option+* in Mac OS X) toggle information displays on/off when the player is NOT in full-screen mode. The displays will remain on, however, when full-screen mode is activated.

Ctrl+Shift+Alt+M – Menu
Ctrl+Shift+Alt+C – Codes; frame rate plus other (unknown to me) info. Also makes other overlays green.
Ctrl+Shift+Alt+D – Display A/V Stats on-screen
Ctrl+Shift+Alt+L - Logging window
Ctrl+Shift+Alt+P – Player Info
Ctrl+Shift+Alt+S – Stream bit rate and manual rate selection

Hope this helps!
find quote
poutine Offline
Junior Member
Posts: 8
Joined: Oct 2010
Reputation: 0
Post: #163
Updated the plugin from your zip, and made IE default. Still hangs in the same place - after launching IE for the auth. Should I be closing IE and using Alt-tab to go back to XBMC after that, or is there another workflow I should be using?
Also, Userinfo.txt still empty...

And if I haven't said it already, your incredibly responsive support is much appreciated!

Code:
14:52:47 T:3528 M:2390151168  NOTICE: load settings...
14:52:47 T:3528 M:2390052864  NOTICE: special://profile/ is mapped to: special://masterprofile/
14:52:47 T:3528 M:2390040576  NOTICE: loading special://masterprofile/guisettings.xml
14:52:47 T:3528 M:2389577728  NOTICE: Getting hardware information now...
14:52:47 T:3528 M:2389569536  NOTICE: Checking resolution 12
14:52:47 T:3528 M:2389512192  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
14:52:47 T:3528 M:2389487616  NOTICE: Loaded playercorefactory configuration
14:52:47 T:3528 M:2389475328  NOTICE: Loading player core factory settings from special://profile/playercorefactory.xml.
14:52:47 T:3528 M:2389450752  NOTICE: Loaded playercorefactory configuration
14:52:47 T:3528 M:2389434368  NOTICE: Loaded advancedsettings.xml from special://profile/advancedsettings.xml
14:52:47 T:3528 M:2389430272  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <videoextensions>
                                                <add>.html</add>
                                              </videoextensions>
                                            </advancedsettings>
14:52:47 T:3528 M:2389422080  NOTICE: Getting hardware information now...
14:52:47 T:3528 M:2389422080  NOTICE: Checking resolution 12
14:52:47 T:3528 M:2389422080  NOTICE: Default DVD Player: dvdplayer
14:52:47 T:3528 M:2389422080  NOTICE: Default Video Player: dvdplayer
14:52:47 T:3528 M:2389422080  NOTICE: Default Audio Player: paplayer
14:52:47 T:3528 M:2389573632  NOTICE: Loading media sources from special://masterprofile/sources.xml
14:52:48 T:3528 M:2378686464  NOTICE: initializing playlistplayer
14:52:48 T:3528 M:2378674176  NOTICE: DONE initializing playlistplayer
14:52:48 T:3528 M:2370457600  NOTICE: initialize done
14:52:48 T:3528 M:2370457600  NOTICE: Running the application...
14:52:48 T:3528 M:2370441216  NOTICE: ES: Starting event server
14:52:48 T:3340 M:2370392064  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
14:52:48 T:3340 M:2370363392  NOTICE: UDP: Listening on port 9777
14:52:48 T:1112 M:2361966592  NOTICE: -->Python Interpreter Initialized<--
14:53:12 T:1396 M:2359750656  NOTICE: -->Python Interpreter Initialized<--
14:53:23 T:3528 M:2359062528 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 0
14:53:26 T:3732 M:2354417664  NOTICE: -->Python Interpreter Initialized<--
14:53:27 T:3732 M:2351194112  NOTICE: ##########################################################
14:53:27 T:3732 M:2351194112  NOTICE: Mode: 0
14:53:27 T:3732 M:2351194112  NOTICE: Arg1: 0
14:53:27 T:3732 M:2351194112  NOTICE: Arg2:
14:53:27 T:3732 M:2351194112  NOTICE: ##########################################################
14:53:27 T:3528 M:2351382528 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6
14:53:29 T:3360 M:2349125632  NOTICE: -->Python Interpreter Initialized<--
14:53:29 T:3360 M:2348191744  NOTICE: ##########################################################
14:53:29 T:3360 M:2348191744  NOTICE: Mode: 0
14:53:29 T:3360 M:2348191744  NOTICE: Arg1: 0
14:53:29 T:3360 M:2348191744  NOTICE: Arg2: ?mode=0
14:53:29 T:3360 M:2348191744  NOTICE: ##########################################################
14:53:29 T:3528 M:2348326912 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6
14:53:30 T:3740 M:2348445696  NOTICE: -->Python Interpreter Initialized<--
14:53:31 T:3740 M:2347126784  NOTICE: ##########################################################
14:53:31 T:3740 M:2347126784  NOTICE: Mode: 10
14:53:31 T:3740 M:2347126784  NOTICE: Arg1: 0
14:53:31 T:3740 M:2347126784  NOTICE: Arg2: ?mode=10
14:53:31 T:3740 M:2347126784  NOTICE: ##########################################################
14:53:31 T:3740 M:2347122688  NOTICE: root folder: special://home/addons/plugin.video.xbmcflicks/
14:53:31 T:3740 M:2347122688  NOTICE: working folder: special://profile/addon_data/plugin.video.xbmcflicks/
14:53:31 T:3740 M:2347122688  NOTICE: real link path: C:\Documents and Settings\[user]\Application Data\XBMC\userdata\addon_data\plugin.video.xbmcflicks\links\
14:53:31 T:3740 M:2347122688  NOTICE: image folder: special://home/addons/plugin.video.xbmcflicks/resources/
14:53:31 T:3740 M:2347122688  NOTICE: userinfo folder: special://profile/addon_data/plugin.video.xbmcflicks/
14:53:31 T:3740 M:2347102208  NOTICE: USER INFO FILE LOC: special://profile/addon_data/plugin.video.xbmcflicks/userinfo.txt
14:53:31 T:3740 M:2347081728  NOTICE: couldn't load user information from userinfo.properties file
14:53:31 T:3740 M:2347081728  NOTICE: .. getAuth called ..
14:53:31 T:3740 M:2347081728  NOTICE: OSX Setting is set to: False
14:53:31 T:3740 M:2347081728  NOTICE: .. user configured ..
14:53:31 T:3740 M:2348081152  NOTICE: Token did not contain any errors
find quote
fekker Offline
Posting Freak
Posts: 1,545
Joined: Oct 2008
Reputation: 30
Post: #164
poutine Wrote:Updated the plugin from your zip, and made IE default. Still hangs in the same place - after launching IE for the auth. Should I be closing IE and using Alt-tab to go back to XBMC after that, or is there another workflow I should be using?
Also, Userinfo.txt still empty...

And if I haven't said it already, your incredibly responsive support is much appreciated!

Code:
14:52:47 T:3528 M:2390151168  NOTICE: load settings...
14:52:47 T:3528 M:2390052864  NOTICE: special://profile/ is mapped to: special://masterprofile/
14:52:47 T:3528 M:2390040576  NOTICE: loading special://masterprofile/guisettings.xml
14:52:47 T:3528 M:2389577728  NOTICE: Getting hardware information now...
14:52:47 T:3528 M:2389569536  NOTICE: Checking resolution 12
14:52:47 T:3528 M:2389512192  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
14:52:47 T:3528 M:2389487616  NOTICE: Loaded playercorefactory configuration
14:52:47 T:3528 M:2389475328  NOTICE: Loading player core factory settings from special://profile/playercorefactory.xml.
14:52:47 T:3528 M:2389450752  NOTICE: Loaded playercorefactory configuration
14:52:47 T:3528 M:2389434368  NOTICE: Loaded advancedsettings.xml from special://profile/advancedsettings.xml
14:52:47 T:3528 M:2389430272  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <videoextensions>
                                                <add>.html</add>
                                              </videoextensions>
                                            </advancedsettings>
14:52:47 T:3528 M:2389422080  NOTICE: Getting hardware information now...
14:52:47 T:3528 M:2389422080  NOTICE: Checking resolution 12
14:52:47 T:3528 M:2389422080  NOTICE: Default DVD Player: dvdplayer
14:52:47 T:3528 M:2389422080  NOTICE: Default Video Player: dvdplayer
14:52:47 T:3528 M:2389422080  NOTICE: Default Audio Player: paplayer
14:52:47 T:3528 M:2389573632  NOTICE: Loading media sources from special://masterprofile/sources.xml
14:52:48 T:3528 M:2378686464  NOTICE: initializing playlistplayer
14:52:48 T:3528 M:2378674176  NOTICE: DONE initializing playlistplayer
14:52:48 T:3528 M:2370457600  NOTICE: initialize done
14:52:48 T:3528 M:2370457600  NOTICE: Running the application...
14:52:48 T:3528 M:2370441216  NOTICE: ES: Starting event server
14:52:48 T:3340 M:2370392064  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
14:52:48 T:3340 M:2370363392  NOTICE: UDP: Listening on port 9777
14:52:48 T:1112 M:2361966592  NOTICE: -->Python Interpreter Initialized<--
14:53:12 T:1396 M:2359750656  NOTICE: -->Python Interpreter Initialized<--
14:53:23 T:3528 M:2359062528 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 0
14:53:26 T:3732 M:2354417664  NOTICE: -->Python Interpreter Initialized<--
14:53:27 T:3732 M:2351194112  NOTICE: ##########################################################
14:53:27 T:3732 M:2351194112  NOTICE: Mode: 0
14:53:27 T:3732 M:2351194112  NOTICE: Arg1: 0
14:53:27 T:3732 M:2351194112  NOTICE: Arg2:
14:53:27 T:3732 M:2351194112  NOTICE: ##########################################################
14:53:27 T:3528 M:2351382528 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6
14:53:29 T:3360 M:2349125632  NOTICE: -->Python Interpreter Initialized<--
14:53:29 T:3360 M:2348191744  NOTICE: ##########################################################
14:53:29 T:3360 M:2348191744  NOTICE: Mode: 0
14:53:29 T:3360 M:2348191744  NOTICE: Arg1: 0
14:53:29 T:3360 M:2348191744  NOTICE: Arg2: ?mode=0
14:53:29 T:3360 M:2348191744  NOTICE: ##########################################################
14:53:29 T:3528 M:2348326912 WARNING: XFILE::CVideoDatabaseDirectory::GetLabel - Unknown nodetype requested 6
14:53:30 T:3740 M:2348445696  NOTICE: -->Python Interpreter Initialized<--
14:53:31 T:3740 M:2347126784  NOTICE: ##########################################################
14:53:31 T:3740 M:2347126784  NOTICE: Mode: 10
14:53:31 T:3740 M:2347126784  NOTICE: Arg1: 0
14:53:31 T:3740 M:2347126784  NOTICE: Arg2: ?mode=10
14:53:31 T:3740 M:2347126784  NOTICE: ##########################################################
14:53:31 T:3740 M:2347122688  NOTICE: root folder: special://home/addons/plugin.video.xbmcflicks/
14:53:31 T:3740 M:2347122688  NOTICE: working folder: special://profile/addon_data/plugin.video.xbmcflicks/
14:53:31 T:3740 M:2347122688  NOTICE: real link path: C:\Documents and Settings\[user]\Application Data\XBMC\userdata\addon_data\plugin.video.xbmcflicks\links\
14:53:31 T:3740 M:2347122688  NOTICE: image folder: special://home/addons/plugin.video.xbmcflicks/resources/
14:53:31 T:3740 M:2347122688  NOTICE: userinfo folder: special://profile/addon_data/plugin.video.xbmcflicks/
14:53:31 T:3740 M:2347102208  NOTICE: USER INFO FILE LOC: special://profile/addon_data/plugin.video.xbmcflicks/userinfo.txt
14:53:31 T:3740 M:2347081728  NOTICE: couldn't load user information from userinfo.properties file
14:53:31 T:3740 M:2347081728  NOTICE: .. getAuth called ..
14:53:31 T:3740 M:2347081728  NOTICE: OSX Setting is set to: False
14:53:31 T:3740 M:2347081728  NOTICE: .. user configured ..
14:53:31 T:3740 M:2348081152  NOTICE: Token did not contain any errors

so in xbmc, you just get the loading directory, and don't see a dialog that prompts you to click OK after you have auth'd it in your browser?
find quote
poutine Offline
Junior Member
Posts: 8
Joined: Oct 2010
Reputation: 0
Post: #165
fekker Wrote:so in xbmc, you just get the loading directory, and don't see a dialog that prompts you to click OK after you have auth'd it in your browser?

Exactly... Never have see that 'OK' screen...
find quote
fekker Offline
Posting Freak
Posts: 1,545
Joined: Oct 2008
Reputation: 30
Post: #166
poutine Wrote:Exactly... Never have see that 'OK' screen...

Ok i've added a few more lines of output, grab a new copy of the zip file and retest.

EDIT: While we are at it, enable debug mode for XBMC as well.

This time i need you to enable verbose user output.
Because we are enabling that, which will print user specific data, be sure to replace those keys with 000000's or something else before posting the log.

example, in the log, you'll see user key set to STRINGOFDATA and user secret set to STRINGOFDATA
change them to read 000000's before pasteing the log file
user key set to: 000000000000000000000
user secret set to: 0000000000000000000
(This post was last modified: 2011-01-05 23:02 by fekker.)
find quote
poutine Offline
Junior Member
Posts: 8
Joined: Oct 2010
Reputation: 0
Post: #167
fekker Wrote:Ok i've added a few more lines of output, grab a new copy of the zip file and retest.

EDIT: While we are at it, enable debug mode for XBMC as well.

This time i need you to enable verbose user output.
Because we are enabling that, which will print user specific data, be sure to replace those keys with 000000's or something else before posting the log.

example, in the log, you'll see user key set to STRINGOFDATA and user secret set to STRINGOFDATA
change them to read 000000's before pasteing the log file
user key set to: 000000000000000000000
user secret set to: 0000000000000000000

Verbose user output enabled, new version installed. Here's the log:
Code:
16:05:15 T:2616 M:2349420544  NOTICE: couldn't load user information from userinfo.properties file
16:05:15 T:2616 M:2349420544  NOTICE: .. getAuth called ..
16:05:15 T:2616 M:2349420544  NOTICE: OSX Setting is set to: False
16:05:15 T:2616 M:2349420544  NOTICE: .. user configured ..
16:05:15 T:2616 M:2348642304  NOTICE: Token did not contain any errors
16:05:15 T:2616 M:2348642304  NOTICE: Authorize user access here: https://api-user.netflix.com/oauth/login?application_name=xbmcflix&oauth_consumer_key=xxxxx&oauth_token=xxxx
16:05:15 T:2616 M:2348642304  NOTICE: and then put this key / secret in MY_USER.request:
                                             'key': 'xxxxx',
                                             'secret': 'xxxx'
16:05:15 T:2616 M:2348642304  NOTICE: and run again.
16:05:17 T:2616 M:2342133760  NOTICE: browser open has completed
find quote
fekker Offline
Posting Freak
Posts: 1,545
Joined: Oct 2008
Reputation: 30
Post: #168
very odd as the next line of code is the dialog.

let's do it manually

in the iqueue.py file, open it with notepad and put the values in manually

MY_USER = {
'request': {
'key': 'xxxxxxxxxxxx',
'secret': 'xxxxxxxxxx'
},

key is the key that's output in the file
secret is the secret output in the file

that should cause the script to go to the second auth portion the next time you run it.
find quote
poutine Offline
Junior Member
Posts: 8
Joined: Oct 2010
Reputation: 0
Post: #169
fekker Wrote:let's do it manually

that should cause the script to go to the second auth portion the next time you run it.

Good news! Hard coding the info worked. Accessed my queue, started a movie. (Slightly bad news, 2 for 2 on hanging XBMC and my computer when attempting to quit XBMC via the exit command after stopping the movie and quitting the plugin - but that's probably a separate issue)

Not sure if you can suggest a next step, fekker. This will probably do me until the token expires Tongue Seriously, though, not sure it's worth the time and effort to troubleshoot unless you think it is worthwhile...
(This post was last modified: 2011-01-06 00:23 by poutine.)
find quote
eQUIV Offline
Senior Member
Posts: 202
Joined: Aug 2007
Reputation: 0
Post: #170
fekker Wrote:Does this link show you the new items for Netflix.ca ?
http://www.netflix.ca/NewWatchInstantlyRSS

Yes sir, it sure does.
find quote
Post Reply