Kodi Community Forum
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 (/showthread.php?tid=211574)



RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - Talguy - 2015-03-18

I love this addon and use it all the time. Has anyone found a way for us to get 5.1 surround sound out of this addon? Like true dolby digital not the I convert stereo to psuedo 5.1


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - JasonPell - 2015-03-18

(2015-03-18, 22:27)Talguy Wrote: I love this addon and use it all the time. Has anyone found a way for us to get 5.1 surround sound out of this addon? Like true dolby digital not the I convert stereo to psuedo 5.1

This has been asked and answered before. The plugin just starts chrome and so its Netflix who would need to add 5.1 streaming support


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - DaddyDeadpool - 2015-03-19

No matter what I do I can't get the profile selection working I can boot into the main account (my mothers) but not my own.


Adfree time + NetfliXBMC = no go - drdoolittle79 - 2015-03-19

Unfortunately NetfliXBMC doesn't work with the adfree time geoblocking service - I get an SSL "ErrNo 8". Any chance that this will be fixed?

It seems that adfree time doesn't support SSL, but I can open https://www.netflix.com with my browser using TLSv1.2


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - flexage - 2015-03-19

Hey there!

I just wanted to say thank you for this excellent plugin!

I'm amazed just how beautifully and elegantly it works Big Grin

I use a Sky TV Remote and Flirc programmable IR receiver which sends keyboard presses, so configuring the windows utility to control the chrome instance was a breeze and works just awesomely.

I assume that if you enable the "Who's Watching" functionality in the plugin settings, it automatically chooses the user for you when opening netflix in chrome.

Only thing is, when I turn that setting on, the dialog shows up when starting Netflixbmc, but doesn't show any users :'(

I'm guessing it's a theme specific issue, as I'm not using confluence, and I've seen a similar thing happen with the Live TV record dialog happen before with this theme.

I'm a senior web developer in my day job and I have some limited python experience, so if you could maybe give a a few pointers in the right direction, I could maybe submit a pull request to this themes github repo to make it support the Who's Watching profiles.

The theme I'm using is: 1080XF MB3 - http://forum.kodi.tv/showthread.php?tid=204184 - https://github.com/im85288/skin.1080xf.mb3

Again, thanks for all the work on this awesome addon Wink


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - jluce50 - 2015-03-19

(2015-03-19, 21:19)flexage Wrote: Only thing is, when I turn that setting on, the dialog shows up when starting Netflixbmc, but doesn't show any users :'(

I'm guessing it's a theme specific issue, as I'm not using confluence, and I've seen a similar thing happen with the Live TV record dialog happen before with this theme.

I'm a senior web developer in my day job and I have some limited python experience, so if you could maybe give a a few pointers in the right direction, I could maybe submit a pull request to this themes github repo to make it support the Who's Watching profiles.

Not a theme issue. See this post: http://forum.kodi.tv/showthread.php?tid=211574&pid=1952747#pid1952747


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - Cr0wl3r - 2015-03-19

Better Call Saul was released in Germany this year, but with a new method.
One time a week one new episode is released.

With this new method Netflixbmc will fail with the follwing error in the log

Quote:20:15:56 T:13904 NOTICE: Previous line repeats 1 times.
20:15:56 T:13904 NOTICE: Thread LanguageInvoker start, auto delete: false
20:15:56 T:13904 NOTICE: -->Python Interpreter Initialized<--
20:15:57 T:13904 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: No JSON object could be decoded
Traceback (most recent call last):
File "C:\Users\Christian\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 1119, in <module>
listSeasons(name, url, thumb)
File "C:\Users\Christian\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 431, in listSeasons
content = json.loads(content)
File "D:\Program Files (x86)\XBMC\system\python\Lib\json\__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "D:\Program Files (x86)\XBMC\system\python\Lib\json\decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "D:\Program Files (x86)\XBMC\system\python\Lib\json\decoder.py", line 383, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
-->End of Python script error report<--
20:15:57 T:5912 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=listSeasons&name=Better%20Call%20Saul&thumb=https%3a%2f%2fscdn.nflximg.net%2fimages%2f2702%2f12112702.jpg&url=80021955
20:15:57 T:5912 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=listSeasons&name=Better%20Call%20Saul&thumb=https%3a%2f%2fscdn.nflximg.net%2fimages%2f2702%2f12112702.jpg&url=80021955) failed
20:15:57 T:12360 NOTICE: Thread BackgroundLoader start, auto delete: false

Other Series are working.


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - flexage - 2015-03-19

(2015-03-19, 21:21)jluce50 Wrote: Not a theme issue. See this post: http://forum.kodi.tv/showthread.php?tid=211574&pid=1952747#pid1952747

Ahhh, thanks for the info... Ahh ok, new change of plan, I'll just have 1 catch all netflix user instead.

Cheers dude Wink


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - reven - 2015-03-20

I'm trying to new installs (one kodibuntu, one windows).

Both systems I get the error

"You are not logged in. Check your credentials and/or restart"

I've tripled checked the username/password, reset the plugin a few times. Updated to the latest source code in github (incase there was a fix).

I'm using a unotelly dns (if that makes any difference).

My log shows

Code:
16:50:43 T:9876  NOTICE: -->Python Interpreter Initialized<--
16:50:46 T:9876   ERROR: C:\Users\John\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\packages\urllib3\connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
                                              InsecureRequestWarning)
