Kodi Community Forum
[RELEASE] Flix2Kodi - Just another Netflix-Addon - 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] Flix2Kodi - Just another Netflix-Addon (/showthread.php?tid=254263)



RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - logi85 - 2016-01-06

(2016-01-06, 01:35)benno.1973 Wrote:
(2016-01-05, 03:14)benno.1973 Wrote:
(2016-01-05, 01:12)logi85 Wrote: Hi, just uploaded version 0.4.5, please have a look on changelog. macos problems and 'cannot update playcount..' should now work. allso added a switch for x32 systems to launch the right chrome version on windows.

about remotes:
I know many of you are waiting for a solution. But I only use a CEC remote wich works out of the box. So someone else has to find a solution. If he does, I will integrate it.
For Linux it seams that jwhite has a working solution. (https://github.com/logi85/plugin.video.flix2kodi/issues/13) just waiting for pull request so I could integrate.
Hope someone will find a good solution for windows too.

Not sure where you find the time to do these updates so quickly, but it's certainly appreciated!! I'm at work at the moment, but will test the 'cannot update playcount...' issue when I get home.

My MCE remote seems to work out of the box too, just lucky I guess. I'm using the MCERemote add-on - not sure if that would affect things?

Unfortunately the 'cannot update playcount...' issue still exists under 0.4.5, log below. Launching the chrome browser from a 32-bit machine works. I notice (I think someone else also mentioned it) that choosing a movie and adding it to My List under the context menu, causes Flix2Kodi to crash and then ask to re-login. I'll raise github issues when I'm back home.

Code:
22:23:14 T:4560  NOTICE: Previous line repeats 2 times.
22:23:14 T:4560  NOTICE: [plugin.video.flix2kodi] browser terminated
22:23:14 T:3664  NOTICE: Found 2 Lists of Devices
22:23:14 T:3664  NOTICE: Enumerated DIRECTSOUND devices:
22:23:14 T:3664  NOTICE:     Device 1
22:23:14 T:3664  NOTICE:         m_deviceName      : {A3117533-4F1F-49F5-B50E-DDE3A125BB50}
22:23:14 T:3664  NOTICE:         m_displayName     : SPDIF - Digital Audio (S/PDIF) (High Definition Audio Device)
22:23:14 T:3664  NOTICE:         m_displayNameExtra: DIRECTSOUND: Digital Audio (S/PDIF) (High Definition Audio Device)
22:23:14 T:3664  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
22:23:14 T:3664  NOTICE:         m_channels        : FL,FR
22:23:14 T:3664  NOTICE:         m_sampleRates     : 44100
22:23:14 T:3664  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_AC3,AE_FMT_DTS
22:23:14 T:3664  NOTICE:     Device 2
22:23:14 T:3664  NOTICE:         m_deviceName      : default
22:23:14 T:3664  NOTICE:         m_displayName     : default
22:23:14 T:3664  NOTICE:         m_displayNameExtra:
22:23:14 T:3664  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
22:23:14 T:3664  NOTICE:         m_channels        : FL,FR
22:23:14 T:3664  NOTICE:         m_sampleRates     : 44100
22:23:14 T:3664  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_AC3,AE_FMT_DTS
22:23:14 T:3664  NOTICE: Enumerated WASAPI devices:
22:23:14 T:3664  NOTICE:     Device 1
22:23:14 T:3664  NOTICE:         m_deviceName      : {A3117533-4F1F-49F5-B50E-DDE3A125BB50}
22:23:14 T:3664  NOTICE:         m_displayName     : SPDIF - Digital Audio (S/PDIF) (High Definition Audio Device)
22:23:14 T:3664  NOTICE:         m_displayNameExtra: WASAPI: Digital Audio (S/PDIF) (High Definition Audio Device)
22:23:14 T:3664  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
22:23:14 T:3664  NOTICE:         m_channels        : FL,FR
22:23:14 T:3664  NOTICE:         m_sampleRates     : 192000,176400,96000,88200,48000,44100
22:23:14 T:3664  NOTICE:         m_dataFormats     : AE_FMT_DTS,AE_FMT_AC3,AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
22:23:14 T:3664  NOTICE:     Device 2
22:23:14 T:3664  NOTICE:         m_deviceName      : default
22:23:14 T:3664  NOTICE:         m_displayName     : default
22:23:14 T:3664  NOTICE:         m_displayNameExtra:
22:23:14 T:3664  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
22:23:14 T:3664  NOTICE:         m_channels        : FL,FR
22:23:14 T:3664  NOTICE:         m_sampleRates     : 192000,176400,96000,88200,48000,44100
22:23:14 T:3664  NOTICE:         m_dataFormats     : AE_FMT_DTS,AE_FMT_AC3,AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
22:23:14 T:4560   ERROR: [plugin.video.flix2kodi] Traceback (most recent call last):
                                              File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\play.py", line 98, in playInternal
                                                self.update_playcount(video_id)
                                              File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\play.py", line 105, in update_playcount
                                                library.update_playcounts()
                                              File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\library.py", line 93, in update_playcounts
                                                video_ids.extend(get_video_ids(tv_dir))
                                              File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\library.py", line 110, in get_video_ids
                                                for filename in [f for f in filenames if f.decode('utf-8').endswith("V.strm")]:
                                              File "C:\Program Files\Kodi\system\python\Lib\encodings\utf_8.py", line 16, in decode
                                                return codecs.utf_8_decode(input, errors, True)
                                            UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 12: invalid start byte
22:23:14 T:1996  NOTICE: Thread LanguageInvoker start, auto delete: false
22:23:14 T:4972  NOTICE: Thread JobWorker start, auto delete: true
22:23:14 T:5152  NOTICE: Previous line repeats 1 times.
22:23:14 T:5152   ERROR: Control 50 in window 10025 has been asked to focus, but it can't
22:23:14 T:1996  NOTICE: -->Python Interpreter Initialized<--
22:23:16 T:1996  NOTICE: [plugin.video.flix2kodi] Loading netflix: https://www.netflix.com/api/shakti/c88e2062/metadata?movieid=80063251&imageFormat=jpg Post: None
22:23:16 T:1996   ERROR: C:\Users\mce\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\packages\urllib3\util\ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
                                              SNIMissingWarning
22:23:17 T:2784  NOTICE: Thread BackgroundLoader start, auto delete: false
22:23:17 T:4972 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.flix2kodi/?url=80063254&mode=play_video_main&series_id=80063251
22:23:17 T:4972 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.flix2kodi/?url=80063260&mode=play_video_main&series_id=80063251
22:23:17 T:4972 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.flix2kodi/?url=80063261&mode=play_video_main&series_id=80063251
22:23:17 T:2828 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.flix2kodi/?url=80063259&mode=play_video_main&series_id=80063251
22:23:17 T:4972 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.flix2kodi/?url=80063258&mode=play_video_main&series_id=80063251
22:23:17 T:2828 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.flix2kodi/?url=80063257&mode=play_video_main&series_id=80063251
22:23:17 T:4972 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.flix2kodi/?url=80063256&mode=play_video_main&series_id=80063251
22:23:17 T:4972 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.flix2kodi/?url=80063255&mode=play_video_main&series_id=80063251
22:23:25 T:4404  NOTICE: Thread LanguageInvoker start, auto delete: false
22:23:25 T:4404  NOTICE: -->Python Interpreter Initialized<--
22:23:25 T:4404 WARNING: Attempt to use invalid handle -1
22:23:25 T:4248  NOTICE: [plugin.video.flix2kodi] launching: "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\scripts\launcher\windows\chrome.cmd"
22:23:45 T:4248  NOTICE: [plugin.video.flix2kodi] browser terminated
22:23:45 T:3664  NOTICE: Found 2 Lists of Devices
22:23:45 T:3664  NOTICE: Enumerated DIRECTSOUND devices:
22:23:45 T:3664  NOTICE:     Device 1
22:23:45 T:3664  NOTICE:         m_deviceName      : {A3117533-4F1F-49F5-B50E-DDE3A125BB50}
22:23:45 T:3664  NOTICE:         m_displayName     : SPDIF - Digital Audio (S/PDIF) (High Definition Audio Device)
22:23:45 T:3664  NOTICE:         m_displayNameExtra: DIRECTSOUND: Digital Audio (S/PDIF) (High Definition Audio Device)
22:23:45 T:3664  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
22:23:45 T:3664  NOTICE:         m_channels        : FL,FR
22:23:45 T:3664  NOTICE:         m_sampleRates     : 44100
22:23:45 T:3664  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_AC3,AE_FMT_DTS
22:23:45 T:3664  NOTICE:     Device 2
22:23:45 T:3664  NOTICE:         m_deviceName      : default
22:23:45 T:3664  NOTICE:         m_displayName     : default
22:23:45 T:3664  NOTICE:         m_displayNameExtra:
22:23:45 T:3664  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
22:23:45 T:3664  NOTICE:         m_channels        : FL,FR
22:23:45 T:3664  NOTICE:         m_sampleRates     : 44100
22:23:45 T:3664  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_AC3,AE_FMT_DTS
22:23:45 T:3664  NOTICE: Enumerated WASAPI devices:
22:23:45 T:3664  NOTICE:     Device 1
22:23:45 T:3664  NOTICE:         m_deviceName      : {A3117533-4F1F-49F5-B50E-DDE3A125BB50}
22:23:45 T:3664  NOTICE:         m_displayName     : SPDIF - Digital Audio (S/PDIF) (High Definition Audio Device)
22:23:45 T:3664  NOTICE:         m_displayNameExtra: WASAPI: Digital Audio (S/PDIF) (High Definition Audio Device)
22:23:45 T:3664  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
22:23:45 T:3664  NOTICE:         m_channels        : FL,FR
22:23:45 T:3664  NOTICE:         m_sampleRates     : 192000,176400,96000,88200,48000,44100
22:23:45 T:3664  NOTICE:         m_dataFormats     : AE_FMT_DTS,AE_FMT_AC3,AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
22:23:45 T:3664  NOTICE:     Device 2
22:23:45 T:3664  NOTICE:         m_deviceName      : default
22:23:45 T:3664  NOTICE:         m_displayName     : default
22:23:45 T:3664  NOTICE:         m_displayNameExtra:
22:23:45 T:3664  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
22:23:45 T:3664  NOTICE:         m_channels        : FL,FR
22:23:45 T:3664  NOTICE:         m_sampleRates     : 192000,176400,96000,88200,48000,44100
22:23:45 T:3664  NOTICE:         m_dataFormats     : AE_FMT_DTS,AE_FMT_AC3,AE_FMT_S24NE4MSB,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE
22:23:45 T:4248   ERROR: [plugin.video.flix2kodi] Traceback (most recent call last):
                                              File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\play.py", line 98, in playInternal
                                                self.update_playcount(video_id)
                                              File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\play.py", line 105, in update_playcount
                                                library.update_playcounts()
                                              File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\library.py", line 93, in update_playcounts
                                                video_ids.extend(get_video_ids(tv_dir))
                                              File "C:\Users\mce\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\library.py", line 110, in get_video_ids
                                                for filename in [f for f in filenames if f.decode('utf-8').endswith("V.strm")]:
                                              File "C:\Program Files\Kodi\system\python\Lib\encodings\utf_8.py", line 16, in decode
                                                return codecs.utf_8_decode(input, errors, True)
                                            UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 12: invalid start byte
22:23:45 T:5620  NOTICE: Thread BackgroundLoader start, auto delete: false
22:23:45 T:2828 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.flix2kodi/?url=80063254&mode=play_video_main&series_id=80063251
22:23:45 T:2828 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.flix2kodi/?url=80063261&mode=play_video_main&series_id=80063251
22:23:45 T:2828 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.flix2kodi/?url=80063260&mode=play_video_main&series_id=80063251
22:23:45 T:2828 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.flix2kodi/?url=80063259&mode=play_video_main&series_id=80063251
22:23:45 T:2828 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.flix2kodi/?url=80063258&mode=play_video_main&series_id=80063251
22:23:45 T:2828 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.flix2kodi/?url=80063257&mode=play_video_main&series_id=80063251
22:23:45 T:2828 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.flix2kodi/?url=80063256&mode=play_video_main&series_id=80063251
22:23:45 T:2828 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.flix2kodi/?url=80063255&mode=play_video_main&series_id=80063251
22:23:58 T:5988  NOTICE: Thread LanguageInvoker start, auto delete: false
22:23:58 T:5988  NOTICE: Previous line repeats 1 times.
22:23:58 T:5988  NOTICE: -->Python Interpreter Initialized<--
22:23:58 T:4684  NOTICE: Previous line repeats 1 times.
22:23:58 T:4684  NOTICE: CommonFunctions-2.5.1
22:23:58 T:4684  NOTICE: ### Oz Weather - 0.8.1 ### Oz Weather (Author: Bossanova808) Starting ...
22:23:58 T:4684  NOTICE: ### Oz Weather - 0.8.1 ### Called as: ['C:\\Users\\mce\\AppData\\Roaming\\Kodi\\addons\\weather.ozweather\\default.py', '1']
22:23:59 T:4684  NOTICE: ### Oz Weather - 0.8.1 ### Oz Weather (Author: Bossanova808) Exiting ....
22:25:25 T:3840  NOTICE: libspotify: notified main thread
22:53:59 T:4880  NOTICE: Previous line repeats 5 times.
22:53:59 T:4880  NOTICE: Thread JobWorker start, auto delete: true
22:53:59 T:1652  NOTICE: Thread LanguageInvoker start, auto delete: false
22:53:59 T:1652  NOTICE: -->Python Interpreter Initialized<--
22:53:59 T:1652  NOTICE: CommonFunctions-2.5.1

hi, please remove series/movies from the database-folder .../addondata.../library/ which contain ’ in it's name and try again. If it works, try to add these series/movies again to library and try again.


RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - tree_and_kite - 2016-01-06

I updated my AHK script for more comfortable usage. Please try it out. https://dl.dropboxusercontent.com/u/112236453/netflix.zip

Caveats:

1. Windows only, obviously.

2. You probably need the MCERemote addon from the kodi repo installed. Could someone test and tell me if it works without it?

3. Subtitle toggling is not implemented. I might add it if people want it


RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - sagrath - 2016-01-06

(2016-01-06, 02:57)tree_and_kite Wrote: 3. Subtitle toggling is not implemented. I might add it if people want it

Yeah! showd be great a shortcut to subs and audio, for who live outside from USA (like me in Brazil)
Big GrinBig Grin


RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - draco - 2016-01-06

(2016-01-05, 15:43)draco Wrote: I have my Kodibuntu as standalone. Am I going to have to rebuild it with Windows (possibly Unix desktop just to be lightweight) and launch it that way instead? I liked the Kodibuntu experience of just turning it on and it being available.

Can someone please provide me a basic step-by-step guide to get this working on Kodibuntu standalone.


RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - thalon - 2016-01-06

is there a way to use Yatse to control chrome?


RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - adiadi - 2016-01-06

(2016-01-06, 00:41)logi85 Wrote: hi, just released 0.4.6, need some support from windows 10 users with edge:

- please check the window-name of edge. I used "Edge" in edge.cmd (keysender/windows)
- I'll send Alt+Space+x after launch
- please check the process-name of edge. I used "MicrosoftEdge.exd" in edge.cmd (launcher/windows)
- please report wrong parameters
- try to launch the edge.cmd (launcher/windows) with an url as parameter. It should open edge, open the url and switch to fullscreen mode (not kiosk, it seams edge has no kiosk-mode).
- !Important! The edge.cmd script should remain until you close edge. after closing, it should terminate (~2secs gap)

thx!
Tried. Doesn't go full screen, the OK button on the remote just brings up the episode list.
Nogo for me as of now, back to Chrome.
Window name is apparently Netflix, if you mean the "tabname" at the top.


RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - adiadi - 2016-01-06

(2016-01-06, 02:57)tree_and_kite Wrote: I updated my AHK script for more comfortable usage. Please try it out. https://dl.dropboxusercontent.com/u/112236453/netflix.zip

Caveats:

1. Windows only, obviously.

2. You probably need the MCERemote addon from the kodi repo installed. Could someone test and tell me if it works without it?

3. Subtitle toggling is not implemented. I might add it if people want it

Tried your old script with "0", no luck.
In the end, I found a workaround - programmed the Exit button to send an Alt-F4 (I have a Harmony 600 remote) and disabled the MCERemote addon to prevent it from hijacking the signals. Now I can exit from the Chrome window back to Kodi.


RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - tree_and_kite - 2016-01-06

Not sure why the script didn't work for you. Maybe because you're using a universal remote, I dunno. Glad you found a solution


RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - vorta - 2016-01-06

Hi,

I have flix2kodi installed on KODI 15.2 running on windows10.

I have a weird related ssl error... any idea?


Code:
20:59:17 T:4820  NOTICE: -->Python Interpreter Initialized<--
20:59:17 T:4820  NOTICE: [plugin.video.flix2kodi] warning, read empty headers-file
20:59:17 T:4820  NOTICE: [plugin.video.flix2kodi] warning, read empty cookies-file
20:59:17 T:4820  NOTICE: [plugin.video.flix2kodi] None
20:59:17 T:4820   ERROR: C:\Users\HT\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\packages\urllib3\util\ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.
                                              SNIMissingWarning
20:59:19 T:4820  NOTICE: [plugin.video.flix2kodi] parameters: ?mode=main&thumb&type=tv&url
20:59:19 T:4820   ERROR: [plugin.video.flix2kodi] Traceback (most recent call last):
                                              File "C:\Users\HT\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\addon.py", line 83, in <module>
                                                handle_request()
                                              File "C:\Users\HT\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\addon.py", line 35, in handle_request
                                                general.main(video_type)
                                              File "C:\Users\HT\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\general.py", line 38, in main
                                                add_dynamic_lists(video_type)
                                              File "C:\Users\HT\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\general.py", line 28, in add_dynamic_lists
                                                content = connect.load_netflix_site("https://www.netflix.com/")
                                              File "C:\Users\HT\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\connect.py", line 111, in load_netflix_site
                                                ret, status_code = load_site_internal(url, session, post, netflix=True)
                                              File "C:\Users\HT\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\connect.py", line 168, in load_site_internal
                                                response = session.get(url, headers=headers, cookies=cookies, verify=certifi.where())
                                              File "C:\Users\HT\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\sessions.py", line 480, in get
                                                return self.request('GET', url, **kwargs)
                                              File "C:\Users\HT\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\sessions.py", line 468, in request
                                                resp = self.send(prep, **send_kwargs)
                                              File "C:\Users\HT\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\sessions.py", line 576, in send
                                                r = adapter.send(request, **kwargs)
                                              File "C:\Users\HT\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\adapters.py", line 447, in send
                                                raise SSLError(e, request=request)
                                            SSLError: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
20:59:22 T:4820   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.NameError'>
                                            Error Contents: name 'login' is not defined
                                            Traceback (most recent call last):
                                              File "C:\Users\HT\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\addon.py", line 90, in <module>
                                                if login.login()==True:
                                            NameError: name 'login' is not defined
                                            -->End of Python script error report<--
20:59:22 T:5876   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.flix2kodi/?mode=main&thumb&type=tv&url
20:59:22 T:5876   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.flix2kodi/?mode=main&thumb&type=tv&url) failed

