Posted: Sat Feb 16, 2008 4:56 pm Post subject: Fixing "Sub-Folder" Item count
In the process of developing my new plug in I have stumpled across a fix that will correctly show the items inside of a subfolder instead of the (0) that shows up there in the video plugin.
Now I am not totally familiar with the Video plugin so I will just show the change that I used for my ReplayTV plugin but I would assume that one of the coders here should be able to update video.py to fix this soon.
Basically in the comtainer.tmpl file you need to add the TotalItem field to the item details for a sub folder. In my case when I was creating the sub folder "video" dictionary I added a count field that is the total of the items inside that sub folder.
Posted: Sat Feb 16, 2008 5:57 pm Post subject: Re: Fixing "Sub-Folder" Item count
rfryar wrote:
Basically in the comtainer.tmpl file you need to add the TotalItem field to the item details for a sub folder.
Yes, but more importantly, we'd have to actually count them first. Currently this is not done. However, I think that with the recent changes, this would no longer be too slow to consider. _________________ 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