2011-07-12, 04:45
Here's how it works under the hood
addon loads, grabs your auth information if it's there, if it's not it uses the open command to load the page to get the info from netflix, it's a multipart auth system that must be done in a very short time, and your computers time/date must be in sync with the NTP servers out there or it'll fail.
when you put the user info into the iqueue.py file, that's really just the first part of the auth process, the addon has to be launched again to finish the auth with the servers and complete the process.
after auth is done, the data is written to your xbmc addon's data files, it's then used from there on out. That's the end of the open command that's used for initial auth, from there on out it's using the playercorefactory.xml settings to pick what browser to launch.
for what to use to open the app, honestly I just have to guess as I have no way of testing it, firefox seemed to be a safe bet, if we can nail down what works on all the osx os's, I'll put it in there.
the setup works the same for all os's, windows, osx, linux (when chrome's html5 plugin is done, it'll work under linux with only a few code changes to the initial auth portion)
here's what will help me help you
find the command line options to open a browser to a specific url for all the main supported browsers (firefox, safari, chrome, etc.)
if you had to do anything specific to make that command line work (like app association, etc) please be specific as to what was done
when something goes wrong, put the addon into debug mode for it's output to the xbmc log file
when it's user auth related, use the option to include user specific info (it's in the addon settings) BUT .. THIS IS IMPORTANT.. do not post your unique user auth strings that are in there, those are for your account, while it would be hard (due to the time limitation), it's not impossible that someone could (if they understood netflix oauth system) mimic your account and auth something that works with your information.
you help me, i help you, the addon gets better
addon loads, grabs your auth information if it's there, if it's not it uses the open command to load the page to get the info from netflix, it's a multipart auth system that must be done in a very short time, and your computers time/date must be in sync with the NTP servers out there or it'll fail.
when you put the user info into the iqueue.py file, that's really just the first part of the auth process, the addon has to be launched again to finish the auth with the servers and complete the process.
after auth is done, the data is written to your xbmc addon's data files, it's then used from there on out. That's the end of the open command that's used for initial auth, from there on out it's using the playercorefactory.xml settings to pick what browser to launch.
for what to use to open the app, honestly I just have to guess as I have no way of testing it, firefox seemed to be a safe bet, if we can nail down what works on all the osx os's, I'll put it in there.
the setup works the same for all os's, windows, osx, linux (when chrome's html5 plugin is done, it'll work under linux with only a few code changes to the initial auth portion)
here's what will help me help you
find the command line options to open a browser to a specific url for all the main supported browsers (firefox, safari, chrome, etc.)
if you had to do anything specific to make that command line work (like app association, etc) please be specific as to what was done
when something goes wrong, put the addon into debug mode for it's output to the xbmc log file
when it's user auth related, use the option to include user specific info (it's in the addon settings) BUT .. THIS IS IMPORTANT.. do not post your unique user auth strings that are in there, those are for your account, while it would be hard (due to the time limitation), it's not impossible that someone could (if they understood netflix oauth system) mimic your account and auth something that works with your information.
you help me, i help you, the addon gets better