• 1
  • 31
  • 32
  • 33(current)
  • 34
  • 35
  • 102
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - Thread 2
(2015-04-11, 07:27)insertnamehere Wrote:
(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.

i just tried daredevil and got the same issue

So a stack trace on that one:

com.netflix.hystrix.exception.HystrixRuntimeException: NDCMapODPGetConfig failed and fallback failed.
at com.netflix.hystrix.AbstractCommand$16.call(AbstractCommand.java:792)
at com.netflix.hystrix.AbstractCommand$16.call(AbstractCommand.java:769)
at rx.internal.operators.OperatorOnErrorResumeNextViaFunction$1.onError(OperatorOnErrorResumeNextViaFunction.java:77)
at rx.internal.operators.OperatorDoOnEach$1.onError(OperatorDoOnEach.java:70)
at rx.internal.operators.OperatorDoOnEach$1.onError(OperatorDoOnEach.java:70)
at rx.internal.operators.OperatorDoOnEach$1.onError(OperatorDoOnEach.java:70)
at com.netflix.hystrix.AbstractCommand$DeprecatedOnFallbackHookApplication$1.onError(AbstractCommand.java:1444)
at com.netflix.hystrix.AbstractCommand$FallbackHookApplication$1.onError(AbstractCommand.java:1334)
at com.netflix.hystrix.HystrixCommand$2.call(HystrixCommand.java:314)
at com.netflix.hystrix.HystrixCommand$2.call(HystrixCommand.java:306)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable.unsafeSubscribe(Observable.java:7495)
at rx.internal.operators.OperatorOnErrorResumeNextViaFunction$1.onError(OperatorOnErrorResumeNextViaFunction.java:78)
at rx.internal.operators.OperatorDoOnEach$1.onError(OperatorDoOnEach.java:70)
at rx.internal.operators.OperatorDoOnEach$1.onError(OperatorDoOnEach.java:70)
at com.netflix.hystrix.AbstractCommand$HystrixObservableTimeoutOperator$3.onError(AbstractCommand.java:977)
at rx.internal.operators.OperatorDoOnEach$1.onError(OperatorDoOnEach.java:70)
at rx.internal.operators.OperatorSubscribeOn$1$1$1.onError(OperatorSubscribeOn.java:71)
at rx.internal.operators.OperatorDoOnEach$1.onError(OperatorDoOnEach.java:70)
at com.netflix.hystrix.AbstractCommand$DeprecatedOnRunHookApplication$1.onError(AbstractCommand.java:1403)
at com.netflix.hystrix.AbstractCommand$ExecutionHookApplication$1.onError(AbstractCommand.java:1303)
at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:297)
at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:289)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable$1.call(Observable.java:144)
at rx.Observable$1.call(Observable.java:136)
at rx.Observable.unsafeSubscribe(Observable.java:7495)
at com.netflix.hystrix.AbstractCommand$5.call(AbstractCommand.java:518)
at com.netflix.hystrix.AbstractCommand$5.call(AbstractCommand.java:501)
at rx.Observable.unsafeSubscribe(Observable.java:7495)
at rx.internal.operators.OperatorSubscribeOn$1$1.call(OperatorSubscribeOn.java:62)
at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1.call(HystrixContexSchedulerAction.java:56)
at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction$1.call(HystrixContexSchedulerAction.java:47)
at com.netflix.lang.BindingContexts.callWithContext(BindingContexts.java:204)
at com.netflix.lang.ContextCallable.call(ContextCallable.java:72)
at com.netflix.logging.aspects.LoggingContextWrappedCallable.call(LoggingContextWrappedCallable.java:75)
at com.netflix.hystrix.strategy.concurrency.HystrixContexSchedulerAction.call(HystrixContexSchedulerAction.java:69)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.netflix.hystrix.exception.HystrixRuntimeException: The callServer stage for command NDCMapODPGetConfig failed. RequestId [ 8607847e-e809-4416-bb22-b983061527cd-5576971 ] Debug Info [ { "video":80018294, "country":"{ISOCountry/NFCountry#AU}", "locale":"en-US", "include":{"design":["www"]}, "exclude":{} } ]
at com.netflix.map.service.impl.MapClientDependencyCommand.handleProcessFailure(MapClientDependencyCommand.java:517)
at com.netflix.map.service.impl.MapClientDependencyCommand.callServer(MapClientDependencyCommand.java:456)
at com.netflix.map.service.impl.MapClientDependencyCommand.run(MapClientDependencyCommand.java:196)
at com.netflix.hystrix.HystrixCommand$1.call(HystrixCommand.java:294)
... 24 more
Caused by: java.lang.IllegalStateException: Map Server returned status code: 500 for server:map:7001
at com.netflix.map.RestRequest.execute(RestRequest.java:237)
at com.netflix.map.RestRequest.get(RestRequest.java:196)
at com.netflix.map.service.impl.ODPGetConfigClient.callServer(ODPGetConfigClient.java:135)
at com.netflix.map.service.impl.MapClientDependencyCommand.callServer(MapClientDependencyCommand.java:437)
... 26 more
Caused by: java.lang.IllegalStateException: Server response:
{"error":"java.lang.RuntimeException: com.netflix.map.MapException: The process stage for command ODPGetCompositeResult failed. RequestId [ 94411a4a-f153-4bf0-9c1b-9598ce5ad42d ] Debug Info [ Video:{Video/TrivialVideo#80018294} FilterInclude:{\"movieId\":[\"80018294\"],\"videoId\":[\"80018294\"],\"phases\":[\"2\"],\"phase\":[\"2\"],\"design\":[\"www\"]} FilterExclude:{} ]"}
at com.netflix.map.RestRequest.execute(RestRequest.java:231)
... 29 more

