•   
  • 1
  • 16
  • 17
  • 18(current)
  • 19
  • 20
  • 86
  •   
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux)
Hi, I'm having problems with some netflix TV shows. For some (a significant number), when I click on the show I get a "can't connect to network server" and the script fails. For other shows it returns the season list as expected.
It appears to be any new show I add to mylist behaves like this.

If I set to play other than return the episode list it plays OK.
All the faulty shows work OK directly through a browser and also though xbmcflicks.

It may be worth pointing out that I'm based in the UK and access US netflix through a subscription DNS.

Any help or thoughts would be appreciated.
Reply
(2014-01-07, 23:02)betrayer Wrote:
(2014-01-05, 05:17)AddonScriptorDE Wrote:
(2013-12-24, 14:38)M1chael Wrote: First of all - great add-on! I have been searching for something to integrate Netflix with XBMC for a long time Smile

However I have a question regarding tv-shows.

First off all, I can't seem to browse the shows - when I try to "enter" a show it just starts playing the next episode.
(2013-12-31, 03:23)Jazz78 Wrote: I can't get selecting seasons to work, I can play next episode but not select what season I want.
Mmm, sound like tvshows always get recognized as movies. Are you living in the US?

I have this same problem can't browse seasons and episodes, live in Norway if this helps, I have access to vpn, so i can "change" my location to us or uk will this help?

I had the same problem, but I found a solution. The problem is that the script determines whether it's a tv show or movie by matching the value in <span class="duration">, in the developers case these phrases are in English, whereas in my case they are in Swedish. So if the script doesn't find any of the following strings: "Season", "Series", "Episodes", "Collections", "Volume", it assumes it's a movie and starts playing immediately. You have to add your localized string translations to the script on row no 166.

edit: Or better yet, set your Netflix language to English.

Btw, thanks for an excellent script!
Reply
XBMCbuntu

Netflix error

Code:
11:54:29 T:3007498048   ERROR: GetDirectory - Error getting plugin://plugin.video.netflixbmc/
11:54:29 T:3007498048   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/) failed

12:01:01 T:2870971200   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'urllib2.URLError'>
                                            Error Contents: <urlopen error [Errno 8] _ssl.c:504: EOF occurred in violation of protocol>
                                            Traceback (most recent call last):
                                              File "/home/kasutaja/.xbmc/addons/plugin.video.netflixbmc/default.py", line 745, in <module>
                                                index()
                                              File "/home/kasutaja/.xbmc/addons/plugin.video.netflixbmc/default.py", line 100, in index
                                                if login():
                                              File "/home/kasutaja/.xbmc/addons/plugin.video.netflixbmc/default.py", line 461, in login
                                                content = opener.open("http://movies.netflix.com/").read()
                                              File "/usr/lib/python2.7/urllib2.py", line 407, in open
                                                response = meth(req, response)
                                              File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
                                                'http', request, response, code, msg, hdrs)
                                              File "/usr/lib/python2.7/urllib2.py", line 439, in error
                                                result = self._call_chain(*args)
                                              File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
                                                result = func(*args)
                                              File "/usr/lib/python2.7/urllib2.py", line 626, in http_error_302
                                                return self.parent.open(new, timeout=req.timeout)
                                              File "/usr/lib/python2.7/urllib2.py", line 407, in open
                                                response = meth(req, response)
                                              File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
                                                'http', request, response, code, msg, hdrs)
                                              File "/usr/lib/python2.7/urllib2.py", line 439, in error
                                                result = self._call_chain(*args)
                                              File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
                                                result = func(*args)
                                              File "/usr/lib/python2.7/urllib2.py", line 626, in http_error_302
                                                return self.parent.open(new, timeout=req.timeout)
                                              File "/usr/lib/python2.7/urllib2.py", line 401, in open
                                                response = self._open(req, data)
                                              File "/usr/lib/python2.7/urllib2.py", line 419, in _open
                                                '_open', req)
                                              File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
                                                result = func(*args)
                                              File "/usr/lib/python2.7/urllib2.py", line 1219, in https_open
                                                return self.do_open(httplib.HTTPSConnection, req)
                                              File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
                                                raise URLError(err)
                                            URLError: <urlopen error [Errno 8] _ssl.c:504: EOF occurred in violation of protocol>
                                            -->End of Python script error report<--
