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 - insertnamehere - 2015-04-09

(2015-04-09, 05:50)lja2014 Wrote: I have noticed that when I close out of Netflix "NetfliXBMC_Utility.exe does not close and I have to use Task Manager to close it before Netflix will reopen. Any ideas or what additional info would be required?

NetfliXBMC_Utility.exe should close when you use the Close Browser key configured in its setup. It will remain active when you use ALT+F4 to close Chrome and not the configured button.

I've not seen it stop Netflix from working. Can you provide a step by step to reproduce this?


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - danilod2 - 2015-04-09

I installed the plugin version 1.3.17 on my NUC 2820 with Kodibuntu 14 Helix and is fully functional, including the remote control.
Thank you very much.


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - Soli - 2015-04-09

Using 1.3.17. Profile selections does no longer stick.
I used to choose profile and then afterwards deselect "choose profile on startup" and the last chose profile would be used.

Now it is the first profile being chosen.


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - -Dis - 2015-04-09

Add and remove from my list doesn't work.

Log when I try to add something to my list:
21:21:06 T:140380242691840 NOTICE: Attempted to addToQueue without valid authMyList

And when I try to remove something:
21:23:05 T:140381383542528 NOTICE: Attempted to removeFromQueue without valid authMyList


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - insertnamehere - 2015-04-10

(2015-04-09, 17:54)Soli Wrote: Using 1.3.17. Profile selections does no longer stick.
I used to choose profile and then afterwards deselect "choose profile on startup" and the last chose profile would be used.

Now it is the first profile being chosen.

My fault. I've added some code to explicitly load last profile for this case.

The modified code is with AndrewLeech and should be in the next release. For now you can just turn on "choose profile on startup" until 1.3.18 is released


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - insertnamehere - 2015-04-10

(2015-04-09, 20:39)-Dis Wrote: Add and remove from my list doesn't work.

Log when I try to add something to my list:
21:21:06 T:140380242691840 NOTICE: Attempted to addToQueue without valid authMyList

And when I try to remove something:
21:23:05 T:140381383542528 NOTICE: Attempted to removeFromQueue without valid authMyList

Ok, found the problem. It's actually the same as Soli above.

I've sent a PR with the modified code to the repo and it will be in the next release.


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - corona - 2015-04-10

I've pushed out the changes with Version 1.3.18
Thanks @insertnamehere


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - insertnamehere - 2015-04-10

(2015-04-10, 07:57)corona Wrote: I've pushed out the changes with Version 1.3.18
Thanks @insertnamehere

Thanks @corona


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - Catalystoz - 2015-04-10

I am having trouble with Netflixbmc in that it always fails 2% into loading meta data.

I can happily go to netflix in chrome and it will also work if I use chrome launcher from within Kodi (15 alpha)

I have also tried from Kodi 14.1 with exactly the same problem.

The frist sign of an error is the who's watching page that does not show any users, if I hit back space Netflixbmc loads and I can navigate to TV or movies, but when I select something from within these i see loading metedata which goes to 2% then errors with see log for more info (Where is the log file?)

I am running version 1.3.4 on windows 7 x64 8gb ram on 128Gb SSD AMD A6-5400K with gpu on cpu Radeon HD7540D.

Any help would be appreciated.


*Upgraded to ver 1.3.18 all is now working fine*

Thank you
Catalystoz


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - insertnamehere - 2015-04-10

(2015-04-10, 10:25)Catalystoz Wrote: I am having trouble with Netflixbmc in that it always fails 2% into loading meta data.

I can happily go to netflix in chrome and it will also work if I use chrome launcher from within Kodi (15 alpha)

I have also tried from Kodi 14.1 with exactly the same problem.

The frist sign of an error is the who's watching page that does not show any users, if I hit back space Netflixbmc loads and I can navigate to TV or movies, but when I select something from within these i see loading metedata which goes to 2% then errors with see log for more info (Where is the log file?)

Any help would be appreciated.

