[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux)
#99
AddonScriptorDE...I think I found the problem, or at least hopefully a solution to help make it work in Linux.

When I run try to watch a movie with chrome from the command line as follows:

Code:
google-chrome --start-maximized --disable-translate --disable-new-tab-first-run --no-default-browser-check --no-first-run --kiosk "http://movies.netflix.com/WiPlayer?movieid=60031686"

Even though I have my useragent working...Chrome comes back with the Wrong/Browser error. But this works:

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"

Netflix played the movie "Christmas Vacation" right away.

The only parameter I added was the "user-agent" parameter.

I also tired the second command line with my useragent switcher disabled and it worked

I also noticed that you have a userAgent defined in 'default.py' for the netflixbmc addon.

Code:
userAgent = "Mozilla/5.0 (Windows NT 5.1; rv:25.0) Gecko/20100101 Firefox/25.0"

Maybe you can change the function 'getFullPath()' in the Chrome Launcher addon to accept a useragent? I'd change it myself, but I have a very limited knowledge of Python.

Hope this helps
Reply


Messages In This Thread
RE: [RELEASE] NetfliXBMC - Inofficial Netflix Add-on (Win/OSX/Linux) - by jawilljr - 2013-12-11, 05:59
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