The funny thing is the json output is actually returned.

There is not much we can do about this, hopefully netflix will fix it soon
Reply
(2015-04-11, 07:37)JasonPell Wrote: The funny thing is the json output is actually returned.

There is not much we can do about this, hopefully netflix will fix it soon

Actually because netflix actually returns valid content after the exception, we can fix this to ignore the exception

https://github.com/andrewleech/plugin.vi...mc/pull/30
Reply
(2015-04-11, 05:14)sblack55 Wrote: 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.

The ssl error messages occur on my installation as well, but don't stop it working correctly.
It's something that needs to be addressed, but that's another problem.

Can you login to Netflix using your browser using those credentials?
Are you in a geoip serviced by Netflix?
Check your addon_data\plugin.video.netflixbmc\settings.xml and see if the user/pass is correct there.
Reply
(2015-04-11, 07:59)JasonPell Wrote:
(2015-04-11, 07:37)JasonPell Wrote: The funny thing is the json output is actually returned.

There is not much we can do about this, hopefully netflix will fix it soon

Actually because netflix actually returns valid content after the exception, we can fix this to ignore the exception

https://github.com/andrewleech/plugin.vi...mc/pull/30

Yeah, no reason to throw away perfectly good json!
Reply
Does the control utility not work anymore in Windows? I can map my buttons but they don't do anything and turning on Chrome control does nothing and when you select Chrome control plugin settings it opens Chrome with a web page cannot be found. Guessing Google changed something? I have to use a Netflix remote app on my phone lol.
Asrock Rog Z390-H | Intel i9 9900K | Windows 10 Pro x64 | Pop!_OS 20.10 |Nvidia Shield TV Pro (2019)
EVGA Hybrid FTW GTX 1070 | Corsair 16GB DDR4
Samsung 500GB SSD | 500GB Nvme SSD |500GB WD Black Nvme SSD |6TB HDD
Reply
Although insertnamehere, thekow, and I are seeing some of the same log messages (InsecurePlatformWarning), the symptoms are quite a bit different. In my case the error occurs on initial connection. I don't get anywhere near watching a video or even browsing a list. NetfliXBMC has never worked on this installation, although I have had it working off and on under Windows, and even had it working, albeit with a Chrome problem, on a previous Kodibuntu install. (Same Kodibuntu image, same 14.2 Helix.)
-- Steve

"I just wanted a media center, not a hobby!"

HW: CPU - Intel Core i3-4130T, RAM - 4GB, Storage: 640GB, TV Tuner - HDHomeRun Connect x3
SW: OS - LibreELEC, Media Center - Kodi 18.5, Skin - Amber, PVR - TVHeadend
Reply
Um getting the same problem as the others above when I try to watch daredevil using this add-on
Image
Reply
(2015-04-11, 08:01)insertnamehere Wrote: Check your addon_data\plugin.video.netflixbmc\settings.xml and see if the user/pass is correct there.

