2013-12-11, 05:59
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:
Even though I have my useragent working...Chrome comes back with the Wrong/Browser error. But this works:
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.
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
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