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.
I've had the addon working OK, but now it seems that it doesn't allow me to log in anymore - I get a 403 whenever I try to login. Tried the same within the chrome browser, but also failed. Tried to watch Netflix via another method (PS4) and it was working OK, so no account issues. Has anyone else have the same issue?

++Edit++
Chrome is magically working again, but still getting the login errors in Kodi. After clearing cache, the issue got worse. Before, I could sometimes at least watch a show that was already loaded in Kodi (so an old serie I could watch, but I wouldn't see any newer series that have been added since the last time I logged in using Kodi), now nothing is working anymore?

++Edit2++
....Aaaaaand its gone again. Can't figure it out, but for now assuming that Netflix is having an off day, checking back later
Hi guys,


i'm trying to use this addon on my android box without any luck... I can navigate and everything, but when i try to stream a file it has 2 behaviours:

1) (If i select android as browser) Nothing happens. The titles go away for a bit and then come back, It looks like it's trying to run something;
2) (if i select chrome) Same as before, but "there was an error with the browser" message pops up.

Do i need to be root or something to use it?

Thanks!
I too have problems with the addon. This part of the kodi.log should tell you all what's wrong, I don't understand the file.
Can anyone please help me? I run Kodi 15 on Xubuntu 16.04.1 on a Asrock ION 3d.
I have Chrome installed and working (can play from NetFlix), I can start Chrome from Kodi through Chrome Launcher, but Flix2kodi doesn't work at all.

