[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux)
hauntvictim,

OK, I installed YOUR recommended user agent switcher. How do you set it up to work with Netflix? I always keep getting this error code:

Quote:Error Code: N8109

That is without XBMC running, in other words only using Chrome.

In my opinion, all that is needed to be done is to modify the below function:

Code:
def getFullPath(path, url, useKiosk, userAgent):
    profile = ""
    if useOwnProfile:
        profile = '--user-data-dir="'+profileFolder+'" '
    kiosk = ""
    if useKiosk=="yes":
        kiosk = '--kiosk '
    if userAgent:
        userAgent = '--user-agent="'+userAgent+'" '
    return '"'+path+'" '+profile+userAgent+'--start-maximized --disable-translate --disable-new-tab-first-run --no-default-browser-check --no-first-run '+kiosk+'"'+url+'"'

so that it returns the below string:

Code:
/usr/bin/google-chrome --start-maximized --disable-translate --disable-new-tab-first-run --no-default-browser-check --no-first-run --user-agent="Mozilla/5.0 --kiosk (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120427 Firefox/15.0a1" --kiosk "http://movies.netflix.com/WiPlayer?movieid=60031686"

In other words add the --user-agent parameter to the 'return' statement.

I would modify the code, but I am busy the next two days, and my Python experience is limited. If the addons were written in 'C' that might be different..LOL
Reply


Messages In This Thread
RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - by jawilljr - 2013-12-12, 04:10
Search empty? - by cgrey - 2014-01-11, 06:13
Not working on windows 7 - by dandiodati - 2014-02-26, 21:55
Problems with this addon - by builderjer - 2014-11-30, 19:55
Logout Mark Read Team Forum Stats Members Help
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux)7