2011-01-23, 03:30
ottodawg Wrote:Oh there it is, cool. Seems to return 500 items any way to limit it to like the last 10 or 20.
Sorry not trying to be a pain in the arse.
no worries, you can change the limit that's passed to it
change the 500 in iqueue.py to whatever value you want to see, this will affect disc's history as well. I can add gui options later for it
Code:
def getUserRentalHistory(netflix, user, strHistoryType, displayWhat=None):
print "*** What's the rental history? ***"
feeds = ""
if(not strHistoryType):
feeds = netflix.user.getRentalHistory(None,None,500)
else:
feeds = netflix.user.getRentalHistory(strHistoryType,None,500)