• 1
  • 53
  • 54
  • 55(current)
  • 56
  • 57
  • 102
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2
Sorry,didnt mean to.
Image
Reply
OK I'm struggling with NetfliXBMC for two days now.
My setup:
- physical PC (no VM), i5 CPU, 16 GB RAM, plenty of hardware so to speak, connected via HDMI to a 40" TV
- Windows 8.1 Pro, activated, all OK there
- Kodi 15, latest, downloaded from kodi.tv
- NetfliXBMC nightly (1.3.4), ZIP file downloaded from author's repository and installed,
- Chrome Launcher downloaded from SuperRepo and installed
- ChromeLauncher works fine (tested with Vimeo Couch)
- Netflix works using the Windows app, but doesn't work from XBMC (with either Chrome or IE)

I'm getting either a "NetfliXBMC Error, please see log file" (e.g. when going into "My List", I get a "getting Metadata" progress window which goes to 2% and then the error) or an empty window (e.g. in the Viewing Activity). I do get the Netflix background upon launching the addon (Videos - Addons - NetflixBMC).

The errors in the log file are:

Quote:18:09:41 T:4796 NOTICE: -->Python Interpreter Initialized<--
18:09:45 T:4796 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'match' referenced before assignment
Traceback (most recent call last):
File "C:\Users\Adrian\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py", line 977, in <module>
listVideos(url, type)
File "C:\Users\Adrian\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py", line 164, in listVideos
for videoID in match:
UnboundLocalError: local variable 'match' referenced before assignment
-->End of Python script error report<--
18:09:45 T:4348 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=movie&url=http%3a%2f%2fwww.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall
18:09:45 T:4348 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=movie&url=http%3a%2f%2fwww.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall) failed
18:09:45 T:4940 NOTICE: Thread LanguageInvoker start, auto delete: false
18:09:45 T:4940 NOTICE: -->Python Interpreter Initialized<--
18:09:45 T:4928 NOTICE: Thread BackgroundLoader start, auto delete: false
18:09:47 T:4756 NOTICE: Thread LanguageInvoker start, auto delete: false
18:09:47 T:4756 NOTICE: -->Python Interpreter Initialized<--
18:09:53 T:1984 NOTICE: Thread BackgroundLoader start, auto delete: false
18:09:55 T:828 NOTICE: Thread LanguageInvoker start, auto delete: false
18:09:55 T:828 NOTICE: -->Python Interpreter Initialized<--
18:09:55 T:1244 NOTICE: Thread BackgroundLoader start, auto delete: false
18:10:03 T:4676 NOTICE: Previous line repeats 1 times.
18:10:03 T:4676 NOTICE: Thread LanguageInvoker start, auto delete: false
18:10:03 T:4676 NOTICE: -->Python Interpreter Initialized<--
18:10:03 T:4308 NOTICE: Thread BackgroundLoader start, auto delete: false
18:10:06 T:4292 NOTICE: Thread LanguageInvoker start, auto delete: false
18:10:06 T:4292 NOTICE: -->Python Interpreter Initialized<--
18:10:10 T:4292 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'match' referenced before assignment
Traceback (most recent call last):
File "C:\Users\Adrian\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py", line 977, in <module>
listVideos(url, type)
File "C:\Users\Adrian\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py", line 164, in listVideos
for videoID in match:
UnboundLocalError: local variable 'match' referenced before assignment
-->End of Python script error report<--
18:10:10 T:4348 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=tv&url=http%3a%2f%2fwww.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall
18:10:10 T:4348 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=tv&url=http%3a%2f%2fwww.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall) failed
18:10:10 T:4300 NOTICE: Thread LanguageInvoker start, auto delete: false
18:10:10 T:4300 NOTICE: -->Python Interpreter Initialized<--
18:10:11 T:4304 NOTICE: Thread BackgroundLoader start, auto delete: false
18:10:51 T:3496 NOTICE: Previous line repeats 3 times.
18:10:51 T:3496 NOTICE: Thread LanguageInvoker start, auto delete: false
18:10:51 T:4348 ERROR: Control 50 in window 10025 has been asked to focus, but it can't
18:10:51 T:3496 NOTICE: -->Python Interpreter Initialized<--
18:10:51 T:4732 NOTICE: Thread BackgroundLoader start, auto delete: false
18:10:55 T:4592 NOTICE: Thread LanguageInvoker start, auto delete: false
18:10:55 T:4592 NOTICE: -->Python Interpreter Initialized<--
18:10:59 T:4592 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.UnboundLocalError'>
Error Contents: local variable 'match' referenced before assignment
Traceback (most recent call last):
File "C:\Users\Adrian\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py", line 977, in <module>
listVideos(url, type)
File "C:\Users\Adrian\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py", line 164, in listVideos
for videoID in match:
UnboundLocalError: local variable 'match' referenced before assignment
-->End of Python script error report<--
18:10:59 T:4348 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=tv&url=http%3a%2f%2fwww.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall
18:10:59 T:4348 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=tv&url=http%3a%2f%2fwww.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall) failed
18:10:59 T:1324 NOTICE: Thread LanguageInvoker start, auto delete: false
18:10:59 T:1324 NOTICE: -->Python Interpreter Initialized<--
18:10:59 T:4052 NOTICE: Thread BackgroundLoader start, auto delete: false
18:15:24 T:4644 NOTICE: Thread JobWorker start, auto delete: true
18:15:24 T:5064 NOTICE: Thread LanguageInvoker start, auto delete: false
18:15:24 T:5064 NOTICE: -->Python Interpreter Initialized<--
18:15:29 T:4636 NOTICE: Thread BackgroundLoader start, auto delete: false
18:15:31 T:2704 NOTICE: Thread LanguageInvoker start, auto delete: false
18:15:31 T:2704 NOTICE: -->Python Interpreter Initialized<--
18:15:31 T:1944 NOTICE: Thread BackgroundLoader start, auto delete: false
18:15:32 T:2252 NOTICE: Thread LanguageInvoker start, auto delete: false
18:15:32 T:2252 NOTICE: -->Python Interpreter Initialized<--
18:15:35 T:2252 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'urllib2.HTTPError'>
Error Contents: HTTP Error 500: Internal Server Error
Traceback (most recent call last):
File "C:\Users\Adrian\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py", line 977, in <module>
listVideos(url, type)
File "C:\Users\Adrian\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py", line 140, in listVideos
content = opener.open(url).read()
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 410, in open
response = meth(req, response)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 448, in error
return self._call_chain(*args)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 500: Internal Server Error
-->End of Python script error report<--
18:15:35 T:4348 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=tv&url=http%3a%2f%2fwww.netflix.com%2fWiRecentAdditionsGallery%3fnRR%3dreleaseDate%26nRT%3dall%26pn%3d1%26np%3d1%26actionMethod%3djson
18:15:35 T:4348 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=tv&url=http%3a%2f%2fwww.netflix.com%2fWiRecentAdditionsGallery%3fnRR%3dreleaseDate%26nRT%3dall%26pn%3d1%26np%3d1%26actionMethod%3djson) failed
18:15:35 T:4596 NOTICE: Thread LanguageInvoker start, auto delete: false