12:01:01 T:3007498048   ERROR: GetDirectory - Error getting plugin://plugin.video.netflixbmc/
12:01:01 T:3007498048   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/) failed
Reply
Since JohnWayne1977, who pm:ed me, asking a few questions will not accept replies Smile I'll add a little info here regarding the tv show problem.

Check the html source for a series page, find the "duration", eg.
Code:
<span class="duration">5 säsonger</span>"

Make sure the value ("5 säsonger") is matched in the script (default.py) on row 166.
Code:
if "Season" in duration or "Series" in duration or "Episodes" in duration or "Collections" in duration or "Volume" in duration or "säsong" in duration :
Reply
Hi, I'm in the UK with a subscription DNS giving me access to US netflix so would expect english. Strangely some TV shows expand to give seasons or episodes, a lot don't though. Dr Who works ok, Walking Dead doesn't. Walking dead plays OK when set to play automatically rather than give season/episode view.

I'll switch on some debug and check the log again, and also have a look at the html source.
Reply
Any way to get this to launch Chrome or Dolphin on Android?
Reply
(2014-01-13, 20:38)locoguano Wrote: Any way to get this to launch Chrome or Dolphin on Android?

Silverlight is x86-only and won't work on ARM, so unfortunately, no.
Reply
(2014-01-13, 20:38)locoguano Wrote: Any way to get this to launch Chrome or Dolphin on Android?

Why would you? Don't you make use of the official netflix app?
Reply
(2014-01-13, 16:29)PlasticMan Wrote: Since JohnWayne1977, who pm:ed me, asking a few questions will not accept replies Smile I'll add a little info here regarding the tv show problem.

Check the html source for a series page, find the "duration", eg.
Code:
<span class="duration">5 säsonger</span>"

Make sure the value ("5 säsonger") is matched in the script (default.py) on row 166.
Code:
if "Season" in duration or "Series" in duration or "Episodes" in duration or "Collections" in duration or "Volume" in duration or "säsong" in duration :

Sorry about that Blush, changed my mail settings now.

Thanks for your help, it worked like a charm.
Reply
I have some difficulties getting it to work on a dual screen setup.

It works fine when I use it while XBMC runs om the mainscreen (PC monitor) but when I try to use it when XBMC is set to the secondary screen (TV) it fails as it seems it does not recognize the preferred screen output.

Any idea how to fix it?


W7 x64 using Chrome
Reply
(2014-01-14, 09:11)hstegeman Wrote:
(2014-01-13, 20:38)locoguano Wrote: Any way to get this to launch Chrome or Dolphin on Android?

Why would you? Don't you make use of the official netflix app?

I like everything in one library... If I can export from an Netflix addon to do that, I'd prefer it. This is why I am using PlayOn right now with my Ouya. Its far from ideal, but everything is in one place.
Reply
(2014-01-11, 01:15)stealthdave72 Wrote:
(2014-01-09, 21:11)stealthdave72 Wrote: I'm having trouble getting the plugin to log in to Netflix. I've cleared the cache and cookies several times, and re-reentered my login credentials more often than I can count. The Chrome plugin is installed and working (tested with the YouTube leanback web site). Here's the relevant error messaging from the XBMC log:

Code:
10:19:40 T:139818518767552   ERROR: GetDirectory - Error getting plugin://plugin.video.netflixbmc/mode=listVideos&thumb&url=http%3a%2f%2fmovies.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall
10:19:40 T:139818518767552   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/mode=listVideos&thumb&url=http%3a%2f%2fmovies.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall) failed

I'm running XBMC 12.3 on XUbuntu 13.10. Any assistance would be greatly appreciated!

Just an update, I was able to successfully play a video on the same machine and user account in Chrome after launching the browser with the --user-agent parameter used by the NetfliXBMC plugin, so I know that Silverlight is set up properly. I looked at the code a bit, and it appears to be using Python to login directly rather than going through Chrome, so I don't think that it's a Chrome issue. Is there a way to get more debugging information from this plugin?

Still don't know what happened, but I wiped out my .xbmc folder in my home directory and started over, and now it is working as expected. My guess is that I had something installed that I probably wasn't using anymore that was causing problems.
Reply
Getting a script error when I try opening this add-on. Fresh XBMC install with fresh install of chrome launcher (tested working via youtube layback) and Netflixbmc.

Any help would be appreciated. Not quite sure what info in the debug log is necessary... but this is everything that stated error in regards to Netflixbmc.


