2012-09-24, 16:39
Ok. I got a bit confused., but now we are on the same Page. Is anyone looking into this?
#see if we are filtering for Instant Only Items
if (instantAvail):
......
else:
#api data will return a string the following regex will parse
matchIA = re.search(r"delivery_formats': {(.*?instant.*?)}", curQueueItem, re.DOTALL | re.MULTILINE)
if matchIA:
matched = re.search(r"instant", matchIA.group(1))
if(not matched):
print "Item Filtered Out, it's not viewable instantly: " + curX.Title
return curX
else:
curX.IsInstantAvailable = True
else:
return curX
curX.IsInstantAvailable = True
#return curX
else:
curX.IsInstantAvailable = True
#return curX
matchAllEpisodesRealID = re.search(r"http://api.netflix.com/catalog/titles/programs/\d{1,15}/(?P<id>\d{1,15})", curXe.TvEpisodeNetflixID, re.DOTALL | re.MULTILINE)
matchAllEpisodesRealID = re.search(r"http://api-public.netflix.com/catalog/titles/programs/\d{1,15}/(?P<id>\d{1,15})", curXe.TvEpisodeNetflixID, re.DOTALL | re.MULTILINE)
(2012-09-24, 20:49)patdavid Wrote: Okay, I've got it solved, but it cost me a bit of time searching and tracing...
(2012-09-24, 22:53)mooncaptain Wrote: There are a bunch of features that could be better - you are probably aware of at least some of them - you mentioned the full expansion to all the episodes as opposed to showing the seasons folders and then expanding (that has never worked as far as I know) Anyway thanks again. If you take on the maintenance of this little hummer for a while will you use the Add-On zip file releases to post the updates? That way new users won't have to dig out all the answers from this thread.
(2012-09-25, 11:15)kerpal2020 Wrote: I applied both fixes, but it only works if my Instant Queue Max Items to Retrieve is set no greater than 100. Do you guys have the same issue? If I set it to 200 or more, it won't retrieve any Movies or TV.
class NetflixClient:
def __init__(self, name, key, secret, callback='',verbose=False):
self.connection = httplib.HTTPConnection("%s:%s" % (HOST, PORT))
self.server = HOST
self.verbose = verbose
self.user = None
self.catalog = NetflixCatalog(self)
class NetflixClient:
def __init__(self, name, key, secret, callback='',verbose=False):
self.connection = httplib.HTTPConnection("%s:%s" % (HOST, PORT), timeout=30 )
self.server = HOST
self.verbose = verbose
self.user = None
self.catalog = NetflixCatalog(self)
(2012-09-25, 19:42)fr0sty Wrote: running xbmcbuntu, downloaded the zip https://github.com/spudsdude/XBMC-Flicks/zipball/master
then i did install from zip, and got the following error:
"add-on does not have the correct structure"
line in my xbmc.log says:
19:41:01 T:2906594160 WARNING: Create - Unsupported protocol(script) in script://
class NetflixClient:
def __init__(self, name, key, secret, callback='',verbose=False):
self.connection = httplib.HTTPConnection("%s:%s" % (HOST, PORT), timeout=30 )
self.server = HOST
self.verbose = verbose
self.user = None
self.catalog = NetflixCatalog(self)