Any ideas?
Reply
Two issues here:

1. No sound in Chrome, Kodi sounds work fine though. Could this be due to launching Kodi.exe as shell instead of explorer.exe? I'm using Launcher4Kodi and I had to add chrome.exe to the application list, otherwiese it would steal the focus from the chrome window (figured that out already), so I imagine this could also be the reason why there is no sound in chrome?

2. My Harmony isn't working in the chrome window, only the move forward key is working. Particularly, I cannot exit the movie/episode and go back to Kodi. Ie. I'm stuck in Netflix.
Reply
Furthermore - if I try to install from the repository mentioned in the first post, the download gets stuck at 3% and nothing further happens. Kodi freezes upon exit and the only way to get back in is an "end task". Then (after restarting Kodi) the NetflixBMC addon is visible, but generates the errors above.
Reply
Hmm very interesting. It seems to be working now.
Steps I took:
1) uninstall all plugins, then uninstall Kodi
2) go to c:\users\<your username>\appdata\Roaming and make sure the Kodi folder is gone
3) install from the repository in the first post
4) download the NetfliXBMC addon, it will get stuck at 3%
5) Let it stay at 3% for a while, then press Enter and accept to "cancel" the download
6) you will get a popup saying Addon Enabled
7) Go ahead and use it as expected.
Reply
(2015-06-05, 19:14)adiadi Wrote: Hmm very interesting. It seems to be working now.
Steps I took:
1) uninstall all plugins, then uninstall Kodi
2) go to c:\users\<your username>\appdata\Roaming and make sure the Kodi folder is gone
3) install from the repository in the first post
4) download the NetfliXBMC addon, it will get stuck at 3%
5) Let it stay at 3% for a while, then press Enter and accept to "cancel" the download
6) you will get a popup saying Addon Enabled
7) Go ahead and use it as expected.