Code:
17:44:29 T:5176  NOTICE: Thread Background Loader start, auto delete: false
17:44:31 T:1104  NOTICE: Thread XBPyThread start, auto delete: false
17:44:31 T:1104  NOTICE: -->Python Interpreter Initialized<--
17:44:34 T:1104   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'urllib2.URLError'>
                                            Error Contents: <urlopen error [Errno 8] _ssl.c:490: EOF occurred in violation of protocol>
                                            Traceback (most recent call last):
                                              File "C:\Users\Hat\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 745, in <module>
                                                index()
                                              File "C:\Users\Hat\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 100, in index
                                                if login():
                                              File "C:\Users\Hat\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 461, in login
                                                content = opener.open("http://movies.netflix.com/").read()
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 397, in open
                                                response = meth(req, response)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 510, in http_response
                                                'http', request, response, code, msg, hdrs)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 429, in error
                                                result = self._call_chain(*args)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 369, in _call_chain
                                                result = func(*args)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 605, in http_error_302
                                                return self.parent.open(new, timeout=req.timeout)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 397, in open
                                                response = meth(req, response)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 510, in http_response
                                                'http', request, response, code, msg, hdrs)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 429, in error
                                                result = self._call_chain(*args)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 369, in _call_chain
                                                result = func(*args)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 605, in http_error_302
                                                return self.parent.open(new, timeout=req.timeout)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 391, in open
                                                response = self._open(req, data)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 409, in _open
                                                '_open', req)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 369, in _call_chain
                                                result = func(*args)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 1178, in https_open
                                                return self.do_open(httplib.HTTPSConnection, req)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 1145, in do_open
                                                raise URLError(err)
                                            URLError: <urlopen error [Errno 8] _ssl.c:490: EOF occurred in violation of protocol>
                                            -->End of Python script error report<--
17:44:34 T:5484   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/
17:44:34 T:5484   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/) failed
17:44:34 T:5088  NOTICE: Thread Background Loader start, auto delete: false
17:46:12 T:4452  NOTICE: Thread Jobworker start, auto delete: true
17:46:14 T:2664  NOTICE: Thread Background Loader start, auto delete: false
17:46:14 T:5228  NOTICE: Thread Jobworker start, auto delete: true
17:46:46 T:2696  NOTICE: Previous line repeats 2 times.
17:46:46 T:2696  NOTICE: Thread XBPyThread start, auto delete: false
17:46:46 T:2696  NOTICE: -->Python Interpreter Initialized<--
17:46:50 T:4212  NOTICE: Thread XBPyThread start, auto delete: false
17:46:50 T:4212  NOTICE: -->Python Interpreter Initialized<--
17:46:51 T:6036  NOTICE: Thread XBPyThread start, auto delete: false
17:46:51 T:6036  NOTICE: -->Python Interpreter Initialized<--
17:47:06 T:1184  NOTICE: Thread Jobworker start, auto delete: true
17:47:10 T:3364  NOTICE: Thread Background Loader start, auto delete: false
17:47:12 T:6108  NOTICE: Previous line repeats 1 times.
17:47:12 T:6108  NOTICE: Thread Jobworker start, auto delete: true
17:47:22 T:5952  NOTICE: Previous line repeats 2 times.
17:47:22 T:5952  NOTICE: Thread CFileCache start, auto delete: false
17:47:24 T:5580  NOTICE: Thread Background Loader start, auto delete: false
17:47:59 T:4212  NOTICE: Previous line repeats 3 times.
17:47:59 T:4212  NOTICE: Thread XBPyThread start, auto delete: false
17:47:59 T:4212  NOTICE: -->Python Interpreter Initialized<--
17:48:00 T:4212   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'urllib2.URLError'>
                                            Error Contents: <urlopen error [Errno 8] _ssl.c:490: EOF occurred in violation of protocol>
                                            Traceback (most recent call last):
                                              File "C:\Users\Hat\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 745, in <module>
                                                index()
                                              File "C:\Users\Hat\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 100, in index
                                                if login():
                                              File "C:\Users\Hat\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 461, in login
                                                content = opener.open("http://movies.netflix.com/").read()
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 397, in open
                                                response = meth(req, response)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 510, in http_response
                                                'http', request, response, code, msg, hdrs)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 429, in error
                                                result = self._call_chain(*args)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 369, in _call_chain
                                                result = func(*args)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 605, in http_error_302
                                                return self.parent.open(new, timeout=req.timeout)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 397, in open
                                                response = meth(req, response)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 510, in http_response
                                                'http', request, response, code, msg, hdrs)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 429, in error
                                                result = self._call_chain(*args)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 369, in _call_chain
                                                result = func(*args)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 605, in http_error_302
                                                return self.parent.open(new, timeout=req.timeout)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 391, in open
                                                response = self._open(req, data)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 409, in _open
                                                '_open', req)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 369, in _call_chain
                                                result = func(*args)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 1178, in https_open
                                                return self.do_open(httplib.HTTPSConnection, req)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 1145, in do_open
                                                raise URLError(err)
                                            URLError: <urlopen error [Errno 8] _ssl.c:490: EOF occurred in violation of protocol>
                                            -->End of Python script error report<--
