pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What is the max <Item>s per <TiVoContainer> resu

 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo
 View previous topic :: View next topic  
Author Message
rfryar



Joined: 09 Feb 2008
Posts: 19

PostPosted: Thu Feb 14, 2008 8:29 am    Post subject: What is the max <Item>s per <TiVoContainer> resu Reply with quote

I tried searching for details around this but did not find anything. So please forgive me if this has been talked about before and I missed it.

In building my new plugin for pyTivo I will be having two - three "screens" of just folders. Once the user gets deep enough the plugin will return a list of shows that can be viewed.

What i have working is a screen with 3 sub folders. When you click into the subfolder it shows all the shows on that remote DVR as ITEMS. This seems to work fine except when there are lots of results. When lots of results are returned the TiVo rebooted.

So digging through the other video plugin I noticed the pagination code but it does not seem to really restrict what is sent to the XML template or did I miss this in the video plugin?

Is there some max number of items I should return and when the TiVo user clicks channel up/down it reissues a request to my plugin? If so what is the max amount of Items?

If there is no max items list then perhaps some bad data was returned back that caused the TiVo to reboot. I will try to attach the XML that my plug in returned that caused it to reboot.

Thanks for the help,

Rick



replaytv-bedroom.xml.txt
 Description:

Download
 Filename:  replaytv-bedroom.xml.txt
 Filesize:  60.25 KB
 Downloaded:  24 Time(s)

Back to top
View user's profile Send private message
wmcbrine



Joined: 04 Jan 2008
Posts: 514

PostPosted: Thu Feb 14, 2008 8:45 am    Post subject: Reply with quote

There is no maximum in pyTivo, but the TiVo only requests eight at a time. You should be honoring the "ItemCount" parameter in queries. This is normally handled by the item_count() function in plugin.py.
_________________
My pyTivo fork
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO
[ Time: 0.3318s ][ Queries: 14 (0.2161s) ][ Debug on ]