Perhaps your problem is superrepo, which is unnecessary and will probably screw your system royally.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
What confused me was that the addon download from the OP seemed to get stuck at 3%, more than once.
No idea why it finally worked when I tried last, may have been the repeated uninstalls and reinstalls.

Next question - how do I make the browser window (Chrome/IE) close after exiting the movie? As I'm planning to use XBMC for a HTPC, I'd prefer getting rid of the keyboard altogether and I'm not sure if I can implement a Ctrl-W or Alt-F4 using a regular remote.
Reply
Hoping someone can help. I've tried the addon on both a Win7 machine and a Win8.1 machine. Both are running Kodi 14.2 and the latest version of the addon (1.3.4). Tried Chrome on the Win7 machine (version 43) and IE on the win8.1 machine (fresh install). In both cases I can access some of the submenus (genres for example) but all I get is a blank page. If I try to access recently viewed, it returns an addon script error (seems to be related to metadata retrieval). Really hoping someone might be able to assist with this as integrating netflix into XBMC is something I've been looking to do for a long while.
Reply
I'm wondering if devs could take a look at incorporating some of the functions in this chromium addon for OpenELEC:
https://www.dropbox.com/sh/7rwud8jv5xu85...ddons?dl=0

It includes funtions to disable the sound of Kodi, to start chromium with the same audio device taken from Kodi settings. That means you have GUI sounds enabled in Kodi, and that you also don't need to with asound.conf.

It also seems to autohide the mouse cursor without any external tools, but maybe that is because it's starting Chromiums Ash "desktop".

Since Netflixbmc has the option of using/not using Chrome launcher, I wonder if these functions would best be suited for a seperate service addon. If Netflixbmc launch the browser directly and/or is not using Linux, then Netflixbmc would call this library. If Netflix use Chrome Launcher, then let Chrome Launcher invoke the separate addon/library to disable the Kodi audio device and add a line argument to start Chrome/Chromium with the audio device that Kodi is configured to use. What do you think?

edit: yes it seems Chromiums ash does autohide the cursor when the video starts, but it reappears when a new episode autostarts and doesn't autohide after that. Which is also the problem with xdotoolSmile
Reply
(2015-06-06, 23:53)dbpca Wrote: Hoping someone can help. I've tried the addon on both a Win7 machine and a Win8.1 machine. Both are running Kodi 14.2 and the latest version of the addon (1.3.4). Tried Chrome on the Win7 machine (version 43) and IE on the win8.1 machine (fresh install). In both cases I can access some of the submenus (genres for example) but all I get is a blank page. If I try to access recently viewed, it returns an addon script error (seems to be related to metadata retrieval). Really hoping someone might be able to assist with this as integrating netflix into XBMC is something I've been looking to do for a long while.

The latest version of netflixbmc is 1.3.21. Look at the bottom of the first post in this thread for the repo to download.
Reply
Alelec.net appears to be down?

//edit: back up now.
Reply
(2015-06-07, 16:39)mattress Wrote: Alelec.net appears to be down?

//edit: back up now.