17:48:00 T:5484   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/
17:48:00 T:5484   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/) failed
17:48:00 T:5684  NOTICE: Thread Background Loader start, auto delete: false
17:48:13 T:5484  NOTICE: Log level changed to 2
17:48:13 T:5484  NOTICE: Enabled debug logging due to GUI setting. Level 2.
17:48:13 T:5484   DEBUG: ------ Window Init () ------
17:48:15 T:5484   DEBUG: Keyboard: scancode: 01, sym: 001b, unicode: 001b, modifier: 0
17:48:15 T:5484   DEBUG: CApplication::OnKey: escape (f01b) pressed, action is PreviousMenu
17:48:15 T:5484   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
17:48:15 T:5484   DEBUG: ------ Window Deinit (SettingsCategory.xml) ------
17:48:15 T:5484   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
17:48:15 T:5484   DEBUG: ------ Window Init (Settings.xml) ------
17:48:16 T:5484   DEBUG: Keyboard: scancode: 01, sym: 001b, unicode: 001b, modifier: 0
17:48:16 T:5484   DEBUG: CApplication::OnKey: escape (f01b) pressed, action is PreviousMenu
17:48:16 T:5484   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
17:48:16 T:5484   DEBUG: ------ Window Deinit (Settings.xml) ------
17:48:16 T:5484   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
17:48:16 T:5484   DEBUG: ------ Window Init (Home.xml) ------
17:48:16 T:5484   DEBUG: ------ Window Init (Pointer.xml) ------
17:48:17 T:5484    INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://mirrors.xbmc.org (easy=00BFBEE8, multi=00317CC0)
17:48:17 T:5484   DEBUG: Keyboard: scancode: 4b, sym: 0114, unicode: 0000, modifier: 0
17:48:17 T:5484   DEBUG: CApplication::OnKey: left (f082) pressed, action is Left
17:48:17 T:5484   DEBUG: ------ Window Deinit (Pointer.xml) ------
17:48:17 T:5484    INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://mirrors.xbmc.org (easy=00BA9040, multi=00317BB0)
17:48:17 T:5484   DEBUG: Keyboard: scancode: 4b, sym: 0114, unicode: 0000, modifier: 0
17:48:17 T:5484   DEBUG: CApplication::OnKey: left (f082) pressed, action is Left
17:48:17 T:5484   DEBUG: Keyboard: scancode: 4b, sym: 0114, unicode: 0000, modifier: 0
17:48:17 T:5484   DEBUG: CApplication::OnKey: left (f082) pressed, action is Left
17:48:18 T:5484   DEBUG: Keyboard: scancode: 4b, sym: 0114, unicode: 0000, modifier: 0
17:48:18 T:5484   DEBUG: CApplication::OnKey: left (f082) pressed, action is Left
17:48:18 T:5484   DEBUG: Keyboard: scancode: 4b, sym: 0114, unicode: 0000, modifier: 0
17:48:18 T:5484   DEBUG: CApplication::OnKey: left (f082) pressed, action is Left
17:48:18 T:5484   DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
17:48:18 T:5484   DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
17:48:19 T:5484   DEBUG: Keyboard: scancode: 50, sym: 0112, unicode: 0000, modifier: 0
17:48:19 T:5484   DEBUG: CApplication::OnKey: down (f081) pressed, action is Down
17:48:19 T:5484   DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
17:48:19 T:5484   DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
17:48:20 T:5484   DEBUG: Keyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
17:48:20 T:5484   DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
17:48:20 T:5484   DEBUG: CApplication::ExecuteXBMCAction : Translating ActivateWindow(Videos,Addons,return)
17:48:20 T:5484   DEBUG: CApplication::ExecuteXBMCAction : To ActivateWindow(Videos,Addons,return)
17:48:20 T:5484   DEBUG: Activating window ID: 10025
17:48:20 T:5484   DEBUG: ------ Window Deinit (Home.xml) ------
17:48:20 T:5484   DEBUG: CApplication::ExecuteXBMCAction : Translating SetProperty(VideosDirectLink,True)
17:48:20 T:5484   DEBUG: CApplication::ExecuteXBMCAction : To SetProperty(VideosDirectLink,True)
17:48:20 T:5484   DEBUG: ------ Window Init (MyVideoNav.xml) ------
17:48:20 T:5484   DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video/)
17:48:20 T:5484   DEBUG:   ParentPath = [addons://sources/video/]
17:48:20 T:5716  NOTICE: Thread Background Loader start, auto delete: false
17:48:20 T:5716   DEBUG: Thread Background Loader 5716 terminating
17:48:22 T:5484   DEBUG: Keyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
17:48:22 T:5484   DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
17:48:22 T:5484   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.netflixbmc/)
17:48:22 T:5484   DEBUG:   ParentPath = [addons://sources/video/]
17:48:22 T:1184   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin NetfliXBMC('plugin://plugin.video.netflixbmc/','6','')
17:48:22 T:1184    INFO: initializing python engine.
17:48:22 T:1184   DEBUG: new python thread created. id=9
17:48:22 T:1184   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the NetfliXBMC (id=9) plugin...
17:48:22 T:1380  NOTICE: Thread XBPyThread start, auto delete: false
17:48:22 T:1380   DEBUG: Python thread: start processing
17:48:22 T:1380  NOTICE: -->Python Interpreter Initialized<--
17:48:22 T:1380   DEBUG: XBPyThread::Process - The source file to load is C:\Users\Hat\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py
17:48:22 T:1380   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\Hat\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\Hat\AppData\Roaming\XBMC\addons\script.module.simplejson\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python26.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages;
17:48:22 T:1380   DEBUG: XBPyThread::Process - Entering source directory C:\Users\Hat\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc
17:48:22 T:1380   DEBUG: Instantiating addon using automatically obtained id of "plugin.video.netflixbmc" dependent on version 2.1.0 of the xbmc.python api
17:48:22 T:5484   DEBUG: ------ Window Init (DialogBusy.xml) ------
17:48:22 T:1380   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'urllib2.URLError'>
                                            Error Contents: <urlopen error [Errno 8] _ssl.c:490: EOF occurred in violation of protocol>
                                            Traceback (most recent call last):
                                              File "C:\Users\Hat\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 745, in <module>
                                                index()
                                              File "C:\Users\Hat\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 100, in index
                                                if login():
                                              File "C:\Users\Hat\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 461, in login
                                                content = opener.open("http://movies.netflix.com/").read()
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 397, in open
                                                response = meth(req, response)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 510, in http_response
                                                'http', request, response, code, msg, hdrs)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 429, in error
                                                result = self._call_chain(*args)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 369, in _call_chain
                                                result = func(*args)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 605, in http_error_302
                                                return self.parent.open(new, timeout=req.timeout)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 397, in open
                                                response = meth(req, response)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 510, in http_response
                                                'http', request, response, code, msg, hdrs)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 429, in error
                                                result = self._call_chain(*args)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 369, in _call_chain
                                                result = func(*args)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 605, in http_error_302
                                                return self.parent.open(new, timeout=req.timeout)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 391, in open
                                                response = self._open(req, data)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 409, in _open
                                                '_open', req)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 369, in _call_chain
                                                result = func(*args)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 1178, in https_open
                                                return self.do_open(httplib.HTTPSConnection, req)
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib2.py", line 1145, in do_open
                                                raise URLError(err)
                                            URLError: <urlopen error [Errno 8] _ssl.c:490: EOF occurred in violation of protocol>
                                            -->End of Python script error report<--
