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-24

(2015-04-24, 03:21)phsyraxion Wrote:
(2015-04-24, 01:13)hstegeman Wrote: Netflixbmc doesn't startup:

01:08:56 T:2916 NOTICE: URL: https://www.netflix.com/Login
01:08:59 T:2916 INFO: Python script stopped
01:08:59 T:2916 DEBUG: Thread LanguageInvoker 2916 terminating
01:08:59 T:6020 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
01:08:59 T:4140 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
01:08:59 T:4140 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/
01:08:59 T:4140 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/) failed
01:08:59 T:4140 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video/)
01:08:59 T:4140 DEBUG: ParentPath = [addons://sources/]

I did uninstall the addon again, making use of chromecast is working so much better.

Im getting this too....

But...

I have 2 HTPC machines (setup exactly the same):
- Windows 7
- Latest Chrome
- Helix 14.2

And one developer machine.

I have it working just fine on my developer machine and one of my HTPC machines. I cannot say exactly what got it working as I was uninstalling, re-installing, copying, clearing caches and a range of things for hours. I have copied over all the files from one HTPC (working) to the other and it still crashes.

I have also uninstalled and re-installed from repo a dozen times on the non-working machine and just get a failed when trying to load.

So I have no idea

(2015-04-24, 03:26)Soli Wrote: You could try to compare the plugin cache folders of netflixbmc of the working and non-working with winmerge.

Can you make a small change to the default.py file and report back?

Code:
import resources.lib/pyOpenSSL
import OpenSSL

TO

# import resources.lib/pyOpenSSL
# import OpenSSL

Just comment out those 2 lines. Thanks


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

Win7 x64
USA
Kodi 14.2 Helix

Here is my debug log
Code:
19:13:14 T:6024   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.netflixbmc/)
19:13:14 T:6024   DEBUG:   ParentPath = [plugin://plugin.video.netflixbmc/]
19:13:14 T:6024   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin NetfliXBMC('plugin://plugin.video.netflixbmc/','11','')
19:13:14 T:6024   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the NetfliXBMC (id=35) plugin...
19:13:14 T:5472  NOTICE: Thread LanguageInvoker start, auto delete: false
19:13:14 T:5472    INFO: initializing python engine.
19:13:14 T:5472   DEBUG: CPythonInvoker(35, C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py): start processing
19:13:14 T:6024   ERROR: Control 52 in window 10025 has been asked to focus, but it can't
19:13:14 T:5472  NOTICE: -->Python Interpreter Initialized<--
19:13:14 T:5472   DEBUG: CPythonInvoker(35, C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py): the source file to load is "C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py"
19:13:14 T:5472   DEBUG: CPythonInvoker(35, C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py): setting the Python path to C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc;C:\Users\rohbit\AppData\Roaming\Kodi\addons\script.module.requests\lib;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
19:13:14 T:5472   DEBUG: CPythonInvoker(35, C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py): entering source directory C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc
19:13:14 T:5472   DEBUG: CPythonInvoker(35, C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py): instantiating addon using automatically obtained id of "plugin.video.netflixbmc" dependent on version 2.1.0 of the xbmc.python api
19:13:15 T:5472  NOTICE: URL: https://www.netflix.com/Login
19:13:15 T:5472    INFO: Python script stopped
19:13:15 T:5472   DEBUG: Thread LanguageInvoker 5472 terminating
19:13:15 T:6024   DEBUG:  XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
19:13:15 T:6024   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/
19:13:15 T:6024   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/) failed
19:13:15 T:6024   DEBUG: CGUIMediaWindow::GetDirectory ()
19:13:15 T:6024   DEBUG:   ParentPath = [plugin://plugin.video.netflixbmc/]
19:13:15 T:4716  NOTICE: Thread BackgroundLoader start, auto delete: false
19:13:15 T:6104  NOTICE: Thread LanguageInvoker start, auto delete: false
19:13:15 T:6104    INFO: initializing python engine.
19:13:15 T:4716   DEBUG: Thread BackgroundLoader 4716 terminating

And here is the log with those 2 lines commented out
Code:
19:15:36 T:332    INFO: Loading skin file: MyVideoNav.xml, load type: KEEP_IN_MEMORY
19:15:36 T:332   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.netflixbmc/)
19:15:36 T:332   DEBUG:   ParentPath = [plugin://plugin.video.netflixbmc/]
19:15:36 T:332   DEBUG: XFILE::CPluginDirectory::StartScript - calling plugin NetfliXBMC('plugin://plugin.video.netflixbmc/','4','')
19:15:36 T:332   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - waiting on the NetfliXBMC (id=20) plugin...
19:15:36 T:3508  NOTICE: Thread LanguageInvoker start, auto delete: false
19:15:36 T:3508    INFO: initializing python engine.
19:15:36 T:3508   DEBUG: CPythonInvoker(20, C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py): start processing
19:15:37 T:332   DEBUG: ------ Window Init (Custom_Rss.xml) ------
19:15:37 T:332    INFO: Loading skin file: Custom_Rss.xml, load type: KEEP_IN_MEMORY
19:15:37 T:3508  NOTICE: -->Python Interpreter Initialized<--
19:15:37 T:3508   DEBUG: CPythonInvoker(20, C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py): the source file to load is "C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py"
19:15:37 T:3508   DEBUG: CPythonInvoker(20, C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py): setting the Python path to C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc;C:\Users\rohbit\AppData\Roaming\Kodi\addons\script.module.requests\lib;C:\Program Files (x86)\Kodi\system\python\DLLs;C:\Program Files (x86)\Kodi\system\python\Lib;C:\Program Files (x86)\Kodi\python27.zip;C:\Program Files (x86)\Kodi\system\python\lib\plat-win;C:\Program Files (x86)\Kodi\system\python\lib\lib-tk;C:\Program Files (x86)\Kodi;C:\Program Files (x86)\Kodi\system\python;C:\Program Files (x86)\Kodi\system\python\lib\site-packages
19:15:37 T:3508   DEBUG: CPythonInvoker(20, C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py): entering source directory C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc
19:15:37 T:3508   DEBUG: CPythonInvoker(20, C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py): instantiating addon using automatically obtained id of "plugin.video.netflixbmc" dependent on version 2.1.0 of the xbmc.python api
19:15:37 T:3508  NOTICE: Traceback (most recent call last):
                                              File "C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py", line 40, in <module>
                                                import requests.packages.urllib3.contrib.pyopenssl
                                              File "C:\Users\rohbit\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\packages\__init__.py", line 95, in load_module
                                                raise ImportError("No module named '%s'" % (name,))
                                            ImportError: No module named 'requests.packages.urllib3.contrib.pyopenssl'
19:15:37 T:3508  NOTICE: ERROR importing OpenSSL handler
19:15:37 T:3508  NOTICE: URL: https://www.netflix.com/Login
19:15:37 T:3508   ERROR: C:\Users\rohbit\AppData\Roaming\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
19:15:38 T:3508   ERROR: C:\Users\rohbit\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)
19:15:39 T:3508   ERROR: Previous line repeats 3 times.
19:15:39 T:3508  NOTICE: URL: https://signup.netflix.com/Login
19:15:39 T:3508   ERROR: C:\Users\rohbit\AppData\Roaming\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
19:15:39 T:3508   ERROR: C:\Users\rohbit\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)
19:15:39 T:3508   DEBUG: LocalizeStrings: no strings.po file exist at C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\resources\language\English, fallback to strings.xml
19:15:39 T:3508    INFO: CPythonInvoker(20, C:\Users\rohbit\AppData\Roaming\Kodi\addons\plugin.video.netflixbmc\default.py): script successfully run
19:15:39 T:332   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
19:15:39 T:3508    INFO: Python script stopped
19:15:39 T:3508   DEBUG: Thread LanguageInvoker 3508 terminating
19:15:39 T:332   DEBUG:  XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
19:15:39 T:332   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/
19:15:39 T:332   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/) failed
19:15:39 T:332   DEBUG: CGUIMediaWindow::GetDirectory ()
19:15:39 T:332   DEBUG:   ParentPath = [plugin://plugin.video.netflixbmc/]
19:15:39 T:4212  NOTICE: Thread BackgroundLoader start, auto delete: false
19:15:39 T:4212   DEBUG: Thread BackgroundLoader 4212 terminating
19:15:39 T:3816  NOTICE: Thread LanguageInvoker start, auto delete: false

I hope that helps


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

(2015-04-24, 04:16)jdoo Wrote: I hope that helps


Sure does, try it again with the lines commented out.
Are you seeing a dialog maybe that says something like "Check Credentials" ?
The log looks like a login fail now.


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

Yes with the lines commented out I got a popup saying check credentials. I am positive I have the correct password entered.


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

(2015-04-24, 05:00)jdoo Wrote: Yes with the lines commented out I got a popup saying check credentials. I am positive I have the correct password entered.

Can you check that the username and password in the
C:\Users\...\AppData\Roaming\Kodi\userdata\addon_data\plugin.video.netflixbmc\settings.xml
file are correct, they will both be in plain text here.

Netflixbmc tries to login and then check the returned page to see if it is still the login page. In your case it is, so it displays the "check credentials" popup.

The commenting of the lines isnt a fix its just to help identify the problem. You should be able to login when the problem is fixed.


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

(2015-04-24, 03:54)insertnamehere Wrote:
(2015-04-24, 03:21)phsyraxion Wrote:
(2015-04-24, 01:13)hstegeman Wrote: Netflixbmc doesn't startup:

01:08:56 T:2916 NOTICE: URL: https://www.netflix.com/Login
01:08:59 T:2916 INFO: Python script stopped
01:08:59 T:2916 DEBUG: Thread LanguageInvoker 2916 terminating
01:08:59 T:6020 DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult - plugin exited prematurely - terminating
01:08:59 T:4140 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
01:08:59 T:4140 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.netflixbmc/
01:08:59 T:4140 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/) failed
01:08:59 T:4140 DEBUG: CGUIMediaWindow::GetDirectory (addons://sources/video/)
01:08:59 T:4140 DEBUG: ParentPath = [addons://sources/]

I did uninstall the addon again, making use of chromecast is working so much better.

Im getting this too....

But...

I have 2 HTPC machines (setup exactly the same):
- Windows 7
- Latest Chrome
- Helix 14.2

And one developer machine.

I have it working just fine on my developer machine and one of my HTPC machines. I cannot say exactly what got it working as I was uninstalling, re-installing, copying, clearing caches and a range of things for hours. I have copied over all the files from one HTPC (working) to the other and it still crashes.

I have also uninstalled and re-installed from repo a dozen times on the non-working machine and just get a failed when trying to load.

So I have no idea

(2015-04-24, 03:26)Soli Wrote: You could try to compare the plugin cache folders of netflixbmc of the working and non-working with winmerge.

Can you make a small change to the default.py file and report back?

Code:
import resources.lib/pyOpenSSL
import OpenSSL

TO

# import resources.lib/pyOpenSSL
# import OpenSSL

Just comment out those 2 lines. Thanks

Commenting out those lines got me to the profile selection screen, and things seem to be working good.

"show profile selection on each start" must also be selected in settings at least the first time you launch it


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

(2015-04-24, 05:31)PrplHaz4 Wrote: Commenting out those lines got me to the profile selection screen, and things seem to be working good.

"show profile selection on each start" must also be selected in settings at least the first time you launch it

Are you also running on windows 7?


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

OK I actually did have my password wrong after the last reinstall. Big apologies for my strong language.

With the lines intact I still get the same error. With the ssl lines commented out it appears to be working correctly.


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

Removing the 2 lines is really nulling out the changes from 1.3.18 to 1.3.19
It will work but the log will be spammed with #insecureplatformwarning

The problems appears to be only on window 7 platforms from what I can see.

If anyone has this "cant start after upgrade" problem and is using something other than windows 7 can you please post here.


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

I've clean installed windows 7 and kodi and netflixbmc straight from the repo. Everything works. Still a mystery.

Just in case, can someone who has this problem check that their windows firewall is off and not blocking ssl access somehow?


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

(2015-04-24, 05:35)insertnamehere Wrote:
(2015-04-24, 05:31)PrplHaz4 Wrote: Commenting out those lines got me to the profile selection screen, and things seem to be working good.

"show profile selection on each start" must also be selected in settings at least the first time you launch it

Are you also running on windows 7?

Windows 7 x64, Kodi 14.2 (updated from beta)

Do you get the same results if you don't have "select profile" set? (ie, what if there is no default profile, and you do not have it asking for a selection? I DO have multiple Netflix profiles)


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

I am on windows 8 x64. The symptoms are the same as the one described here, updated and then I couldn't connect anymore. Reinstalled, removed the folder manually and no success. I just need to try commenting or the lines.


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

I am on Windows 7 x64, Gotham 13.2. I don't get these issues with current NetfliXBMC 1.3.19. Running multiple profiles.


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

(2015-04-24, 01:43)insertnamehere Wrote: Hi kmarq, jdoo, hstegeman,

Can you tell me:
your operating system - Windows, Linux, or OSX
which distro/version of the OS
which version of Kodi

I'm trying to find something common and still trying to reproduce the problem.

Can't get to logs currently.

OS - Win 8.1 x64
Kodi 14.2

Yeah the issue will be I'll be watching LiveTV or other videos. Then when I launch NetfliXBMC it takes awhile then ends up on the video node. If I just exist Kodi and restart it works.

This system does not get restarted, however I have Kodi set to exit when it sleeps. So when I first start watching anything Kodi will always be started fresh.

If the issue occurs tonight I will grab the logs.


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

(2015-04-24, 08:21)insertnamehere Wrote: I've clean installed windows 7 and kodi and netflixbmc straight from the repo. Everything works. Still a mystery.

Just in case, can someone who has this problem check that their windows firewall is off and not blocking ssl access somehow?
How would I check this?