Kodi Community Forum

Full Version: [RELEASE] Flix2Kodi - Just another Netflix-Addon
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Im using ubuntu server with Kodi 14 and it seems like I cant get this addon to work properly.

Ive installed it and have updated it to the latest version. Ive also installed blackbox and google chrome (stable) and changed chromelauncher.sh according to the FAQ.
Ive entered my login and when I launch it sends me to the Movies/TV Shows menu but when I choose something it says that the script has failed and wants me to send the login again.

This is from kodi.log:

Quote:13:53:06 T:140192312694528 NOTICE: [plugin.video.flix2kodi] Loading netflix: https://www.netflix.com/Login Post: None
13:53:07 T:140192312694528 NOTICE: [plugin.video.flix2kodi] Setting authorization url: XXXXXXXXXXX
13:53:07 T:140192312694528 NOTICE: [plugin.video.flix2kodi] Loading netflix: https://www.netflix.com/Login?locale=en-SE Post: {u'rememberMe': u'true', u'authURL': 'XXXXXXXXXXXXXX=', u'mode': u'loginPassword', u'action': u'loginAction', u'password': 'XXXXXXXXXXXX', u'flow': u'websiteSignUp', u'email': '[email protected]', u'nextPage': u'', u'withFields': u'email,password,rememberMe,nextPage'}
13:53:07 T:140192312694528 NOTICE: [plugin.video.flix2kodi] Setting authorization url: XXXXXXXXXXX
13:53:07 T:140192312694528 ERROR: [plugin.video.flix2kodi] Error setting Chrome-Cookie: Traceback (most recent call last):
File "/home/maz/.kodi/addons/plugin.video.flix2kodi/resources/chrome_cookie.py", line 129, in set_netflix_cookies
conn = connect()
File "/home/maz/.kodi/addons/plugin.video.flix2kodi/resources/chrome_cookie.py", line 117, in connect
raise ValueError('Cannot find cookie-file in: '+db_path)
ValueError: Cannot find cookie-file in: /home/maz/.config/google-chrome/Default/Cookies/storage/.kodi/userdata/addon_data/browser.chromium/profile
13:53:07 T:140192312694528 NOTICE: [plugin.video.flix2kodi] Loading netflix: http://api-global.netflix.com/desktop/ac...tials=true Post: None
13:53:08 T:140192312694528 NOTICE: [plugin.video.flix2kodi] {"profiles":[{"firstName":null,"guid":"XXXXXXXXXXXX","isAccountOwner":true,"isFirstUse":false,"isActive":true,"experience":"standard","defaultKidsProfile":false,"maturityLevel":1000000,"avatarName":"default","avatarImages":{"32":"http://cdn-0.nflximg.com/ffe/profiles/avatars_v2/32x32/PICON_025.png","50":"http://cdn-0.nflximg.com/ffe/profiles/avatars_v2/50x50/PICON_025.png","64":"http://cdn-0.nflximg.com/ffe/profiles/avatars_v2/64x64/PICON_025.png","80":"http://cdn-0.nflximg.com/ffe/profiles/avatars_v2/80x80/PICON_025.png","100":"http://cdn-0.nflximg.com/ffe/profiles/avatars_v2/100x100/PICON_025.png","112":"http://cdn-0.nflximg.com/ffe/profiles/avatars_v2/112x112/PICON_025.png","160":"http://cdn-0.nflximg.com/ffe/profiles/avatars_v2/160x160/PICON_025.png","200":"http://cdn-0.nflximg.com/ffe/profiles/avatars_v2/200x200/PICON_025.png","320":"http://cdn-0.nflximg.com/ffe/profiles/avatars_v2/320x320/PICON_025.png"},"canEdit":true,"isDefault":true}]}
13:53:09 T:140192312694528 NOTICE: [plugin.video.flix2kodi] Loading netflix: https://www.netflix.com/api/shakti/profi...RL=XXXXXXX= Post: None
13:53:09 T:140192312694528 NOTICE: [plugin.video.flix2kodi] Loading netflix: http://www.netflix.com/browse Post: None
13:53:11 T:140192312694528 NOTICE: [plugin.video.flix2kodi] Setting authorization url: XXXXXXXX=
13:53:11 T:140192312694528 ERROR: [plugin.video.flix2kodi] Error setting Chrome-Cookie: Traceback (most recent call last):
File "/home/maz/.kodi/addons/plugin.video.flix2kodi/resources/chrome_cookie.py", line 129, in set_netflix_cookies
conn = connect()
File "/home/maz/.kodi/addons/plugin.video.flix2kodi/resources/chrome_cookie.py", line 117, in connect
raise ValueError('Cannot find cookie-file in: '+db_path)
ValueError: Cannot find cookie-file in: /home/maz/.config/google-chrome/Default/Cookies/storage/.kodi/userdata/addon_data/browser.chromium/profile
13:53:11 T:140191666784000 NOTICE: Thread JobWorker start, auto delete: true
13:53:11 T:140191675176704 NOTICE: Thread LanguageInvoker start, auto delete: false
13:53:11 T:140191675176704 NOTICE: -->Python Interpreter Initialized<--
13:53:11 T:140192782608128 NOTICE: Thread BackgroundLoader start, auto delete: false
13:53:11 T:140192312694528 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: root_list_id not found in cookies!
Traceback (most recent call last):
File "/home/maz/.kodi/addons/plugin.video.flix2kodi/addon.py", line 91, in <module>
handle_request()
File "/home/maz/.kodi/addons/plugin.video.flix2kodi/addon.py", line 37, in handle_request
general.main(video_type)
File "/home/maz/.kodi/addons/plugin.video.flix2kodi/resources/general.py", line 49, in main
root_list = lolomos.get_root_list()
File "/home/maz/.kodi/addons/plugin.video.flix2kodi/resources/path_evaluator/types/lolomos.py", line 40, in get_root_list
return get_root_list_id_from_cookie()
File "/home/maz/.kodi/addons/plugin.video.flix2kodi/resources/path_evaluator/__init__.py", line 68, in get_root_list_id_from_cookie
raise ValueError('root_list_id not found in cookies!')
ValueError: root_list_id not found in cookies!
-->End of Python script error report<--
13:53:11 T:140193574385600 ERROR: GetDirectory - Error getting plugin://plugin.video.flix2kodi/?mode=main&thumb&type=movie&url
13:53:11 T:140193574385600 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.flix2kodi/?mode=main&thumb&type=movie&url) failed
13:53:11 T:140192312694528 NOTICE: Thread LanguageInvoker start, auto delete: false
13:53:11 T:140192312694528 NOTICE: -->Python Interpreter Initialized<--
13:53:11 T:140191675176704 NOTICE: Thread BackgroundLoader start, auto delete: false
13:53:15 T:140192312694528 NOTICE: Thread LanguageInvoker start, auto delete: false
Hm. Playing Netflix from chromium is no problem (which is nice!). Added/installed widevine in the Chromium settings. But I can not play Netflix from the Flix2KODI add on.
I am using Libreelec/jarvis on intel NUC.
In the same boat as @Ipaddle. Will gather logs.
Seemed to have at least half solved it for Libreelec.