17:48:22 T:5484   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
17:48:22 T:1380    INFO: Python script stopped
17:48:22 T:1380   DEBUG: Thread XBPyThread 1380 terminating
17:48:22 T:5484   DEBUG: waiting for python thread 9 (C:\Users\Hat\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py) to stop
17:48:22 T:5484   DEBUG: python thread 9 (C:\Users\Hat\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py) destructed
17:48:22 T:1184   DEBUG:  XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
17:48:22 T:5484   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/
17:48:22 T:5484   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/) failed
17:48:22 T:5484   DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video/)
17:48:22 T:5484   DEBUG:   ParentPath = []

Thanks again.
Reply
(2014-01-14, 16:53)AgentX Wrote: I have some difficulties getting it to work on a dual screen setup.

It works fine when I use it while XBMC runs om the mainscreen (PC monitor) but when I try to use it when XBMC is set to the secondary screen (TV) it fails as it seems it does not recognize the preferred screen output.

Any idea how to fix it?


W7 x64 using Chrome

At first I was having issues with multiple monitors as well, however I think I've got it all sorted out now...and it seems to be working great. In my case I have XBMC running on the second monitor.

First, you need to "lock in" the default monitor for the browser you are using so that it opens on the second monitor by default. Open the browser then drag it over to the second monitor. Once there close the browser (be sure that the last browser window/tab to close is on the monitor you want to use). The browser will remember the last monitor it was closed on and open there next time. This works the same for IE as well as Chrome. Test that it is working by opening the browser...it should open on your second monitor, be sure that when you close it again that it is still on your second monitor.