Thanks!!!


RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - Bearhunter73 - 2016-01-06

@logi85, great work mate. Noob here.. but trying to help if possible..

Re: EDGE

Edge is launched and stream starts, but as adiadi advised, full-screen option not working, no key presses are working (could well be my setup though). I think if Alt+Space+X is sent as one this will not work... essentially Alt+Space bring up a menu for the window then X selects Maximum. Maybe if X can be sent separately after Alt+Space - may work?

As for process: I think the window/process name is "Netflix - Microsoft Edge"... Looks like you're looking for "Edge". There appears to be a process running for edge and one for each window/tab open....
The main process (listed as Microsoft Edge) is C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdge.exe
Additional processes (listed as Microsoft Edge Content Process) are C:\Windows\SystemApps\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\MicrosoftEdgeCP.exe

At some point I'll install the Netflix Windows 10 app and tinker where I can, hope something above may be of use.

@vorta, hmm, I'm not getting same error, I have same setup.


RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - harry fine - 2016-01-06

(2016-01-05, 23:54)logi85 Wrote:
(2016-01-05, 23:49)harry fine Wrote: Using Openelec 6, newest version, 64 bit on an Intel box. Have Chromium plugin 6.0.4 working, thanks to the developer, even have netflix and youtube flash running. Problem is, NO SOUND.

