Posted: Tue Feb 10, 2015 9:50 pm Post subject: Ignore the Suggestions Folder
There is a TiVo side bug which prevents the contents of the suggestions folder from being displayed on pyTivo or even the built in TiVo web server.
It's not a huge deal but I was tired of looking at it in the Now Playing List. So I updated npl.tmpl to ignore it. Please pardon my atrocious python and cheetah skills:
## This is a folder
## There is a TiVo side bug for the suggestions folder. Igore it.
#if $row ['Url'].endswith('2F0')
<td><img src="/folder.png" alt=""></td>
<td class="progmain"><a href='/TiVoConnect?Command=NPL&Container=$quote($container)&Folder=$quote(row["Url"])&TiVo=$tivoIP'>$row['Title'] </a><br>
<span class="progsize">$row["TotalItems"] Items</span>
I've tested it in my environment and it works. Your mileage may vary, though.
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 cannot download files in this forum