1. Install flix2kodi (see post 1) and chromium (libreelec addons)

2. In chromium settings install widevine support.

3. Launch chromium and navigate to netflix.com (yes a keyboard and mouse helps for this part), log in with your regular netflix account details and keep the box ticked to save the password on this device.

4. In flix2kodi settings choose chromelauncher (not chromium) as your browser. Also, of course, enter your netflix auth details.

At that point I can play, but cannot use my remote to navigate - that's part two I guess.
(2016-07-31, 07:12)nickr Wrote: [ -> ]Seemed to have at least half solved it for Libreelec.

1. Install flix2kodi (see post 1) and chromium (libreelec addons)

2. In chromium settings install widevine support.

3. Launch chromium and navigate to netflix.com (yes a keyboard and mouse helps for this part), log in with your regular netflix account details and keep the box ticked to save the password on this device.

4. In flix2kodi settings choose chromelauncher (not chromium) as your browser. Also, of course, enter your netflix auth details.

At that point I can play, but cannot use my remote to navigate - that's part two I guess.


I will try that, thanks.


Sent from my iPad
The next part (remote control) looks dependent on getting an xdotool addon compiled for libreelec.
(2016-07-31, 09:02)Ipaddle Wrote: [ -> ]
(2016-07-31, 07:12)nickr Wrote: [ -> ]Seemed to have at least half solved it for Libreelec.