Ran the aplay -l command, got this:


Code:
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

But not sure what to put in the Chromium configure tab for custom audio device. Tried CARD=HDMI,DEV=0, but it didn't work. Does anyone know the correct syntax?

Also wondering about Ash deskatop, and stop XBMC player and suspend audio settings.

Thanks so much.

try to create a file called .asoundrc in your home-folder and paste the following:
Code:
pcm_slave.hdmi {
        pcm "hdmi:CARD=HDMI,DEV=0"
}

pcm.!default {
        type plug
        slave hdmi
}
had the same issue on intel nuc.
please report, if it works for you!

Fixed it, didn't use the asoundrc file, just put the correct device into the "Use Custom Audio Device" field in the configuration settings of the Chromium addon. For me, just set to hw:0,3, but your mileage may vary. Used the aplay -l command to see devices. Also enabled the "Stop Play & Suspend Audio Engine" setting in the Chromium addon. By the way, I'm using v.6.0.4 of the Chromium addon with my Openelec setup.


RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - harry fine - 2016-01-06

(2016-01-05, 23:44)logi85 Wrote:
(2016-01-05, 21:19)harry fine Wrote: I'm using Openelec v.6, newest version, on an Intel NUC. I've added the Flix2kodi addon. Added the chromium remote control addon. Chromium launcher is installed. I can run the chromium launcher manually to browse the web.

