Posted: Sun Feb 17, 2008 12:56 am 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.
Joined: 04 Jan 2008 Posts: 2623 Location: Maryland
Posted: Sun Feb 17, 2008 1:57 am Post subject: Re: Fixing "Sub-Folder" Item count
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 . My page
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