Yeah my isp's authentication server is shit, seems to go down a bit. Normally not a problem as the connection is very stable but I had to update my router firmware last night, then after the reboot I couldn't connect for a few hours until their end came back up.
alelec kodi repo, hosting my binary addons not eligible for the official repo .
netflix, sbs ondemand, webdriver etc.

http://kodi.alelec.net/
Reply
(2015-06-07, 10:23)Soli Wrote: I'm wondering if devs could take a look at incorporating some of the functions in this chromium addon for OpenELEC:
https://www.dropbox.com/sh/7rwud8jv5xu85...ddons?dl=0

It includes funtions to disable the sound of Kodi, to start chromium with the same audio device taken from Kodi settings. That means you have GUI sounds enabled in Kodi, and that you also don't need to with asound.conf.

It also seems to autohide the mouse cursor without any external tools, but maybe that is because it's starting Chromiums Ash "desktop".

Since Netflixbmc has the option of using/not using Chrome launcher, I wonder if these functions would best be suited for a seperate service addon. If Netflixbmc launch the browser directly and/or is not using Linux, then Netflixbmc would call this library. If Netflix use Chrome Launcher, then let Chrome Launcher invoke the separate addon/library to disable the Kodi audio device and add a line argument to start Chrome/Chromium with the audio device that Kodi is configured to use. What do you think?

edit: yes it seems Chromiums ash does autohide the cursor when the video starts, but it reappears when a new episode autostarts and doesn't autohide after that. Which is also the problem with xdotoolSmile

I've had a quick look at this. There's a couple of useful tricks we can learn from (with the nav sounds etc) however bundling our own copy of chromium is not a good option for a couple of reasons:

* kodi seems to have trouble with downloading large binaries in an addon - there's been a lot of people for whom the 6MB canned user data fails, and there's no detection or retry of this. Perhaps if I built a separate downloader into the addon? a bit of a pain really.

* chromium does not play netflix without the widevine drm decoders. It is not legal for me to distribute these, and could get into a whole lot of hassle if I do and get caught. Even if I did, then have to keep trying to stay up to date as netflix switches to new versions etc. And then there's trying to keep up with it for all supported platforms, I'm not sure if even works at all on windows? Otherwise I have to ask users to copy widevine from an exisitng install of chrome which is also pretty painful.

Lastly, I think I can get all the benefits that have been built into that guy's modified chromium with what I'm trying to do in my new remote-control of chrome, although that's not going very smoothly I still think I'll keep pursuing it.

Thanks for the suggestion though, there's definitely some useful ideas there.
alelec kodi repo, hosting my binary addons not eligible for the official repo .
netflix, sbs ondemand, webdriver etc.

http://kodi.alelec.net/
Reply
(2015-06-05, 18:35)jaochoo Wrote: Two issues here:

1. No sound in Chrome, Kodi sounds work fine though. Could this be due to launching Kodi.exe as shell instead of explorer.exe? I'm using Launcher4Kodi and I had to add chrome.exe to the application list, otherwiese it would steal the focus from the chrome window (figured that out already), so I imagine this could also be the reason why there is no sound in chrome?

2. My Harmony isn't working in the chrome window, only the move forward key is working. Particularly, I cannot exit the movie/episode and go back to Kodi. Ie. I'm stuck in Netflix.

1. try turning off nav sounds, sometimes these keep the audio device locked and chrome can't use it.

2. what os / method of remote in kodi are you using? In advanced settings try to enable "Enable Webremote Rontrol". This might get the actions forwarding for your remote if kodi is handling it natively.
alelec kodi repo, hosting my binary addons not eligible for the official repo .
netflix, sbs ondemand, webdriver etc.

http://kodi.alelec.net/
Reply
Corona I didn't mean to imply distributing Chromium, only borrowing some of the small code snippets ( default.py. ) inside the addon itself. Mostly to enable Nav sounds (for Alsa users) and launching Chrome with the same audio device as Kodi is configured with.
Reply
  • 1
  • 53
  • 54
  • 55(current)
  • 56
  • 57
  • 102

Logout Mark Read Team Forum Stats Members Help
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 217