14:16:08 T:139892435585472 DEBUG: RunScriptWithParams - calling plugin Flix2Kodi('plugin://plugin.video.flix2kodi/','-1','?mode=delete_cache')
14:16:08 T:139890859677440 NOTICE: Thread LanguageInvoker start, auto delete: false
14:16:08 T:139890859677440 INFO: initializing python engine.
14:16:08 T:139890859677440 DEBUG: CPythonInvoker(0, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): start processing
14:16:09 T:139890859677440 NOTICE: -->Python Interpreter Initialized<--
14:16:09 T:139890859677440 DEBUG: CPythonInvoker(0, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): the source file to load is "/home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py"
14:16:09 T:139890859677440 DEBUG: CPythonInvoker(0, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): setting the Python path to /home/dick/.kodi/addons/plugin.video.flix2kodi:/home/dick/.kodi/addons/script.module.requests/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/ubuntu-sso-client
14:16:09 T:139890859677440 DEBUG: CPythonInvoker(0, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): entering source directory /home/dick/.kodi/addons/plugin.video.flix2kodi
14:16:09 T:139890859677440 DEBUG: CPythonInvoker(0, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): instantiating addon using automatically obtained id of "plugin.video.flix2kodi" dependent on version 2.1.0 of the xbmc.python api
14:16:09 T:139892435585472 DEBUG: ------ Window Init (Pointer.xml) ------
14:16:10 T:139890859677440 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: No module named Crypto.Cipher
Traceback (most recent call last):
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py", line 8, in <module>
from resources import general
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/general.py", line 6, in <module>
import add
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/add.py", line 10, in <module>
from resources import library
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/library.py", line 9, in <module>
import get
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/get.py", line 9, in <module>
from resources import connect
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/connect.py", line 8, in <module>
from resources import chrome_cookie
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/chrome_cookie.py", line 23, in <module>
from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher
-->End of Python script error report<--
14:16:10 T:139892435585472 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
14:16:10 T:139891731486464 INFO: CActiveAESink::OpenSink - initialize sink
14:16:10 T:139891731486464 DEBUG: CActiveAESink::OpenSink - trying to open device PULSE:alsa_output.pci-0000_02_00.1.hdmi-stereo-extra1
14:16:10 T:139891731486464 DEBUG: PulseAudio: Context authorizing
14:16:10 T:139891731486464 DEBUG: PulseAudio: Context setting name
14:16:10 T:139891731486464 DEBUG: PulseAudio: Context ready
14:16:10 T:139890859677440 INFO: Python script stopped
14:16:10 T:139890859677440 DEBUG: Thread LanguageInvoker 139890859677440 terminating
14:16:11 T:139891731486464 DEBUG: PulseAudio: Stream ready
14:16:11 T:139891731486464 NOTICE: PulseAudio: Opened device alsa_output.pci-0000_02_00.1.hdmi-stereo-extra1 in pcm mode with Buffersize 150 ms
14:16:11 T:139891731486464 DEBUG: CActiveAESink::OpenSink - PULSE Initialized:
14:16:11 T:139891731486464 DEBUG: Output Device : High Definition Audio Controller Digital Stereo (HDMI 2)
14:16:11 T:139891731486464 DEBUG: Sample Rate : 44100
14:16:11 T:139891731486464 DEBUG: Sample Format : AE_FMT_FLOAT
14:16:11 T:139891731486464 DEBUG: Channel Count : 2
14:16:11 T:139891731486464 DEBUG: Channel Layout: FL,FR
14:16:11 T:139891731486464 DEBUG: Frames : 2205
14:16:11 T:139891731486464 DEBUG: Frame Samples : 4410
14:16:11 T:139891731486464 DEBUG: Frame Size : 8
14:16:11 T:139892435585472 DEBUG: ProcessMouse: trying mouse action leftclick
14:16:11 T:139892435585472 DEBUG: ------ Window Deinit (Pointer.xml) ------
14:16:11 T:139892435585472 DEBUG: RunScriptWithParams - calling plugin Flix2Kodi('plugin://plugin.video.flix2kodi/','-1','?mode=delete_cookies')
14:16:11 T:139890859677440 NOTICE: Thread LanguageInvoker start, auto delete: false
14:16:11 T:139890859677440 INFO: initializing python engine.
14:16:11 T:139890859677440 DEBUG: CPythonInvoker(1, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): start processing
14:16:11 T:139890859677440 NOTICE: -->Python Interpreter Initialized<--
14:16:11 T:139890859677440 DEBUG: CPythonInvoker(1, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): the source file to load is "/home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py"
14:16:11 T:139890859677440 DEBUG: CPythonInvoker(1, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): setting the Python path to /home/dick/.kodi/addons/plugin.video.flix2kodi:/home/dick/.kodi/addons/script.module.requests/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/ubuntu-sso-client
14:16:11 T:139890859677440 DEBUG: CPythonInvoker(1, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): entering source directory /home/dick/.kodi/addons/plugin.video.flix2kodi
14:16:11 T:139890859677440 DEBUG: CPythonInvoker(1, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): instantiating addon using automatically obtained id of "plugin.video.flix2kodi" dependent on version 2.1.0 of the xbmc.python api
14:16:12 T:139892435585472 DEBUG: ------ Window Init (Pointer.xml) ------
14:16:12 T:139890859677440 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: No module named Crypto.Cipher
Traceback (most recent call last):
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py", line 8, in <module>
from resources import general
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/general.py", line 6, in <module>
import add
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/add.py", line 10, in <module>
from resources import library
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/library.py", line 9, in <module>
import get
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/get.py", line 9, in <module>
from resources import connect
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/connect.py", line 8, in <module>
from resources import chrome_cookie
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/chrome_cookie.py", line 23, in <module>
from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher
-->End of Python script error report<--
14:16:12 T:139890859677440 INFO: Python script stopped
14:16:12 T:139890859677440 DEBUG: Thread LanguageInvoker 139890859677440 terminating
14:16:17 T:139892435585472 DEBUG: ProcessMouse: trying mouse action leftclick
14:16:17 T:139892435585472 DEBUG: ------ Window Deinit (Pointer.xml) ------
14:16:17 T:139892435585472 DEBUG: RunScriptWithParams - calling plugin Flix2Kodi('plugin://plugin.video.flix2kodi/','-1','?mode=reset_addon')
14:16:17 T:139890859677440 NOTICE: Thread LanguageInvoker start, auto delete: false
14:16:17 T:139890859677440 INFO: initializing python engine.
14:16:17 T:139890859677440 DEBUG: CPythonInvoker(2, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): start processing
14:16:17 T:139890859677440 NOTICE: -->Python Interpreter Initialized<--
14:16:17 T:139890859677440 DEBUG: CPythonInvoker(2, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): the source file to load is "/home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py"
14:16:17 T:139890859677440 DEBUG: CPythonInvoker(2, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): setting the Python path to /home/dick/.kodi/addons/plugin.video.flix2kodi:/home/dick/.kodi/addons/script.module.requests/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/ubuntu-sso-client
14:16:17 T:139890859677440 DEBUG: CPythonInvoker(2, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): entering source directory /home/dick/.kodi/addons/plugin.video.flix2kodi
14:16:17 T:139890859677440 DEBUG: CPythonInvoker(2, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): instantiating addon using automatically obtained id of "plugin.video.flix2kodi" dependent on version 2.1.0 of the xbmc.python api
14:16:18 T:139892435585472 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
14:16:18 T:139892435585472 DEBUG: ------ Window Init (Pointer.xml) ------
14:16:18 T:139890859677440 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: No module named Crypto.Cipher
Traceback (most recent call last):
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py", line 8, in <module>
from resources import general
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/general.py", line 6, in <module>
import add
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/add.py", line 10, in <module>
from resources import library
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/library.py", line 9, in <module>
import get
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/get.py", line 9, in <module>
from resources import connect
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/connect.py", line 8, in <module>
from resources import chrome_cookie
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/chrome_cookie.py", line 23, in <module>
from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher
-->End of Python script error report<--
14:16:18 T:139892435585472 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
14:16:18 T:139890859677440 INFO: Python script stopped
14:16:18 T:139890859677440 DEBUG: Thread LanguageInvoker 139890859677440 terminating
14:16:23 T:139892435585472 DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
14:16:28 T:139892435585472 INFO: Python, unloading python shared library because no scripts are running anymore
14:16:28 T:139892435585472 DEBUG: UnloadExtensionLibs, clearing python extension libraries
14:16:32 T:139892435585472 DEBUG: ProcessMouse: trying mouse action leftclick
14:16:32 T:139892435585472 DEBUG: ------ Window Deinit (Pointer.xml) ------
14:16:34 T:139892435585472 DEBUG: ------ Window Init (Pointer.xml) ------
14:16:34 T:139892435585472 DEBUG: ProcessMouse: unknown mouse command 57608
14:16:34 T:139892435585472 DEBUG: ------ Window Deinit (Pointer.xml) ------
14:16:34 T:139892435585472 DEBUG: ProcessMouse: unknown mouse command 57607
14:16:34 T:139892435585472 DEBUG: Previous line repeats 15 times.
14:16:34 T:139892435585472 DEBUG: ProcessMouse: unknown mouse command 57609
14:16:34 T:139892435585472 DEBUG: ------ Window Init (Pointer.xml) ------
14:16:37 T:139892435585472 DEBUG: ProcessMouse: trying mouse action leftclick
14:16:37 T:139892435585472 DEBUG: ------ Window Deinit (Pointer.xml) ------
14:16:38 T:139892435585472 DEBUG: ------ Window Init (Pointer.xml) ------
14:16:40 T:139892435585472 DEBUG: ProcessMouse: trying mouse action leftclick
14:16:40 T:139892435585472 DEBUG: ------ Window Deinit (Pointer.xml) ------
14:16:41 T:139892435585472 DEBUG: ------ Window Deinit (DialogAddonSettings.xml) ------
14:16:42 T:139892435585472 DEBUG: ------ Window Init (Pointer.xml) ------
14:16:47 T:139892435585472 DEBUG: ProcessMouse: trying mouse action leftclick
14:16:47 T:139892435585472 DEBUG: Activating window ID: 10025
14:16:47 T:139892435585472 DEBUG: ------ Window Deinit (AddonBrowser.xml) ------
14:16:47 T:139892435585472 DEBUG: ------ Window Deinit (DialogAddonInfo.xml) ------
14:16:47 T:139892435585472 DEBUG: ------ Window Init (MyVideoNav.xml) ------
14:16:47 T:139892435585472 INFO: Loading skin file: MyVideoNav.xml, load type: KEEP_IN_MEMORY
14:16:47 T:139892435585472 DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.video.flix2kodi/)
14:16:47 T:139892435585472 DEBUG: ParentPath = [plugin://plugin.video.flix2kodi/]
14:16:47 T:139892435585472 DEBUG: StartScript - calling plugin Flix2Kodi('plugin://plugin.video.flix2kodi/','1','')
14:16:47 T:139892435585472 DEBUG: WaitOnScriptResult - waiting on the Flix2Kodi (id=3) plugin...
14:16:47 T:139890859677440 NOTICE: Thread LanguageInvoker start, auto delete: false
14:16:47 T:139890859677440 INFO: initializing python engine.
14:16:47 T:139892435585472 DEBUG: ------ Window Deinit (Pointer.xml) ------
14:16:48 T:139890859677440 DEBUG: CPythonInvoker(3, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): start processing
14:16:48 T:139890859677440 NOTICE: -->Python Interpreter Initialized<--
14:16:48 T:139890859677440 DEBUG: CPythonInvoker(3, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): the source file to load is "/home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py"
14:16:48 T:139890859677440 DEBUG: CPythonInvoker(3, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): setting the Python path to /home/dick/.kodi/addons/plugin.video.flix2kodi:/home/dick/.kodi/addons/script.module.requests/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PILcompat:/usr/lib/python2.7/dist-packages/ubuntu-sso-client
14:16:48 T:139890859677440 DEBUG: CPythonInvoker(3, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): entering source directory /home/dick/.kodi/addons/plugin.video.flix2kodi
14:16:48 T:139890859677440 DEBUG: CPythonInvoker(3, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): instantiating addon using automatically obtained id of "plugin.video.flix2kodi" dependent on version 2.1.0 of the xbmc.python api
14:16:49 T:139890859677440 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: No module named Crypto.Cipher
Traceback (most recent call last):
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py", line 8, in <module>
from resources import general
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/general.py", line 6, in <module>
import add
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/add.py", line 10, in <module>
from resources import library
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/library.py", line 9, in <module>
import get
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/get.py", line 9, in <module>
from resources import connect
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/connect.py", line 8, in <module>
from resources import chrome_cookie
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/chrome_cookie.py", line 23, in <module>
from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher
-->End of Python script error report<--
14:16:49 T:139892435585472 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
14:16:49 T:139890859677440 INFO: Python script stopped
14:16:49 T:139890859677440 DEBUG: Thread LanguageInvoker 139890859677440 terminating
14:16:49 T:139892435585472 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
14:16:49 T:139892435585472 ERROR: GetDirectory - Error getting plugin://plugin.video.flix2kodi/
14:16:49 T:139892435585472 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.flix2kodi/) failed
Is it possible to add a feature that at every set interval (defined by user) the add-on will go through every movie and TV series and add it to the library? One step further would be to have the add-on also remove files from library of titles are no longer on Netflix. Let me know, thanks!
Is there a way to launch chrom with your plugin from another addon like amazon VOD?
Why i am asking:
I want to use yatse with amazon VOD plugin.

