[RELEASE] XBMC Flicks - Netflix Movies / TV Shows (Video) experimental Addon for XBMC

  Thread Rating:
  • 14 Votes - 4.64 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
TWoods Offline
Junior Member
Posts: 1
Joined: Sep 2012
Reputation: 0
Post: #1031
On September 15th Netflix changed the location of the catalogs for movies etc. If you read iqueue.py you will see multiple references to the catalog like so:

Code:
http://api.netflix.com/catalog/titles/movies/
These links WILL NOT work after September 15th.


The catalog URL was changed to 2 different URLs on September 15th. One for streaming and one for DVDs. Netflix also added a bit to the URL to show that it is the public api.
The new URLs are as follows:
Code:
http://api-public.netflix.com/catalog/titles/streaming

http://api-public.netflix.com/catalog/titles/dvd


I suspect none of us are getting results because there is no catalog at the previous location.
I am going to go thru and see what happens when these URLs are changed to their proper new addresses.

EDIT: I should have also added that the location for the api has changed, so ANY links that reference the old netflix API locations will be broken. For example from my log file I get:
Code:
http://api.netflix.com/users/reallyreallyreallylongstringoflettersandnumbershere/queues/instant
This SHOULD fetch my instant queue, but it cannot because of the addition of the -public bit to the api URLs.


This needs to be changed to:
Code:
http://api-public.netflix.com/users/reallyreallyreallylongstringoflettersandnumbershere/queues/instant
(This post was last modified: 2012-09-28 09:45 by TWoods.)
find quote
patdavid Offline
Junior Member
Posts: 16
Joined: Sep 2012
Reputation: 0
Post: #1032
Just a small update, I've refactored how TV shows are listed now as well. The next bit is to fix getting the episode data, which I should be able to get to over the weekend I hope.

And I've heard from fekker with an offer to help me understand better what might be going on (which is a huge help). I may have something ready to push out in a preliminary form next week.

A bigger issue I'd like to address is that I am seeing 504 gateway timeout errors on my requests if I set the max instant items to retrieve high. I've only got 151 items in my instant queue, so it's not too bad for me, but for others with more items might see errors.

I'm trying to determine the best way around this. At the moment I may break up requests into 50 or 75 request chunks, and just process them on my end.
find quote
schwarznavy Offline
Junior Member
Posts: 9
Joined: Sep 2012
Reputation: 0
Post: #1033
Greetings. Can anyone help me? I am running XBMC 11.0 with confluence vertical skin on a Win 8 64-bit box.

I verified that I can browse in IE to Netflix and stream videos correctly.

I cleared my silverlight cache, and cleared my browser cache (only have IE installed).
I installed the latest version (spudsdude-XBMC-Flicks-xxxxx) from zip, exited XBMC, and renamed the folder to plugin.video.xbmcflicks.
When I launched XBMC > XBMCFlicks and selecting Instant Queue, I get an "Error Scipt Failed." No browser was launched. My \AppData\Roaming\XBMC\userdata\addon_data\plugin.video.xbmcflicks\userinfo.txt is empty. My advancedsettings.xml and playercorefactory.xml are correct.

Since I have xbmcflicks debugging on, this is what I see in my xbmc.log:

Code:
10:37:14 T:744  NOTICE: -->Python Interpreter Initialized<--
10:37:14 T:744  NOTICE: ##########################################################
10:37:14 T:744  NOTICE: Arg1: 0
10:37:14 T:744  NOTICE: Arg2:
10:37:14 T:744  NOTICE: Mode: 0
10:37:14 T:744  NOTICE: ##########################################################
10:37:14 T:4376  NOTICE: -->Python Interpreter Initialized<--
10:37:14 T:4376  NOTICE: ##########################################################
10:37:14 T:4376  NOTICE: Arg1: 0
10:37:14 T:4376  NOTICE: Arg2: ?mode=0
10:37:14 T:4376  NOTICE: Mode: 0
10:37:14 T:4376  NOTICE: ##########################################################
10:37:15 T:4392  NOTICE: -->Python Interpreter Initialized<--
10:37:15 T:4392  NOTICE: ##########################################################
10:37:15 T:4392  NOTICE: Arg1: 0
10:37:15 T:4392  NOTICE: Arg2: ?mode=10
10:37:15 T:4392  NOTICE: Mode: 10
10:37:15 T:4392  NOTICE: ##########################################################
10:37:15 T:4392  NOTICE: USER INFO FILE LOC: C:\Users\___<redacted>____\AppData\Roaming\XBMC\userdata\addon_data\plugin.video.xbmcflicks\userinf​o.txt
10:37:15 T:4392  NOTICE: couldn't load user information from userinfo.txt file
10:37:15 T:4392  NOTICE: .. getAuth called ..
10:37:15 T:4392  NOTICE: OSX Setting is set to: False
10:37:15 T:4392  NOTICE: .. user configured ..
10:37:15 T:4392   ERROR: Error Type: <class 'socket.error'>
10:37:15 T:4392   ERROR: Error Contents: [Errno 10054] An existing connection was forcibly closed by the remote host
10:37:15 T:4392   ERROR: Traceback (most recent call last):
                                              File "C:\Users\___<redacted>____\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\default.py", line 26, in <module>
                                                import resources.lib.menu as menu
                                              File "C:\Users\___<redacted>____\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\menu.p​y", line 474, in <module>
                                                getInstantQueue()
                                              File "C:\Users\___<redacted>____\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\iqueue​.py", line 1378, in getInstantQueue
                                                initApp()
                                              File "C:\Users\___<redacted>____\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\iqueue​.py", line 1373, in initApp
                                                user = getAuth(netflixClient,VERBOSE_USER_LOG)
                                              File "C:\Users\___<redacted>____\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\iqueue​.py", line 61, in getAuth
                                                (tok, url) = netflix.user.getRequestToken()
                                              File "C:\Users\___<redacted>____\AppData\Roaming\XBMC\addons\plugin.video.xbmcflicks\resources\lib\Netfli​x.py", line 45, in getRequestToken
                                                response = client.connection.getresponse()
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\httplib.py", line 990, in getresponse
                                                response.begin()
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\httplib.py", line 391, in begin
                                                version, status, reason = self._read_status()
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\httplib.py", line 349, in _read_status
                                                line = self.fp.readline()
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\socket.py", line 427, in readline
                                                data = recv(1)
                                            error: [Errno 10054] An existing connection was forcibly closed by the remote host
