Kodi Community Forum
[RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
---- Thread: [RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC (/showthread.php?tid=87552)



still having problems with browse by genre - cmulk - 2011-09-11

I some other posts on this thread about the "Browse by Genre" feature not working in 1.0.19 but being fixed in 1.0.20. However, I just installed a fresh XBMC (Windows XP) today and the 1.0.20 version of the Flicks plugin and I am getting an empty list when selecting "Browse by Genre". Everything else in the plugin is working perfectly. Thanks for any help you can give. Let me know if you need any more information!


- beenieman4355 - 2011-09-13

ysutarko Wrote:Please help? Reinstalling doesnt help. I even reinstalled xbmc

check your time is in sync.


- kevenz - 2011-09-14

is there any guide to make netflix works with xbmc because I sure can't make it work.

I installed xbmc dharma 10.1, silverlight, downloaded the xbmcflicks add-on and in the addon.... whatever I choose, ie: browse by genre, i just get errors all the times.

nothing works and xbmc doesn't even ask me for name\password.

I'm really lost and there's no explanations anywhere....

here's a part of my log:

Quote:14:01:59 T:4276 M:2277183488 NOTICE: ##########################################################
14:01:59 T:4276 M:2277183488 NOTICE: root folder: C:\Users\Keven\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks
14:01:59 T:4276 M:2277183488 NOTICE: working folder: C:\Users\Keven\AppData\Roaming\XBMC\userdata\addon_data\plugin.video.xbmcflicks\
14:01:59 T:4276 M:2277183488 NOTICE: links folder: C:\Users\Keven\AppData\Roaming\XBMC\userdata\addon_data\plugin.video.xbmcflicks\links
14:01:59 T:4276 M:2277183488 NOTICE: real link path: C:\Users\Keven\AppData\Roaming\XBMC\userdata\addon_data\plugin.video.xbmcflicks\links
14:01:59 T:4276 M:2277183488 NOTICE: resource folder: C:\Users\Keven\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources
14:01:59 T:4276 M:2277183488 NOTICE: lib folder: C:\Users\Keven\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib
14:01:59 T:4276 M:2277183488 NOTICE: userinfo folder: C:\Users\Keven\AppData\Roaming\XBMC\userdata\addon_data\plugin.video.xbmcflicks\
14:01:59 T:4276 M:2277183488 NOTICE: USER INFO FILE LOC: C:\Users\Keven\AppData\Roaming\XBMC\userdata\addon_data\plugin.video.xbmcflicks\userinfo.txt
14:01:59 T:4276 M:2277183488 NOTICE: couldn't load user information from userinfo.txt file
14:01:59 T:4276 M:2277183488 NOTICE: .. getAuth called ..
14:01:59 T:4276 M:2277183488 NOTICE: OSX Setting is set to: False
14:01:59 T:4276 M:2277183488 NOTICE: .. user configured ..
14:01:59 T:4276 M:2278363136 NOTICE: Token result was: Timestamp Is Invalid
14:01:59 T:4276 M:2278363136 NOTICE: If the timestamp shows invalid, your computers date/time is off, sync it to an NTP server or fix it by setting the correct values
14:01:59 T:4276 M:2278363136 ERROR: Error Type: exceptions.KeyError
14:01:59 T:4276 M:2278363136 ERROR: Error Contents: oauth_token
14:01:59 T:4276 M:2278195200 ERROR: Traceback (most recent call last):
File "C:\Users\Keven\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\default.py", line 26, in ?
import resources.lib.menu as menu
File "C:\Users\Keven\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\menu.py", line 486, in ?
getNewToWatchInstantCA("0")
File "C:\Users\Keven\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\iqueue.py", line 1392, in getNewToWatchInstantCA
initApp()
File "C:\Users\Keven\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\iqueue.py", line 1357, in initApp
user = getAuth(netflixClient,VERBOSE_USER_LOG)
File "C:\Users\Keven\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\iqueue.py", line 61, in getAuth
(tok, url) = netflix.user.getRequestToken()
File "C:\Users\Keven\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\Netflix.py", line 46, in getRequestToken
requestToken = oauth.OAuthToken.from_string(response.read())
File "C:\Users\Keven\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\oauth.py", line 148, in from_string
key = params['oauth_token'][0]
KeyError: oauth_token
14:01:59 T:2068 M:2278195200 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.xbmcflicks/?mode=30
14:01:59 T:2068 M:2278195200 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.xbmcflicks/?mode=30) failed
14:01:59 T:408 M:2278105088 NOTICE: -->Python Interpreter Initialized<--
14:01:59 T:408 M:2276999168 NOTICE: ##########################################################



- TerranQ - 2011-09-15

Code:
14:01:59 T:4276 M:2278363136 NOTICE: Token result was: Timestamp Is Invalid
14:01:59 T:4276 M:2278363136 NOTICE: If the timestamp shows invalid, your computers date/time is off, sync it to an NTP server or fix it by setting the correct values



- kevenz - 2011-09-15

Ok I synched my windows with time.windows.com and it kinda works.... browse by genre doesn't..... oh well.

thanks TerranQ! Smile


Corrections for Canadian Pluggin - momashi - 2011-09-15

[Attn: Develloper]

I have some correction for your next release. I live in Canada and was doing some debugging because the movies and tv were not running in the browser (version 1.0.20). It wasn't working because there was a problem in the link. In your iqueue.py, I found that that the alternative canadian domain was set to

http://www.netflix.ca/...

when it's actually

http://ca.netflix.com/...

I made the substitutions at lines: 266, 1495, 1406, 1417 and 1065 of iqueue.py in the lib folder and the shows and movies run perfectly now.

the genres submenu still does not work though...


- momashi - 2011-09-15

cmulk Wrote:I some other posts on this thread about the "Browse by Genre" feature not working in 1.0.19 but being fixed in 1.0.20. However, I just installed a fresh XBMC (Windows XP) today and the 1.0.20 version of the Flicks plugin and I am getting an empty list when selecting "Browse by Genre". Everything else in the plugin is working perfectly. Thanks for any help you can give. Let me know if you need any more information!

I am having the same issues with browse by Genre.


[MAC] Update? - chazwhiz - 2011-09-18

Just trying to setup for the first time. No browser window ever opens to authorize. I see there has been some discussion about this in the past couple months but I see no resolution. Just wondering if there's an update coming or if anyone has a work around? 10.6 using Chrome.


- ukrider - 2011-09-20

Ive spent the last couple of hours trying to get this to work. It appears to not want to log onto the netflix site. I entered my keys in the iqueue.py file manually as previously advised in other posts. Im running xp 32bit os. I've had to edit down the log, can anyone help:

15:47:46 T:788 M:1697943552 NOTICE: Arg1: 0
15:47:46 T:788 M:1697943552 NOTICE: Arg2:
15:47:46 T:788 M:1697931264 NOTICE: Mode: 0
15:47:46 T:788 M:1697931264 NOTICE: ##########################################################
15:47:48 T:4092 M:1696235520 NOTICE: -->Python Interpreter Initialized<--
15:47:48 T:4092 M:1695584256 NOTICE: ##########################################################
15:47:48 T:4092 M:1695584256 NOTICE: Arg1: 0
15:47:48 T:4092 M:1695584256 NOTICE: Arg2: ?mode=0
15:47:48 T:4092 M:1695584256 NOTICE: Mode: 0
15:47:48 T:4092 M:1695584256 NOTICE: ##########################################################
15:47:51 T:3136 M:1694973952 NOTICE: -->Python Interpreter Initialized<--
15:47:52 T:3136 M:1695064064 NOTICE: ##########################################################
15:47:52 T:3136 M:1695064064 NOTICE: Arg1: 0
15:47:52 T:3136 M:1695064064 NOTICE: Arg2: ?mode=50
15:47:52 T:3136 M:1695064064 NOTICE: Mode: 50
15:47:52 T:3136 M:1695064064 NOTICE: ##########################################################
15:47:52 T:3136 M:1695059968 NOTICE: root folder: C:\Documents and Settings\NP\Application Data\XBMC\addons\plugin.video.xbmcflicks
15:47:52 T:3136 M:1695059968 NOTICE: working folder: C:\Documents and Settings\NP\Application Data\XBMC\userdata\addon_data\plugin.video.xbmcflicks\
15:47:52 T:3136 M:1695059968 NOTICE: links folder: C:\Documents and Settings\NP\Application Data\XBMC\userdata\addon_data\plugin.video.xbmcflicks\links
15:47:52 T:3136 M:1695059968 NOTICE: real link path: C:\Documents and Settings\NP\Application Data\XBMC\userdata\addon_data\plugin.video.xbmcflicks\links
15:47:52 T:3136 M:1695059968 NOTICE: resource folder: C:\Documents and Settings\NP\Application Data\XBMC\addons\plugin.video.xbmcflicks\resources
15:47:52 T:3136 M:1695059968 NOTICE: lib folder: C:\Documents and Settings\NP\Application Data\XBMC\addons\plugin.video.xbmcflicks\resources\lib
15:47:52 T:3136 M:1695059968 NOTICE: userinfo folder: C:\Documents and Settings\NP\Application Data\XBMC\userdata\addon_data\plugin.video.xbmcflicks\
15:47:52 T:3136 M:1695055872 NOTICE: USER INFO FILE LOC: C:\Documents and Settings\NP\Application Data\XBMC\userdata\addon_data\plugin.video.xbmcflicks\userinfo.txt
15:47:52 T:3136 M:1695051776 NOTICE: couldn't load user information from userinfo.txt file
15:47:52 T:3136 M:1695051776 NOTICE: .. getAuth called ..
15:47:52 T:3136 M:1695051776 NOTICE: OSX Setting is set to: False
15:47:52 T:3136 M:1695051776 NOTICE: .. user configured ..
15:47:59 T:3136 M:1693224960 ERROR: Error Type: urllib2.URLError
15:47:59 T:3136 M:1693224960 ERROR: Error Contents: <urlopen error (11001, 'getaddrinfo failed')>
15:47:59 T:3136 M:1693028352 ERROR: Traceback (most recent call last):
File "C:\Documents and Settings\NP\Application Data\XBMC\addons\plugin.video.xbmcflicks\default.py", line 26, in ?
import resources.lib.menu as menu
File "C:\Documents and Settings\NP\Application Data\XBMC\addons\plugin.video.xbmcflicks\resources\lib\menu.py", line 522, in ?
getNewToWatchInstantTopX("0")
File "C:\Documents and Settings\NP\Application Data\XBMC\addons\plugin.video.xbmcflicks\resources\lib\iqueue.py", line 1429, in getNewToWatchInstantTopX
convertRSSFeed(getUrlString(curUrl), 25, None, strArg)
File "C:\Documents and Settings\NP\Application Data\XBMC\addons\plugin.video.xbmcflicks\resources\lib\iqueue.py", line 1033, in getUrlString
response = urllib2.urlopen(req)
File "special://xbmc/system/python/Lib\urllib2.py", line 130, in urlopen
return _opener.open(url, data)
File "special://xbmc/system/python/Lib\urllib2.py", line 364, in open
response = meth(req, response)
File "special://xbmc/system/python/Lib\urllib2.py", line 471, in http_response
response = self.parent.error(
File "special://xbmc/system/python/Lib\urllib2.py", line 396, in error
result = self._call_chain(*args)
File "special://xbmc/system/python/Lib\urllib2.py", line 337, in _call_chain
result = func(*args)
File "special://xbmc/system/python/Lib\urllib2.py", line 554, in http_error_302
return self.parent.open(new)
File "special://xbmc/system/python/Lib\urllib2.py", line 364, in open
response = meth(req, response)
File "special://xbmc/system/python/Lib\urllib2.py", line 471, in http_response
response = self.parent.error(
File "special://xbmc/system/python/Lib\urllib2.py", line 396, in error
result = self._call_chain(*args)
File "special://xbmc/system/python/Lib\urllib2.py", line 337, in _call_chain
result = func(*args)
File "special://xbmc/system/python/Lib\urllib2.py", line 554, in http_error_302
return self.parent.open(new)
File "special://xbmc/system/python/Lib\urllib2.py", line 364, in open
response = meth(req, response)
File "special://xbmc/system/python/Lib\urllib2.py", line 471, in http_response
response = self.parent.error(
File "special://xbmc/system/python/Lib\urllib2.py", line 396, in error
result = self._call_chain(*args)
File "special://xbmc/system/python/Lib\urllib2.py", line 337, in _call_chain
result = func(*args)
File "special://xbmc/system/python/Lib\urllib2.py", line 554, in http_error_302
return self.parent.open(new)
File "special://xbmc/system/python/Lib\urllib2.py", line 358, in open
response = self._open(req, data)
File "special://xbmc/system/python/Lib\urllib2.py", line 376, in _open
'_open', req)
File "special://xbmc/system/python/Lib\urllib2.py", line 337, in _call_chain
result = func(*args)
File "special://xbmc/system/python/Lib\urllib2.py", line 1029, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "special://xbmc/system/python/Lib\urllib2.py", line 996, in do_open
raise URLError(err)
URLError: <urlopen error (11001, 'getaddrinfo failed')>
15:47:59 T:3480 M:1693904896 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.xbmcflicks/?mode=50
15:47:59 T:3480 M:1693904896 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.xbmcflicks/?mode=50) failed
15:47:59 T:1616 M:1693794304 NOTICE: -->Python Interpreter Initialized<--
15:47:59 T:1616 M:1695137792 NOTICE: Exception
15:47:59 T:1616 M:1695137792 NOTICE: exceptions.TypeError
15:47:59 T:1616 M:1695137792 NOTICE: :
15:47:59 T:1616 M:1695137792 NOTICE: "'NoneType' object is not callable"
15:47:59 T:1616 M:1695137792 NOTICE: in
15:47:59 T:1616 M:1695137792 NOTICE: <bound method SharedSocket.__del__ of <httplib.SharedSocket instance at 0x05945A08>>
15:47:59 T:1616 M:1695137792 NOTICE: ignored
15:47:59 T:1616 M:1695154176 NOTICE: Exception
15:47:59 T:1616 M:1695154176 NOTICE: exceptions.TypeError
15:47:59 T:1616 M:1695154176 NOTICE: :
15:47:59 T:1616 M:1695154176 NOTICE: "'NoneType' object is not callable"
15:47:59 T:1616 M:1695154176 NOTICE: in
15:47:59 T:1616 M:1695154176 NOTICE: <bound method SharedSocket.__del__ of <httplib.SharedSocket instance at 0x05945D28>>
15:47:59 T:1616 M:1695154176 NOTICE: ignored


- fekker - 2011-09-20

I'm still getting details on how the Netflix changes are going to affect the api calls, expect an update to the plugin for streaming after those are sorted.
(the split between dvd and streaming accounts, which also changes a ton of API calls, auth methods and is generally going to be a pain)

When i get those figured out, i'll read back over the thread for updates that need to be incorporated/fixed.

Thanks for the netflix Canada info, that'll be in there as well.

ukrider - put the addon in debug mode and see if it logs anything more, if not turn on the user specific data (but do not post it unless you clean out the unique id's in there)


- JustinBeaird - 2011-09-22

is there a repo for this it isnt in nightly?


- TerranQ - 2011-09-24

kevenz Wrote:Ok I synched my windows with time.windows.com and it kinda works.... browse by genre doesn't..... oh well.

thanks TerranQ! Smile

You're welcome, glad I could help


- cfg9000 - 2011-09-24

Can someone guide me through getting this to work on Windows 7? I don't understand any of this playercorefactory stuff. I made sure I've logged into Netflix in IE and whatnot, and after I installed the add-on, I made sure both the XML files were where they were supposed to be. I even opened up playercorefactory and it was exactly as in the OP. When I try to run the plugin, I get a script error instead of the redirect to the browser.


- amirite - 2011-09-24

cfg9000 Wrote:Can someone guide me through getting this to work on Windows 7? I don't understand any of this playercorefactory stuff. I made sure I've logged into Netflix in IE and whatnot, and after I installed the add-on, I made sure both the XML files were where they were supposed to be. I even opened up playercorefactory and it was exactly as in the OP. When I try to run the plugin, I get a script error instead of the redirect to the browser.

This may or may not be the cause of your problem, but make sure the file path to IE in your playercoresettings.xml is actually pointing to the correct folder. It may be installed somewhere different on your PC.


- cfg9000 - 2011-09-26

amirite Wrote:This may or may not be the cause of your problem, but make sure the file path to IE in your playercoresettings.xml is actually pointing to the correct folder. It may be installed somewhere different on your PC.

IE is in the default location, I made sure everything was as documented in the OP. I still can't get the plugin to send me to IE.