Now, in my case this made NetfliXBMC functional, however I was getting a lot of flickering when launching videos because the browser window was loosing focus and the active window kept changing. Luckily after a little digging, this turned out to be an easy fix...

Last step is to set a custom mouse cursor position. From the NetfliXBMC add-on settings, launch the configuration control panel. You should see an option in the bottom right corner to set a custom cursor position. You will want to set this to coordinates that land the mouse on the second monitor, but out of the way of the video. For example if your primary monitor is on the left of the second monitor and has a resolution of 1680x1050, then if you set the cursor position to 1681x0 the mouse will be in the top left corner of the second monitor during playback, this fixed all issues for me. You can experiment with different mouse locations in order to hide the cursor, however I found that the key factor to making the key mappings work was to have the mouse on the second monitor while the video was playing full screen.

Hope that helps your setup. Good luck, and a big thanks to AddonScriptorDE and all those that have contributed to the add-on, great work!
Reply
(2014-01-15, 05:28)LastChoice Wrote:
(2014-01-14, 16:53)AgentX Wrote: I have some difficulties getting it to work on a dual screen setup.

It works fine when I use it while XBMC runs om the mainscreen (PC monitor) but when I try to use it when XBMC is set to the secondary screen (TV) it fails as it seems it does not recognize the preferred screen output.

Any idea how to fix it?


W7 x64 using Chrome

At first I was having issues with multiple monitors as well, however I think I've got it all sorted out now...and it seems to be working great. In my case I have XBMC running on the second monitor.

First, you need to "lock in" the default monitor for the browser you are using so that it opens on the second monitor by default. Open the browser then drag it over to the second monitor. Once there close the browser (be sure that the last browser window/tab to close is on the monitor you want to use). The browser will remember the last monitor it was closed on and open there next time. This works the same for IE as well as Chrome. Test that it is working by opening the browser...it should open on your second monitor, be sure that when you close it again that it is still on your second monitor.

Now, in my case this made NetfliXBMC functional, however I was getting a lot of flickering when launching videos because the browser window was loosing focus and the active window kept changing. Luckily after a little digging, this turned out to be an easy fix...

Last step is to set a custom mouse cursor position. From the NetfliXBMC add-on settings, launch the configuration control panel. You should see an option in the bottom right corner to set a custom cursor position. You will want to set this to coordinates that land the mouse on the second monitor, but out of the way of the video. For example if your primary monitor is on the left of the second monitor and has a resolution of 1680x1050, then if you set the cursor position to 1681x0 the mouse will be in the top left corner of the second monitor during playback, this fixed all issues for me. You can experiment with different mouse locations in order to hide the cursor, however I found that the key factor to making the key mappings work was to have the mouse on the second monitor while the video was playing full screen.

Hope that helps your setup. Good luck, and a big thanks to AddonScriptorDE and all those that have contributed to the add-on, great work!

Thank you for your help.
Your suggestions made it work somewhat now.

There are two downsides still though;

* The audio needs to be manually changed to the TV hdmi output

* I am unable to control the NetfliXBMC with my phone (using Yatze) and the controlsetup screen does not pick up on it either (probably because it i still assigned to xbmc itself?


Anyways thanks again and I'll await future developments.
Reply
  •   
  • 1
  • 16
  • 17
  • 18(current)
  • 19
  • 20
  • 86
  •   



Logout Mark Read Team Forum Stats Members Help
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux)7
This forum uses Lukasz Tkacz MyBB addons.