Posted: Thu Feb 14, 2008 8:29 am Post subject: What is the max <Item>s per <TiVoContainer> resu
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.
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
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