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

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC (/showthread.php?tid=87552)



- Desensitized - 2010-12-23 08:20

I don't mean to be insistent, but does anyone have any input on my problem? I have both the XML files and the userinfo.txt file is empty yet I still get a script error when trying to look at my queue. I think it has something to do with the Netflix API


- izula - 2010-12-23 08:24

I was having a problem with the plugin so I removed XBMC from my Win7 box including userdata and loaded the v10.0 and then added the plugin via xbmc and I was able to get much further. I think my problem now is that I live in Canada and have a Canadian NetFlix account. Any idea how hard it would be to make this plugin work for Canada? I am more then willing to help in any way possible but my coding skills suck, I can be a good beta tester however.


- fekker - 2010-12-23 08:55

izula Wrote:I was having a problem with the plugin so I removed XBMC from my Win7 box including userdata and loaded the v10.0 and then added the plugin via xbmc and I was able to get much further. I think my problem now is that I live in Canada and have a Canadian NetFlix account. Any idea how hard it would be to make this plugin work for Canada? I am more then willing to help in any way possible but my coding skills suck, I can be a good beta tester however.

the netflix api calls for canada are not posted and they won't support them, doesn't mean we can't use them, just they won't provide any details on it for open dev's.. there's some info in the plex forum, but i don't know that they got it working