Thank you
Catalystoz

Can you check which version of Netflixbmc you are using?
It should be 1.3.18 now
A "who's watching" page not showing user profiles was fixed a few versions earlier.


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - Jeremy White - 2015-04-10

Getting this error on build 1.3.18 :

09:23:13 T:139841545156352 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the followi
ng error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'requests.exceptions.SSLError'>
Error Contents: [Errno 8] _ssl.c:510: EOF occurred in violation of protocol
Traceback (most recent call last):
File "/home/kodi/.kodi/addons/plugin.video.netflixbmc/default.py", line 1208,
in <module>
listVideos(url, type)
File "/home/kodi/.kodi/addons/plugin.video.netflixbmc/default.py", line 223, i
n listVideos
content = load(url)
File "/home/kodi/.kodi/addons/plugin.video.netflixbmc/default.py", line 128, i
n load
r = session.get(url, verify=False).text
File "/home/kodi/.kodi/addons/script.module.requests/lib/requests/sessions.py"
, line 476, in get
return self.request('GET', url, **kwargs)
File "/home/kodi/.kodi/addons/script.module.requests/lib/requests/sessions.py"
, line 464, in request
resp = self.send(prep, **send_kwargs)
File "/home/kodi/.kodi/addons/script.module.requests/lib/requests/sessions.py"
, line 576, in send
r = adapter.send(request, **kwargs)
File "/home/kodi/.kodi/addons/script.module.requests/lib/requests/adapters.py"
, line 431, in send
raise SSLError(e, request=request)
SSLError: [Errno 8] _ssl.c:510: EOF occurred in violation of protocol
-->End of Python script error report<--


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - insertnamehere - 2015-04-11

(2015-04-10, 23:31)Jeremy White Wrote: Getting this error on build 1.3.18 :

09:23:13 T:139841545156352 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the followi
ng error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'requests.exceptions.SSLError'>
Error Contents: [Errno 8] _ssl.c:510: EOF occurred in violation of protocol

.....
raise SSLError(e, request=request)
SSLError: [Errno 8] _ssl.c:510: EOF occurred in violation of protocol
-->End of Python script error report<--

If you do a search on SSLError: [Errno 8] _ssl EOF occurred in violation of protocol
there are quite a few reports with various issues including proxy setup, bugs in certain linux distros and other issues outside of our control.

Check that you have "SSL Connection Type" set to TLSv1

Have you had Netflixbmc working before 1.3.18?


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - sblack55 - 2015-04-11

Having a problem with NetfliXBMC on Kodibuntu - a fresh install. Each time I try to connect I get an error saying I'm not logged in, check credentials and/or restart the addon. I've checked the credentials several times and they are correct.

Here is associated log content:
Code:
22:05:28 T:139896345851648  NOTICE: URL: https://www.netflix.com/Login
22:05:28 T:139896345851648   ERROR: /home/kodi1/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
                                              InsecurePlatformWarning
22:05:28 T:139896345851648   ERROR: /home/kodi1/.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)
22:05:28 T:139896345851648   ERROR: Previous line repeats 3 times.
22:05:28 T:139896345851648  NOTICE: URL: https://signup.netflix.com/Login
22:05:28 T:139896345851648   ERROR: /home/kodi1/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
                                              InsecurePlatformWarning
22:05:29 T:139896345851648   ERROR: /home/kodi1/.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)
I'm guessing the SSL support in Kodibuntu is not up to snuff. I did just read something earlier today about OpenSSL being replaced with a clone but I don't remember if that was for Kodibuntu or not. I'll update if I can find it again.
EDIT: What I had read was in regard to LibreSSL as a replacement for OpenSSL, but it did not apply to Kodibuntu or Lubuntu. I just checked Synaptic and opennssl is there while libressl is not..

Kodibuntu was installed clean a few hours ago, with Chrome added and no other mods. NetfliXBMC was first addon and began failing immediately. It installed as 1.3.18.


RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - thekow - 2015-04-11

Plugin was working perfectly until i tried to watch daredevil it comes up with "busy" then script failed! on 3.18 it only fails on daredevil.

Code:
13:57:26 T:2431294272  NOTICE: -->Python Interpreter Initialized<--
13:57:26 T:2431294272  NOTICE: URL: https://www.netflix.com/Login
13:57:27 T:2431294272   ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL $
                                              InsecurePlatformWarning
13:57:27 T:2431294272   ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strong$
                                              InsecureRequestWarning)
13:57:28 T:2431294272   ERROR: Previous line repeats 2 times.
13:57:28 T:2431294272  NOTICE: URL: https://signup.netflix.com/Login
13:57:28 T:2431294272   ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL $
                                              InsecurePlatformWarning
13:57:29 T:2431294272   ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strong$
                                              InsecureRequestWarning)
13:57:30 T:2431294272   ERROR: Previous line repeats 2 times.
13:57:30 T:2431294272  NOTICE: Setting Country: AU
13:57:30 T:2431294272  NOTICE: URL: https://www.netflix.com/WiHome
13:57:30 T:2431294272   ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strong$
                                              InsecureRequestWarning)
13:57:34 T:2439686976  NOTICE: Thread BackgroundLoader start, auto delete: false
14:00:38 T:2777676608  NOTICE: Thread JobWorker start, auto delete: true
14:00:38 T:2695887680  NOTICE: Thread LanguageInvoker start, auto delete: false
14:00:38 T:2695887680  NOTICE: -->Python Interpreter Initialized<--
14:00:39 T:2505943872  NOTICE: Thread BackgroundLoader start, auto delete: false
14:00:39 T:2505943872  NOTICE: Thread JobWorker start, auto delete: true
14:00:46 T:2695887680  NOTICE: Thread LanguageInvoker start, auto delete: false
14:00:46 T:2695887680  NOTICE: -->Python Interpreter Initialized<--
14:00:46 T:2695887680  NOTICE: URL: https://www.netflix.com/MyList?leid=595&link=seeall
14:00:46 T:2695887680   ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL $
                                              InsecurePlatformWarning
14:00:47 T:2695887680   ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strong$
                                              InsecureRequestWarning)
14:00:50 T:2695887680 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '' as 0 minutes
14:00:50 T:2677009216 WARNING: Previous line repeats 13 times.
14:00:50 T:2677009216  NOTICE: Thread BackgroundLoader start, auto delete: false
14:00:57 T:2695887680  NOTICE: Thread LanguageInvoker start, auto delete: false
14:00:57 T:2695887680  NOTICE: -->Python Interpreter Initialized<--
14:00:58 T:2695887680  NOTICE: URL: http://api-global.netflix.com/desktop/odp/episodes?languages=en-AU&forceEpisodes=true&routing=redirect&video=80018294&country=AU
14:00:58 T:2695887680   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 "/home/super/.kodi/addons/plugin.video.netflixbmc/default.py", line 1234, in <module>
                                                listSeasons(name, url, thumb)
                                              File "/home/super/.kodi/addons/plugin.video.netflixbmc/default.py", line 441, in listSeasons
                                                content = json.loads(content)
                                              File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
                                                return _default_decoder.decode(s)
                                              File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
                                                obj, end = self.raw_decode(s, idx=_w(s, 0).end())
                                              File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
                                                raise ValueError("No JSON object could be decoded")
                                            ValueError: No JSON object could be decoded
                                            -->End of Python script error report<--



RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2 - insertnamehere - 2015-04-11

(2015-04-11, 06:14)thekow Wrote: Plugin was working perfectly until i tried to watch daredevil it comes up with "busy" then script failed! on 3.18 it only fails on daredevil.

Code:
13:57:26 T:2431294272  NOTICE: -->Python Interpreter Initialized<--
13:57:26 T:2431294272  NOTICE: URL: https://www.netflix.com/Login
13:57:27 T:2431294272   ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL $
                                              InsecurePlatformWarning