16:50:52 T:13220   ERROR: Previous line repeats 8 times.
16:50:52 T:13220  NOTICE: Thread BackgroundLoader start, auto delete: false
16:50:54 T:7968  NOTICE: Thread LanguageInvoker start, auto delete: false
16:50:54 T:7968  NOTICE: -->Python Interpreter Initialized<--
16:50:54 T:11144  NOTICE: Thread BackgroundLoader start, auto delete: false
16:50:55 T:11380  NOTICE: Thread LanguageInvoker start, auto delete: false
16:50:55 T:11380  NOTICE: -->Python Interpreter Initialized<--
16:50:56 T:11380   ERROR: C:\Users\John\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\packages\urllib3\connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
                                              InsecureRequestWarning)
16:50:58 T:9792   ERROR: Previous line repeats 2 times.
16:50:58 T:9792   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=movie&url=https%3a%2f%2fwww.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall
16:50:58 T:9792   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=movie&url=https%3a%2f%2fwww.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall) failed
16:50:58 T:11392  NOTICE: Thread LanguageInvoker start, auto delete: false
16:50:58 T:11392  NOTICE: -->Python Interpreter Initialized<--
16:50:58 T:7872  NOTICE: Thread BackgroundLoader start, auto delete: false
16:52:01 T:9792  NOTICE: CJoystick::EnumJoysticksCallback : Enabled Joystick: G25 Racing Wheel
16:52:01 T:9792  NOTICE: CJoystick::EnumJoysticksCallback : Total Axis: 2 Total Hats: 1 Total Buttons: 12
16:52:16 T:12892  NOTICE: Thread LanguageInvoker start, auto delete: false
16:52:16 T:12892  NOTICE: -->Python Interpreter Initialized<--
16:52:16 T:10796  NOTICE: Thread BackgroundLoader start, auto delete: false
16:52:17 T:12596  NOTICE: Thread LanguageInvoker start, auto delete: false
16:52:17 T:12596  NOTICE: -->Python Interpreter Initialized<--
16:52:17 T:12596  NOTICE: URL: https://www.netflix.com/MyList?leid=595&link=seeall
16:52:18 T:12596   ERROR: C:\Users\John\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\packages\urllib3\connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
                                              InsecureRequestWarning)
16:52:19 T:824   ERROR: Previous line repeats 1 times.
16:52:19 T:824  NOTICE: Thread BackgroundLoader start, auto delete: false
16:52:22 T:4820  NOTICE: Thread LanguageInvoker start, auto delete: false
16:52:22 T:4820  NOTICE: -->Python Interpreter Initialized<--
16:52:22 T:12384  NOTICE: Thread BackgroundLoader start, auto delete: false
16:52:24 T:768  NOTICE: Thread LanguageInvoker start, auto delete: false
16:52:24 T:768  NOTICE: -->Python Interpreter Initialized<--
16:52:24 T:768  NOTICE: URL: https://www.netflix.com/MyList?leid=595&link=seeall
16:52:25 T:768   ERROR: C:\Users\John\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\packages\urllib3\connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
                                              InsecureRequestWarning)
16:52:26 T:9792   ERROR: Previous line repeats 2 times.
16:52:26 T:9792   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=movie&url=https%3a%2f%2fwww.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall
16:52:26 T:9792   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=listVideos&thumb&type=movie&url=https%3a%2f%2fwww.netflix.com%2fMyList%3fleid%3d595%26link%3dseeall) failed
16:52:26 T:12796  NOTICE: Thread LanguageInvoker start, auto delete: false
16:52:26 T:12796  NOTICE: -->Python Interpreter Initialized<--
16:52:27 T:2728  NOTICE: Thread BackgroundLoader start, auto delete: false

So look like the key error is "InsecureRequestWarning". I've tried going to those urls on the windows machine and the page displays fine in chrome.

Is there something I'm overlooking?


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - reven - 2015-03-22

found the problem i had with access netflix.

in the "def login()" function, the line
content = load("https://signup.netflix.com/Login", postdata)
would cause a InsecureRequestWarning error.

changing that line to
content = load(urlMain+"/Login", postdata)
stopped that error and I can now login.

so it didnt like the subdomain signup and only worked with www.

not sure if this is only due to unotelly (netflix comes to NZ officially next week). would this fix be allowed in the source? or would it cause other users issues?


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - reven - 2015-03-22

also under the def chooseProfile() function I had to add this line

if not len(match):
match = re.compile('"firstName":"(.+?)".+?guid":"(.+?)".+?experience":"(.+?)"', re.DOTALL).findall(content)

on my kodibuntu machine it didnt have decodedName in the html output so that required the above change, but on my windows box i didnt need to change chooseProfile function at all.


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - horstepipe - 2015-03-22

