If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

RemoteInfo Script

This script adds infomative entries to the Now Playing List so they can be viewed locally and remotely using MRV. I have only tested this on my THD running 11.0k, but it may work on other units/platforms. Here's some more information:

New Version: 1.3

Code:

################################################################################
# RemoteInfo - Copyright (C) 2012 jkozee #
# This program is distributed WITHOUT ANY WARRANTY; without even the implied #
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. #
# #
# TERMS OF USE: personal (noncommercial) fair-use backup & restore #
# This software may not be used for copyright infringment or any illegal #
# purpose, bundled with any product, sold, distributed or redistributed #
# under any circumstances on any media without express written consent. #
################################################################################
# History: 1.3 20120729 Bug Fix. #
# History: 1.2 20120610 Added daemonize code #
# History: 1.1 20111221 Bug fix. #
# History: 1.0 20111017 Initial release. Tested on THD 11.0k only #
# #
# Purpose: RemoteInfo (RI) was created to put useful information on the Now #
# Playing List (NPL), so that it is easily accessable from the local #
# and from remote units via the built in MRV functionality of TiVo #
# Currently there are 3 message types implemented (Free Space, Todo #
# List, and Conflict). The RI items all begin with 0 and are dated #
# in the future to force them to the top of the NPL list when it is #
# sorted by date or title. The program is meant to be run as a #
# daemon, and updates the RI items at 5 and 35 minutes of each hour. #
# #
# Usage: RemoteInfo.tcl [-flags] #
# -l Log to /var/log/RemoteInfo.log #
# -s Log to the Screen #
# -v Inlcude verbose log information #
# -vv Include very verbose log information #
# -remove Cleanup all RemoteInfo Items from mfs database #
# -x Exit immediately after the first run #
# touch /tmp/RemoteInfo.stop to stop the program #
# touch /tmp/RemoteInfo.update to force an immediate update #
# #
# Typically just add this to line to your rc.sysinit.author #
# /PathToApp/RemoteInfo.tcl or from a cron job using the -x flag #
# #
# Notes: Portions of this code based on, borrowed from, or inspired by #
# other projects found on DDB, including TWP, mfs_ftp, etc. #
# The programs and series that we create will not have serverids to #
# insure that we don't collide with real ones from the TiVo service. #
# As a result they will end up as an orpahan in /Database. Rather #
# than enumerating all orphans and recordings, we will store our #
# fsids in an array and keep it under /State/RI (ala /State/TWP). #
# The -remove will attempt to rubbish/delete all objects that this #
# progam has created and should when you no longer plan on using it. #
# #
################################################################################

Hopefully this is the correct place to request help. I get this error when I run RemoteInfo on my TivoHD 11.0k. Any thoughts?

Code:

FamRoom# /var/remote/RemoteInfo.tcl -l
can't read "startdate": no such variable
(reading value of variable to increment)
invoked from within
"incr startdate 1"
(procedure "CreateRecRI" line 14)
invoked from within
"CreateRecRI RIEntry"
(procedure "ProcessList" line 41)
invoked from within
"ProcessList"
(procedure "RemoteInfo" line 12)
invoked from within
"RemoteInfo"
(file "/var/remote/RemoteInfo.tcl" line 981)

Just an FYI... I got it to run and waited while it indexed all my info into the NPL. I had to uninstall it because it really slowed my NPL to a snail and it wasn't really what I was looking for...

Have you ever watched a show and they put on the screen, "coming up next Lizard Towing". I was hoping to be able to quickly see if I was set to record that show or did I have something bumping it until later. This kind of does that but a whole lot more.

This program displayed the entire todo list up to 1/3. That's a bit much, a couple or three hours would have sufficed. It also organized them with 1/3/12 at the top so you have to scroll down to the bottom to see current events. By the way, 12/18 was at the bottom of my list so I had to then scroll up a bit. I think that was the date I first installed it.

It was pretty much the same with the conflict list. It listed conflicts starting with one's next year. I'm liable to add new SP or rearrange them by then so it kind of fell into the category of too much info to see conflicts that far out.

Lastly, each time the drive space polled it added a new entry to the NPL but it didn't delete the previous entry. This caused them to go into a folder which added another step to see the reading. I wouldn't think anyone wants to know the history of their drive space, just where am I at now. I could be wrong...

This isn't a complaint because I found the program to be pretty cool and very imaginative. I just wanted to give an honest critique as to why I'm removing it from my system.

Thanks for the program...

PS... I'm having trouble getting it all deleted from my NPL. I run -remove and I can see it's shrinking what it added to my NPL but the Tivo keeps rebooting which makes me start the process again.

I've been thinking the same thing. I've been considering going through it and commenting out/removing the todo list part, and just keeping the conflicts and free space indicator. If I get around to it, I'll post results here.

They say beer will make me dumb. It are go good with pizza!-----------
3XR10, prommed, 3xdvr40,4xdvr39, all networked, ranging from 40GB to 750GB

Looks like you are having an issue with the GetTotalSpace routine. This is the same routine I wrote for the TWP info module, which is why you are having problems with both. Can you please run the two test scripts in this attachment and PM me the results. Let me know when you have the attachment, so I can remove it. Thanks.