thx
Is there a way to map the play and stop buttons on my rc6 remote for chrome netflix? Maybe have stop close the browser? Besides that everything is going smoothly besides searching Smile

Sent from my SM-N920T
Just trying F2K and I can't get it to display any TV shows in the menu - when F2K logs in to Netflix, it either fails to login or returns no data.

Movies are no problem.

Thanks in advance for any help
I set my browser to Edge (also tried IE) since Chrome doesn't support 1080p playback, but I can't get it to work. According to the log it is still trying to find Cookies for Chrome when trying to browse (I couldn't test playback obviously). Is this normal? I don't have Chrome installed (using Vivaldi), do I really need it installed first?
I finally manage to get it working on my Ubuntu headless server with Firefox !
I choose to use Firefox because :
- Not working in chromium despite having Widevine installed and modifying the user-agent
- Installing google-chrome wasn't an option (because it's google's...)

Here the steps :

  1. Install packages
    Code:
    sudo apt-get install fluxbox firefox xdotool ubuntu-restricted-extras
    fluxbox : minimal desktop manager. Only needed in headless mode
    xdotool : key sender for X11. Use to manage some keys in the addon and get Firefox in fullscreen at launch.
    ubuntu-restricted-extras : needed to decode H.264 Videos
  2. Create a specific Firefox profile for Netflix
    Code:
    firefox -CreateProfile "netflix_user"
  3. Modify chromium launcher script
    Code:
    nano ~/.kodi/addons/plugin.video.flix2kodi/resources/scripts/launcher/linux/chromium.sh

    Note : make sure to delete lines specific to headless mode if you are using Kodi in desktop mode

    Code:
    #!/bin/bash

    # copy from https://github.com/andrewleech/plugin.video.netflixbmc/blob/master/browser.sh

    # Managed to resolve the issues with, but will leave this here anyway, as its a good fallback
    CHROME_STARTED=`ps -ef | grep firefox | grep -v "grep" | wc -l`
    if [ $CHROME_STARTED -gt 0 ]; then
            exit 1;
    fi

    # lets find out if xdotool actually exist before we try to call them.
    command -v xdotool >/dev/null 2>&1
    XDOTOOL=$?

    url=$1

    ## Addition for standalone mode (headless mode only)
    # start window manager to make fullscreen work
    /usr/bin/fluxbox &


    # notice the ampersand to send google chrome into back ground so that the script continues and we execute the xdotool below
    /usr/bin/firefox -P "netflix_user" -url "$url" &
    CHROME_PID=$!

    if [ $XDOTOOL -eq 0 ]; then
            # no point sleeping if xdotool is not installed.
            sleep 4
    #        xdotool mousemove 9999 9999 click 1
    # Doesn't click because cause the window to be minimized and send F11 to fullscreen
            xdotool mousemove 9999 9999 key F11
    else
            echo "xdotool is not installed, can't remove cursor"
    fi

    # wait for google-chrome to be killed
    wait $CHROME_PID

    # Only for headless mode
    # kill window manager so we exit back to kodi
    killall fluxbox >/dev/null 2>&1

  4. Modify the keysender script :
    Code:
    nano ~/.kodi/addons/plugin.video.flix2kodi/resources/scripts/keysender/linux/chromium.sh
    Code:
    #!/bin/sh

    HANDLE=`/usr/bin/xdotool search "Firefox"`

  5. Go the plugin settings to use Chromium
  6. Play a netflix video to launch Firefox (it won't work at this point)
  7. Press F11 to exit fullscreen and type about:config
  8. For linux user : add a new key with name : general.useragent.override and value : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0
    (Damn you Netflix for preventing using Firefox and linux !)
  9. Exit the browser (Alt + F4)
  10. Play a netflix video to launch Firefox and accept playing DRM protected content
  11. Exit the browser and play a netflix video. Now it should work :-)


Troubleshooting :

If netflix still doesn't work :
  1. Check if H.264/MP4 support is installed and working correctly by going to http://www.quirksmode.org/html5/tests/video.html and checking that the first video listed plays.
  2. Check if Widevine plugin is installed in Firefox and activated (type about:addons in the URL bar -> plugins)
  3. Check if DRM'd H.264/MP4 content is now playable by going to http://demo.castlabs.com/ and trying some of the demos.
  4. If Netflix complains about system compatibility, make sure that the user agent is correctly set to make believe that your are using Windows
  5. Try delete any cookies, browser cache and other stored data (Ctrl+Shift+Suppr in Firefox). Apparently if you have failed to play videos once, then Netflix stores information about this in a cookie and you won't be able to play videos, even once your system is now correctly configured... (seriously Netflix ?!)
(2016-11-01, 07:08)oldecw86 Wrote: [ -> ]Is there a way to map the play and stop buttons on my rc6 remote for chrome netflix? Maybe have stop close the browser? Besides that everything is going smoothly besides searching Smile

Sent from my SM-N920T (typie typie)

I have it working on my windows system. This is my ini section for chrome:

[Netflix - Google Chrome]
PLAY={space}
PAUSE={space}
BACK=x
REWIND={Left}
FASTFWD={Right}
MENU={F11}
OK={enter}
STOP={alt}{f4}
VOLUP=x
VOLDOWN=d
MUTE=m
(2016-10-26, 17:03)swdick Wrote: [ -> ]I too have problems with the addon. This part of the kodi.log should tell you all what's wrong, I don't understand the file.
Can anyone please help me? I run Kodi 15 on Xubuntu 16.04.1 on a Asrock ION 3d.
I have Chrome installed and working (can play from NetFlix), I can start Chrome from Kodi through Chrome Launcher, but Flix2kodi doesn't work at all.

...
14:16:11 T:139890859677440 DEBUG: CPythonInvoker(1, /home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py): instantiating addon using automatically obtained id of "plugin.video.flix2kodi" dependent on version 2.1.0 of the xbmc.python api
14:16:12 T:139892435585472 DEBUG: ------ Window Init (Pointer.xml) ------
14:16:12 T:139890859677440 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: No module named Crypto.Cipher
Traceback (most recent call last):
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/addon.py", line 8, in <module>
from resources import general
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/general.py", line 6, in <module>
import add
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/add.py", line 10, in <module>
from resources import library
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/library.py", line 9, in <module>
import get
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/get.py", line 9, in <module>
from resources import connect
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/connect.py", line 8, in <module>
from resources import chrome_cookie
File "/home/dick/.kodi/addons/plugin.video.flix2kodi/resources/chrome_cookie.py", line 23, in <module>
from Crypto.Cipher import AES
ImportError: No module named Crypto.Cipher
-->End of Python script error report<--
14:16:12 T:139890859677440 INFO: Python script stopped
....

One problem is the lack of python module 'Crypto.Cipher'. On my debian systems, I install package 'python-crypto' for this - ubuntu is almost certainly the same.
(2016-11-07, 19:02)mzup Wrote: [ -> ]
(2016-11-01, 07:08)oldecw86 Wrote: [ -> ]Is there a way to map the play and stop buttons on my rc6 remote for chrome netflix? Maybe have stop close the browser? Besides that everything is going smoothly besides searching Smile

Sent from my SM-N920T (typie typie)

I have it working on my windows system. This is my ini section for chrome:

[Netflix - Google Chrome]
PLAY={space}
PAUSE={space}
BACK=x
REWIND={Left}
FASTFWD={Right}
MENU={F11}
OK={enter}
STOP={alt}{f4}
VOLUP=x
VOLDOWN=d
MUTE=m

Could you please explain where I would put the text at? I don't know where the ini file would be. Thanks! Smile
(2016-11-09, 03:30)LupinSansei Wrote: [ -> ]
(2016-11-07, 19:02)mzup Wrote: [ -> ]
(2016-11-01, 07:08)oldecw86 Wrote: [ -> ]Is there a way to map the play and stop buttons on my rc6 remote for chrome netflix? Maybe have stop close the browser? Besides that everything is going smoothly besides searching Smile

Sent from my SM-N920T (typie typie)

I have it working on my windows system. This is my ini section for chrome:

[Netflix - Google Chrome]
PLAY={space}
PAUSE={space}
BACK=x
REWIND={Left}
FASTFWD={Right}
MENU={F11}
OK={enter}
STOP={alt}{f4}
VOLUP=x
VOLDOWN=d
MUTE=m

Could you please explain where I would put the text at? I don't know where the ini file would be. Thanks! Smile

You're looking for Irremote.ini. It is in C:\Windows directory.
Netflix is rolling out a new UI. I noticed it today, and all the controls for my remote are messed up with it. In the meanwhile you can go to www.netflix.com/donottest and turn it off, but it looks like I'll have to go through and remap some of the buttons when it inevitably forces everyone to use it.
Requires the kodi-eventclients package to get remote functions to work on Arch Linux.