Configured the addon, put in login and password, chose Chromium browser. Logs in OK, browses menus, I pick a movie or TV show, and it says something like "Press BACK to go back. If browser doesn't launch, something is wrong".

Anyone point me in the right direction?

*** EDITED ***

Upgraded Chromium to latest version, 6.04, it now launches in full screen. Yeah! Haven't tested sound etc., but that's next. It took me to the Netflix login screen in the browser. Is that normal? Wondering what the point of the login info in the addon is.

Hi,
the addon should set the cookies for chrome. Perhaps your chrome installation uses a custom folder to store profile data. The default is /home/user/.config/google-chrome/Default/Cookies if you or another openelec user could tell me the right folder on openelec, I'll modify

Logi85, I looked around for where Chromium sets the cookies on Openelec. Not sure where to look, but went in with ssh/Winscp and looked around, it appears the data for Chromium is stored in /storage/.kodi/userdata/addon_data/browser.chromium/profile. Hope that helps.


RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - Cassiuss - 2016-01-06

(2016-01-06, 02:57)tree_and_kite Wrote: I updated my AHK script for more comfortable usage. Please try it out. https://dl.dropboxusercontent.com/u/112236453/netflix.zip

Caveats:

1. Windows only, obviously.

2. You probably need the MCERemote addon from the kodi repo installed. Could someone test and tell me if it works without it?