Arrrgh! I've checked that id a dozen times. I hate it when the spelling and the misspelling look so much alike!

Thanks for the cold bucket of water.
-- Steve

"I just wanted a media center, not a hobby!"

HW: CPU - Intel Core i3-4130T, RAM - 4GB, Storage: 640GB, TV Tuner - HDHomeRun Connect x3
SW: OS - LibreELEC, Media Center - Kodi 18.5, Skin - Amber, PVR - TVHeadend
Reply
(2015-04-11, 15:54)Talguy Wrote: Um getting the same problem as the others above when I try to watch daredevil using this add-on

There is a fix awaiting release. See my previous post. It is a Netflix API bug but the netflixbmc change works around the bug
Reply
Guess I'm the only one having this problem :/
Asrock Rog Z390-H | Intel i9 9900K | Windows 10 Pro x64 | Pop!_OS 20.10 |Nvidia Shield TV Pro (2019)
EVGA Hybrid FTW GTX 1070 | Corsair 16GB DDR4
Samsung 500GB SSD | 500GB Nvme SSD |500GB WD Black Nvme SSD |6TB HDD
Reply
2 featurerequests:

Featurerequest 1: tv shows with only 1 season should go directly to the episode list. Make this an option, but not the default option or people might wonder why the season list didn't show up.

Featurerequest 2: Also i've found that xdotool isn't enough to hide the mousecursor. (Since I run Kodibuntu in standalone mode i need to launch chrome with a custom script that involves using xdotool) between the episodes when Netflix goes the autostarting of the next episode, my cursor wont be hidden anymore. If I manually move the mouse, and go back to the main menu and then relaunch the episode, then the mouse cursor will hide.
My solution was to install unclutter, and add an extra command after the xdotool call.

First sudo apt-get install unclutter, then add "unclutter -idle 0.01 -root &".
I still use use xdotool to move the mousecursor to the right corner. But since the mousepointer autohides after 1/10 second, the xdotool call isnt really needed but it doesn't hurt to have it there.

So to the actual featurerequest (or at least a question): Wouldn't it make sense to use unclutter instead of xdotool in the main netflixbmc script? (Or you could have both or course, but it's not really needed) IMHO It works better than xdotool.
Reply
(2015-04-11, 04:04)insertnamehere Wrote:
(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?

I was working fine with version 1.3.16 (I think.)

This is a virgin kodibuntu install behind no proxy or anything other then a router probably doing NAT.

Ideas?
Reply
Hello,

today i installed Kodi 14.2 on my MacBook with MacOS 10.10.3 on which i installed google chrome.
Because i'm using Netflix i would like to enable this add on in Kodi.
I followed the steps in this video and first it looks good.

https://www.youtube.com/watch?v=oZNbxr3KIOo

After i configured the addon with my information i would like to see if it is working.
But after starting the addon and go to my list i got an error message "Error: Script failed!: NetfliXBMC" and i can't see my list.

Have anyone akdon idea what is wrong in my configuration?
If you need more information please let me know.

Sorry if the answer is here anywhere in the post but i can't find it ;-)

Thank you for your help.
Reply
(2015-04-12, 15:29)joewet Wrote: Hello,

today i installed Kodi 14.2 on my MacBook with MacOS 10.10.3 on which i installed google chrome.
Because i'm using Netflix i would like to enable this add on in Kodi.
I followed the steps in this video and first it looks good.

https://www.youtube.com/watch?v=oZNbxr3KIOo

After i configured the addon with my information i would like to see if it is working.
But after starting the addon and go to my list i got an error message "Error: Script failed!: NetfliXBMC" and i can't see my list.

Have anyone akdon idea what is wrong in my configuration?
If you need more information please let me know.

Sorry if the answer is here anywhere in the post but i can't find it ;-)

Thank you for your help.

Check the kodi.log and post again with any errors
Reply
Also that YouTube video has the old plugin repo. Check first post of this thread.
Reply
  • 1
  • 31
  • 32
  • 33(current)
  • 34
  • 35
  • 102

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