10:37:15 T:4704   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.xbmcflicks/?mode=10
10:37:15 T:4704   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.xbmcflicks/?mode=10) failed
10:37:15 T:4380  NOTICE: -->Python Interpreter Initialized<--
10:37:16 T:4380  NOTICE: ##########################################################
10:37:16 T:4380  NOTICE: Arg1: 0
10:37:16 T:4380  NOTICE: Arg2: ?mode=0
10:37:16 T:4380  NOTICE: Mode: 0
10:37:16 T:4380  NOTICE: ##########################################################

Thank you. I really appreciate any assistance.
find quote
elmerohueso Offline
Member
Posts: 98
Joined: Jul 2011
Reputation: 1
Post: #1034
(2012-09-28 16:33)patdavid Wrote:  At the moment I may break up requests into 50 or 75 request chunks.
This sounds good. Perhaps include the option to choose how may results to display per page.
find quote
patdavid Offline
Junior Member
Posts: 16
Joined: Sep 2012
Reputation: 0
Post: #1035
(2012-09-28 17:05)elmerohueso Wrote:  
(2012-09-28 16:33)patdavid Wrote:  At the moment I may break up requests into 50 or 75 request chunks.
This sounds good. Perhaps include the option to choose how may results to display per page.

I am probably going to do it transparently to the user - meaning I will grab multiple "pages" of data, but munge them together before you see the output in the gui. This way you'll just see a complete listing.
find quote
xdriver Offline
Junior Member
Posts: 5
Joined: Dec 2009
Reputation: 0
Post: #1036
I am trying to install this add on on my iPad running 11.0. How would I go about this? I have tried using ifile and placing the unzipped addon into var/mobile/library/preferences/xbmc/addons but i can not find it anywhere in the xbmc app tonactually use it. Is it hidden or will this not work on the ipad? Thank you.
(This post was last modified: 2012-09-30 16:20 by xdriver.)
find quote
elmerohueso Offline
Member
Posts: 98
Joined: Jul 2011
Reputation: 1
Post: #1037
(2012-09-30 16:15)xdriver Wrote:  I am trying to install this add on on my iPad running 11.0. How would I go about this? I have tried using ifile and placing the unzipped addon into var/mobile/library/preferences/xbmc/addons but i can not find it anywhere in the xbmc app tonactually use it. Is it hidden or will this not work on the ipad? Thank you.

This addon only works on Windows and Mac OS X.
(This post was last modified: 2012-09-30 18:20 by elmerohueso.)
find quote
eQUIV Offline
Senior Member
Posts: 202
Joined: Aug 2007
Reputation: 0
Post: #1038
Sorry, so is there a zip that has these updated/fixed files -- or are we still waiting on a complete fix?
find quote
mantene Offline
Junior Member
Posts: 9
Joined: May 2012
Reputation: 0
Post: #1039
(2012-10-01 04:26)eQUIV Wrote:  Sorry, so is there a zip that has these updated/fixed files -- or are we still waiting on a complete fix?

I am more than willing to wait for a complete fix. Well, a fix at any rate! Smile XBMC runs all the TVs in my house so to have Netflix working properly is always a big plus. To have it not work for a while is fine though. My PS3 can fill in the gaps for now.
find quote
Diesel55 Offline
Junior Member
Posts: 10
Joined: Dec 2011
Reputation: 0
Post: #1040
Is it possible that this addon is made for US Netflix only, I am trying to install it and half the movies say they arent available.

I am currently in Canada. If thats the case what do I require to do to make this work in Canada.
find quote
Post Reply