(2015-03-19, 21:26)Cr0wl3r Wrote: Better Call Saul was released in Germany this year, but with a new method.
One time a week one new episode is released.

With this new method Netflixbmc will fail with the follwing error in the log

Quote:20:15:56 T:13904 NOTICE: Previous line repeats 1 times.
20:15:56 T:13904 NOTICE: Thread LanguageInvoker start, auto delete: false
20:15:56 T:13904 NOTICE: -->Python Interpreter Initialized<--
20:15:57 T:13904 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ValueError'>
Error Contents: No JSON object could be decoded
Traceback (most recent call last):
File "C:\Users\Christian\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 1119, in <module>
listSeasons(name, url, thumb)
File "C:\Users\Christian\AppData\Roaming\XBMC\addons\plugin.video.netflixbmc\default.py", line 431, in listSeasons
content = json.loads(content)
File "D:\Program Files (x86)\XBMC\system\python\Lib\json\__init__.py", line 338, in loads
return _default_decoder.decode(s)
File "D:\Program Files (x86)\XBMC\system\python\Lib\json\decoder.py", line 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "D:\Program Files (x86)\XBMC\system\python\Lib\json\decoder.py", line 383, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
-->End of Python script error report<--
20:15:57 T:5912 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/?mode=listSeasons&name=Better%20Call%20Saul&thumb=https%3a%2f%2fscdn.nflximg.net%2fimages%2f2702%2f12112702.jpg&url=80021955
20:15:57 T:5912 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/?mode=listSeasons&name=Better%20Call%20Saul&thumb=https%3a%2f%2fscdn.nflximg.net%2fimages%2f2702%2f12112702.jpg&url=80021955) failed
20:15:57 T:12360 NOTICE: Thread BackgroundLoader start, auto delete: false

Other Series are working.

Same with Fargo (Series) I guess?


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - horstepipe - 2015-03-23

(2015-03-11, 17:24)jluce50 Wrote:
(2015-03-11, 16:03)draggy Wrote: I also get a blank choose profile window. Version 1.3.14, language: En-US, location: US, using chrome
I can open the links in chrome and see the profile chooser. I can login to netflix and play things just fine.

Netflix changes appear to have broken this. If you're comfortable, you can replace chooseProfile() in default.py with the following and it will (mostly) work. Note that this is a temporary hack, not a fix, and "Kids Mode" will not be enabled if any of your profiles are setup to use it. You should make a backup copy of default.py first in case you need to revert back.

Code:
def chooseProfile():
    content = load("https://www.netflix.com/ProfilesGate?nextpage=http%3A%2F%2Fwww.netflix.com%2FDefault")
    match = re.compile('"firstName":"(.+?)".+?guid":"(.+?)"', re.DOTALL).findall(content)
    if not len(match):
        match = re.compile('"decodedName":"(.+?)".+?guid":"(.+?)".+?experience":"(.+?)"', re.DOTALL).findall(content)
    profiles = []
    for p, t in match:
        profile = {'name': p, 'token': t, 'isKids': 'False'}
        profiles.append(profile)
    dialog = xbmcgui.Dialog()
    nr = dialog.select(translation(30113), [profile['name'] for profile in profiles])
    if nr >= 0:
        selectedProfile = profiles[nr]
        load("https://api-global.netflix.com/desktop/account/profiles/switch?switchProfileGuid="+selectedProfile['token'])
        addon.setSetting("profile", selectedProfile['token'])
        addon.setSetting("isKidsProfile", 'true' if selectedProfile['isKids'] else 'false')
        saveState()

Hey
this worked perfect for my US-account, thank you!
But now I created a German account and "who's watching" is blank again. Any chance to make it work?


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - jluce50 - 2015-03-23

I'm afraid I can't help you there. I don't speak German or have access to a German account. I can tell you that the following line is the important bit:

Code:
match = re.compile('"firstName":"(.+?)".+?guid":"(.+?)"', re.DOTALL).findall(content)

You'll need to find out what is returned in the previous line and then modify the values that are being parsed out to match what is returned.


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - guymyer - 2015-03-24

I'm having an issue with the control utility. It doesn't seem to launch when I start watching anything. Every time I go to settings to configure control utility it get a script error.

Quote:07:22:43 T:3744 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.WindowsError'>
Error Contents: [Error 2] The system cannot find the file specified
Traceback (most recent call last):
File "C:\Users\Will\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc-master\default.py", line 1123, in <module>
configureUtility()
File "C:\Users\Will\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc-master\default.py", line 685, in configureUtility
subprocess.Popen('"'+utilityPath+'"'+' config=yes', shell=False)
File "C:\Program Files (x86)\Kodi\system\python\Lib\subprocess.py", line 710, in __init__
errread, errwrite)
File "C:\Program Files (x86)\Kodi\system\python\Lib\subprocess.py", line 958, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
-->End of Python script error report<--


I'm also curious, what is the chrome plugin and how is that configured?

I also am getting low res images when browsing through netflix database, is this normal? [/quote]