3. Subtitle toggling is not implemented. I might add it if people want it

I have tried your script, thanks for sharing! But it does not seem to do anything for me... I already played around with MCE Remote before trying to exit for flix2kodi but can't get it to work. Which option in MCE Remote do I need to choose to get your script to work?? I am on windows 10 btw, will this make a difference??

Also tried to program alt+F4 on my harmony remote (that I am using downstairs, upstairs I have a cheap chinese MCE remote) but can't get this to work as well..

And tried to remap some keys with LM Remote keymap, but this did not work as wel..

Maybe one of the things that I have tried is interfering with the other, I don't know, but it is starting to get annoying Big Grin


RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - mhoogenbosch - 2016-01-06

(2016-01-06, 17:43)harry fine Wrote:
(2016-01-05, 23:44)logi85 Wrote:
(2016-01-05, 21:19)harry fine Wrote: I'm using Openelec v.6, newest version, on an Intel NUC. I've added the Flix2kodi addon. Added the chromium remote control addon. Chromium launcher is installed. I can run the chromium launcher manually to browse the web.

Configured the addon, put in login and password, chose Chromium browser. Logs in OK, browses menus, I pick a movie or TV show, and it says something like "Press BACK to go back. If browser doesn't launch, something is wrong".

Anyone point me in the right direction?

*** EDITED ***

Upgraded Chromium to latest version, 6.04, it now launches in full screen. Yeah! Haven't tested sound etc., but that's next. It took me to the Netflix login screen in the browser. Is that normal? Wondering what the point of the login info in the addon is.

Hi,
the addon should set the cookies for chrome. Perhaps your chrome installation uses a custom folder to store profile data. The default is /home/user/.config/google-chrome/Default/Cookies if you or another openelec user could tell me the right folder on openelec, I'll modify

Logi85, I looked around for where Chromium sets the cookies on Openelec. Not sure where to look, but went in with ssh/Winscp and looked around, it appears the data for Chromium is stored in /storage/.kodi/userdata/addon_data/browser.chromium/profile. Hope that helps.
I'm using Openelec 6.0.0 on a Intelnuc with Chronium 6.0.4. I don't have any problems what so ever... so i dont think it is a good idea to change anything in it.

The first time you start a movie you always have to log in thorugh the browser, that's normal behavior. The second time it just works.


RE: [RELEASE] Flix2Kodi - Just another Netflix-Addon - sh33p - 2016-01-06

which repo got the 6.0.4 chromium? im running OE 6 as well but got only 6.0.1