13:57:27 T:2431294272   ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strong$
                                              InsecureRequestWarning)
13:57:28 T:2431294272   ERROR: Previous line repeats 2 times.
13:57:28 T:2431294272  NOTICE: URL: https://signup.netflix.com/Login
13:57:28 T:2431294272   ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL $
                                              InsecurePlatformWarning
13:57:29 T:2431294272   ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strong$
                                              InsecureRequestWarning)
13:57:30 T:2431294272   ERROR: Previous line repeats 2 times.
13:57:30 T:2431294272  NOTICE: Setting Country: AU
13:57:30 T:2431294272  NOTICE: URL: https://www.netflix.com/WiHome
13:57:30 T:2431294272   ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strong$
                                              InsecureRequestWarning)
13:57:34 T:2439686976  NOTICE: Thread BackgroundLoader start, auto delete: false
14:00:38 T:2777676608  NOTICE: Thread JobWorker start, auto delete: true
14:00:38 T:2695887680  NOTICE: Thread LanguageInvoker start, auto delete: false
14:00:38 T:2695887680  NOTICE: -->Python Interpreter Initialized<--
14:00:39 T:2505943872  NOTICE: Thread BackgroundLoader start, auto delete: false
14:00:39 T:2505943872  NOTICE: Thread JobWorker start, auto delete: true
14:00:46 T:2695887680  NOTICE: Thread LanguageInvoker start, auto delete: false
14:00:46 T:2695887680  NOTICE: -->Python Interpreter Initialized<--
14:00:46 T:2695887680  NOTICE: URL: https://www.netflix.com/MyList?leid=595&link=seeall
14:00:46 T:2695887680   ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL $
                                              InsecurePlatformWarning
14:00:47 T:2695887680   ERROR: /home/super/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/connectionpool.py:769: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strong$
                                              InsecureRequestWarning)
14:00:50 T:2695887680 WARNING: GetDurationFromMinuteString <runtime> should be in minutes. Interpreting '' as 0 minutes
14:00:50 T:2677009216 WARNING: Previous line repeats 13 times.
14:00:50 T:2677009216  NOTICE: Thread BackgroundLoader start, auto delete: false
14:00:57 T:2695887680  NOTICE: Thread LanguageInvoker start, auto delete: false
14:00:57 T:2695887680  NOTICE: -->Python Interpreter Initialized<--
14:00:58 T:2695887680  NOTICE: URL: http://api-global.netflix.com/desktop/odp/episodes?languages=en-AU&forceEpisodes=true&routing=redirect&video=80018294&country=AU
14:00:58 T:2695887680   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 "/home/super/.kodi/addons/plugin.video.netflixbmc/default.py", line 1234, in <module>
                                                listSeasons(name, url, thumb)
                                              File "/home/super/.kodi/addons/plugin.video.netflixbmc/default.py", line 441, in listSeasons
                                                content = json.loads(content)
                                              File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
                                                return _default_decoder.decode(s)
                                              File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
                                                obj, end = self.raw_decode(s, idx=_w(s, 0).end())
                                              File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
                                                raise ValueError("No JSON object could be decoded")
                                            ValueError: No JSON object could be decoded
                                            -->End of Python script error report<--

Tried it on 1.3.14 and also fails, just Marvel's Daredevil
The request sent by Netflixbmc to Netflix for Daredevil looks like this and if you put it through a browser it fails at the Netflix server.

"http://api-global.netflix.com/desktop/odp/episodes?languages=en-AU&forceEpisodes=true&routing=redirect&video=80018294&country=AU"

The next request is a valid that returns valid data from the netflix server.

"http://api-global.netflix.com/desktop/odp/episodes?languages=en-AU&forceEpisodes=true&routing=redirect&video=80037657&country=AU"

Apart from the videoID (80037657) there is no difference between. All the other series work ok.

It looks like the problem is with Netflix server.