Quote:Desensitized I don't mean to be insistent, but does anyone have any input on my problem? I have both the XML files and the userinfo.txt file is empty yet I still get a script error when trying to look at my queue. I think it has something to do with the Netflix API
shoot me the pastebin of the xbmc log, full log please (don't need debug or anything, just the normal log)... make sure your xml files are being loaded, it'll show in xbmc's log

for osx, check the box for osx

if running older versions of the plugin, remove them and grab the newer one from xbmc's addon repo.

for xbmc version, use dharma 10 release or newer please


- RyconPayne - 2010-12-23 09:40

fekker Wrote:the netflix api calls for canada are not posted and they won't support them, doesn't mean we can't use them, just they won't provide any details on it for open dev's.. there's some info in the plex forum, but i don't know that they got it working


shoot me the pastebin of the xbmc log, full log please (don't need debug or anything, just the normal log)... make sure your xml files are being loaded, it'll show in xbmc's log

for osx, check the box for osx

if running older versions of the plugin, remove them and grab the newer one from xbmc's addon repo.

for xbmc version, use dharma 10 release or newer please

Sending you mine, if that's ok.

Edit: Can't seem to locate contact info for you, and this forum lacks private messages. ryconpayne@gmail.com is my e-mail.


- GoBanana - 2010-12-23 19:49

I have only one question, thanks.

AppleTV (Mac OS X )+ XBMC + Netflix = Streaming through Safari or Firefox

All I need is the information for the 2 files, after 9 pages it is still is not clear what is required to actually get it working, very very confused. Thank in advance.


I got IEwrap to work with a second monitor - tcat - 2010-12-23 20:04

Im not sure what to do with the source changes. Ive been trying to get the silverlight control to go full screen but havnt had much luck. any suggestions would be appreciated. I would really like to get it to go full screen and to relay the pause command to silverlight. it is still quite usable the way it is though.


Problems on Win7 and 10.0 - attilag78 - 2010-12-23 21:05

Hi,

I installed 10.0 and the plugin from within the Add-ons section. I'm on Windows 7 64-bit. I changed the two xml files (both in \AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources) as suggested:

advancedsettings.xml:
Code:
<advancedsettings>
<useddsfanart>true</useddsfanart>
  <videoextensions>
    <add>.html</add>
  </videoextensions>
</advancedsettings>

playercorefactory.xml
Code:
<playercorefactory>
  <players>
    <player name="IE" type="ExternalPlayer">
     <filename>c:\Program Files (x86)\Internet Explorer\iexplore.exe</filename>
     <args>-k "{1}"</args>
     <hidexbmc>false</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
    </player>
  </players>

  <rules action="prepend">
    <rule name="html" filetypes="html" player="IE" />
  </rules>
</playercorefactory>

When I try to open e.g. my instant queue (BTW I didn't find any login possibility), I got an error. I enabled debugging and here's the log:

Code:
13:42:58 T:6004 M:1205035008  NOTICE: userinfo folder: special://profile/addon_data/plugin.video.xbmcflicks/
13:42:58 T:6004 M:1205035008  NOTICE: USER INFO FILE LOC: special://profile/addon_data/plugin.video.xbmcflicks/userinfo.txt
13:42:58 T:6004 M:1205035008  NOTICE: couldn't load user information from userinfo.properties file
13:42:58 T:6004 M:1205035008  NOTICE: .. getAuth called ..
13:42:58 T:6004 M:1205035008  NOTICE: OSX Setting is set to: False
13:42:58 T:6004 M:1205035008  NOTICE: .. user configured ..
13:42:58 T:7708 M:1205035008   DEBUG: ------ Window Init (DialogBusy.xml) ------
13:42:58 T:7708 M:1205035008    INFO: Loading skin file: DialogBusy.xml
13:42:58 T:6004 M:1204981760   DEBUG: LoadLibraryExA called with flags:
                                             - LOAD_WITH_ALTERED_SEARCH_PATH
13:42:58 T:6004 M:1204981760   DEBUG: Win32DllLoader::Load(special://xbmc/system/python/DLLs\unicodedata.pyd)
13:42:59 T:4964 M:1206972416    INFO: Loading skin file: DialogProgress.xml
13:42:59 T:4964 M:1206964224   DEBUG: ------ Window Init (DialogProgress.xml) ------
13:43:00 T:7708 M:1206980608   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
13:43:01 T:6004 M:1208782848    INFO: -->Python script returned the following error<--
13:43:01 T:6004 M:1208782848   ERROR: Error Type: socket.gaierror
13:43:01 T:6004 M:1208782848   ERROR: Error Contents: (11004, 'getaddrinfo failed')
13:43:01 T:6004 M:1208655872   ERROR: Traceback (most recent call last):
                                              File "C:\Users\I816598\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\default.py​", line 26, in ?
                                                import resources.lib.menu as menu
                                              File "C:\Users\I816598\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\l​ib\menu.py", line 217, in ?
                                                getInstantQueue()
                                              File "C:\Users\I816598\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\l​ib\iqueue.py", line 762, in getInstantQueue
                                                initApp()
                                              File "C:\Users\I816598\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\l​ib\iqueue.py", line 757, in initApp
                                                user = getAuth(netflixClient,VERBOSE_USER_LOG)
                                              File "C:\Users\I816598\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\l​ib\iqueue.py", line 60, in getAuth
                                                (tok, url) = netflix.user.getRequestToken()
                                              File "C:\Users\I816598\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\l​ib\Netflix.py", line 45, in getRequestToken
                                                headers=oauthRequest.to_header())
                                              File "special://xbmc/system/python/Lib\httplib.py", line 804, in request
                                                self._send_request(method, url, body, headers)
                                              File "special://xbmc/system/python/Lib\httplib.py", line 827, in _send_request
                                                self.endheaders()
                                              File "special://xbmc/system/python/Lib\httplib.py", line 798, in endheaders
                                                self._send_output()
                                              File "special://xbmc/system/python/Lib\httplib.py", line 679, in _send_output
                                                self.send(msg)
                                              File "special://xbmc/system/python/Lib\httplib.py", line 646, in send
                                                self.connect()
                                              File "special://xbmc/system/python/Lib\httplib.py", line 614, in connect
                                                socket.SOCK_STREAM):
                                            gaierror: (11004, 'getaddrinfo failed')
13:43:01 T:6004 M:1208655872    INFO: -->End of Python script error report<--
13:43:01 T:6004 M:1208639488    INFO: Python script stopped
13:43:01 T:6004 M:1208639488   DEBUG: Thread 6004 terminating
13:43:01 T:7708 M:1208639488   DEBUG: python thread 4 destructed
13:43:01 T:7708 M:1208639488    INFO: Loading skin file: DialogKaiToast.xml
13:43:01 T:7708 M:1208635392   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
13:43:01 T:4964 M:1208602624   DEBUG:  XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
13:43:01 T:7708 M:1208594432   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.xbmcflicks/?mode=10
13:43:01 T:7708 M:1208594432   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.xbmcflicks/?mode=10) failed
13:43:01 T:7708 M:1208594432   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.xbmcflicks/)
13:43:01 T:7708 M:1208594432   DEBUG:   ParentPath = [addons://sources/video/]
13:43:01 T:3900 M:1208594432   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin XBMC Flicks - Netflix for XBMC('plugin://plugin.video.xbmcflicks/','0','')
13:43:01 T:3900 M:1208594432    INFO: initializing python engine.
13:43:01 T:3900 M:1208594432   DEBUG: new python thread created. id=5
13:43:01 T:3900 M:1208594432   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the XBMC Flicks - Netflix for XBMC plugin...
13:43:01 T:8112 M:1208594432   DEBUG: thread start, auto delete: 0
13:43:01 T:8112 M:1208594432   DEBUG: Python thread: start processing
13:43:01 T:8112 M:1208520704   DEBUG:   msg: 'import site' failed; use -v for traceback
13:43:01 T:8112 M:1208520704  NOTICE: -->Python Interpreter Initialized<--
13:43:01 T:8112 M:1208520704   DEBUG: XBPyThread::Process - The source file to load is C:\Users\I816598\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\default.py​
13:43:01 T:8112 M:1208520704   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\I816598\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks;C:\Users\I8​16598\AppData\Roaming\XBMC\addons\script.module.simplejson\lib;C:\Users\I816598\​AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\I816598\AppData\Roaming\XBMC\ad​dons\script.module.elementtree\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmcbin/system/python/python24.zip;special://xbmc/system/python\DLLs;special://xbmc/system/python\lib;special://xbmc/system/python\lib\plat-win;special://xbmc/system/python\lib\lib-tk;C:\Program Files (x86)\XBMC
13:43:01 T:8112 M:1208520704   DEBUG: XBPyThread::Process - Entering source directory C:\Users\I816598\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks
13:43:02 T:8112 M:1208000512  NOTICE: ##########################################################
13:43:02 T:8112 M:1208000512  NOTICE: Mode: 0
13:43:02 T:8112 M:1208000512  NOTICE: Arg1: 0
13:43:02 T:8112 M:1208000512  NOTICE: Arg2:
13:43:02 T:8112 M:1208000512  NOTICE: ##########################################################
13:43:02 T:3900 M:1208000512   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult- plugin returned successfully

I would appreciate if somebody could point me to the right direction.

Thanks,
Attila

PS: while trying to fit in the log into the post I saw an entry about userinfo.txt. The file is empty for me. It may very well be the problems (just guessing). Closed XBMC, deleted it, restar XBMC but still no luck. If you could guide me how to build it, I'd appreciate it.


- fekker - 2010-12-23 21:44

Here's the where files go info:

Windows 32 bit
advancedsettings.xml
Code:
<advancedsettings>
<useddsfanart>true</useddsfanart>
  <videoextensions>
    <add>.html</add>
  </videoextensions>
</advancedsettings>

playercorefactory.xml
Code:
<playercorefactory>
  <players>
    <player name="IE" type="ExternalPlayer">
     <filename>c:\Program Files\Internet Explorer\iexplore.exe</filename>
     <args>-k "{1}"</args>
     <hidexbmc>false</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
    </player>
  </players>

  <rules action="prepend">
    <rule name="html" filetypes="html" player="IE" />
  </rules>
</playercorefactory>

Regular Mode
if your not using portable mode, the files go here
%appdata%\xbmc\userdata

Portable Mode
For xbmc portable mode (-p option for xbmc)
C:\Program Files\XBMC\portable_data\userdata

Windows 64 bit
advancedsettings.xml
Code:
<advancedsettings>
<useddsfanart>true</useddsfanart>
  <videoextensions>
    <add>.html</add>
  </videoextensions>
</advancedsettings>

playercorefactory.xml
Code:
<playercorefactory>
  <players>
    <player name="IE" type="ExternalPlayer">
     <filename>c:\Program Files (x86)\Internet Explorer\iexplore.exe</filename>
     <args>-k "{1}"</args>
     <hidexbmc>false</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
    </player>
  </players>

  <rules action="prepend">
    <rule name="html" filetypes="html" player="IE" />
  </rules>
</playercorefactory>

Regular Mode
if your not using portable mode, the files go here
%appdata%\xbmc\userdata

Portable Mode
For xbmc portable mode (-p option for xbmc)
C:\Program Files (x86)\XBMC\portable_data\userdata

OSX
advancedsettings.xml
Code:
<advancedsettings>
<useddsfanart>true</useddsfanart>
  <videoextensions>
    <add>.html</add>
  </videoextensions>
</advancedsettings>

playercorefactory.xml
Code:
<playercorefactory>
  <players>
    <player name="IE" type="ExternalPlayer">
     <filename>/usr/bin/open</filename>
     <args>"{1}"</args>
     <hidexbmc>false</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
    </player>
  </players>

  <rules action="prepend">
    <rule name="htm" filetypes="htm" player="IE" />
  </rules>
</playercorefactory>

UserData folder can be found at /Users/<your_user_name>/Library/Application Support/XBMC/userdata
On the Apple TV it can be found /Users/frontrow/Library/Application Support/XBMC/userdata

if your having problems, i need the full xbmc log file, the start will show if it's loading the files or not, so please paste the whole log


- fekker - 2010-12-23 21:47

tcat Wrote:Im not sure what to do with the source changes. Ive been trying to get the silverlight control to go full screen but havnt had much luck. any suggestions would be appreciated. I would really like to get it to go full screen and to relay the pause command to silverlight. it is still quite usable the way it is though.

send the f key to make it fullscreen


[Apple TV] using xbmc flicks on atv - thr4773n - 2010-12-23 21:48

Hey guys,
Great work with the updates. There seems to be a lot of interest and activity in the software now with all of the add-ons and updates, and that is pretty darn cool.
I am not sure how to get this to work with the appletv. I have seen the work from the other installations, but it doesn't seem to have any success stories with the atv.
If anyone can point out a step by step or a link where there was positive results, please do so.

Thanks