1. Install flix2kodi (see post 1) and chromium (libreelec addons)

2. In chromium settings install widevine support.

3. Launch chromium and navigate to netflix.com (yes a keyboard and mouse helps for this part), log in with your regular netflix account details and keep the box ticked to save the password on this device.

4. In flix2kodi settings choose chromelauncher (not chromium) as your browser. Also, of course, enter your netflix auth details.

At that point I can play, but cannot use my remote to navigate - that's part two I guess.

Yes. It works with choosing chromelauncher. No, it does not work with remote, but with a keyboard.
I will try that, thanks.


Sent from my iPad
Hi all.

I'm trying to install this add on in my android MX memobox. As far as I read in this thread it should be possible, but i can't make it work.

I'm stuck in the last step of the instalation instructions. When I go to "Video-Addons", the list is empty, I don't find the FLix2Kodi option.

1. download http://logi85.github.io/repository.logi8...85-1.0.zip
2. choose "install from zip" in kodi and select the downloaded file
3. choose "install from repository"
4. choose "Logi85 Addons"
5. choose "Video-Addons"
6. select "FLix2Kodi" and choose install


Any ideas?

I know @dorf ans @ killian made it work in a couple of similar android devices.

thanks
perhaps try to update kodi if possible or to restart, read this issue before some months here in forum, I think somethink like that was the solution.
(2016-07-31, 09:12)nickr Wrote: [ -> ]The next part (remote control) looks dependent on getting an xdotool addon compiled for libreelec.
compiling libreelec now then hopefully should be able to compile and xdotool addon for LE and get this baby on the road.
Wow Netflix running FLAWLESS on my Android 4.4 with Kodi 16.1.

How to:

- Download Chrome browser (just Chrome, no BETA, DEV or whatever) and Netflix (updated version, ok?) on the Google Play Store
- Set up Kodi2Flix and choose on Browser > Android.
- First, open Chrome Browser, press OK on the first pages that will show up to you and then close it;
- NOW, open Kodi2Flix, insert your account info and voilá!
How does it work?
Kodi2Flix will scrape your library and when you click on a movie or on an episode, it will take you to chrome browser and then Chrome will take you Netflix app. If you press RETURN/BACK, the Netflix will close and take you back to Kodi. Amazing Smile


Tested on a M8S Android TV Box OTT TV in BRAZIL, without any VPN.
(2016-08-01, 00:27)nickr Wrote: [ -> ]
(2016-07-31, 09:12)nickr Wrote: [ -> ]The next part (remote control) looks dependent on getting an xdotool addon compiled for libreelec.
compiling libreelec now then hopefully should be able to compile and xdotool addon for LE and get this baby on the road.
So xdotool will evt. be a part of the next LibreELEC release?
That is my aim. I am just experimenting in getting it going now. What version of LibreELEC are you using?
(2016-08-01, 08:52)nickr Wrote: [ -> ]That is my aim. I am just experimenting in getting it going now. What version of LibreELEC are you using?

As quoted in my signature. Jarvis edition 7.0.2
But I am considering evt. to upgrade to Milhouse Krypton versions...
Thanks for asking and your efforts.
Hi Logi85

This is a Feature request.

How about to add a option to download ALL My List?

This way, we can keep all movies and tv shows on our kodi´s library.
We press C to open context menu on My List, and choose "download to my Library"

Another option would be "update My list"
This way, if some movie o tv show are not anymore in My List, it will be deleted.

Thanks