Intro:
I wrote this program, because it is hard to see what movies are coming up on the tivo. This program allows you to easily browse upcoming movies for your tivo. Allows you to browse by Category, premiere, keyword all movies that are playing on the movie channels of your choice. Used as a complement to the standard search module on tivoweb where you can search for specific shows, this you can browse entire listings. Comes as a 2 part process, a command-line process that parses the GuideData for movies, and the tivoweb module. I run it via cron once a night.
Post below if it works for you and what you think.
CptanPanic.
I have also noticed that unless you do the searching for the movies imediately after running the moviesort.tcl you get error opening db errors on the tivoweb pages... not sure why this is either which kind of rules out running a cron job and then doing the seach later.... this appears to be on first glance to be a problem with the original script if any data has changed since the indexing was performed... all in all it seems to be really poorly written.. but I don't have the time or the desire to rewrite it... For now I just make sure the box is not doing anything vital and then go telnet to it and run moviesort.tcl & (the not doing anything vital at the moment is just it case it decides to reboot this time) then I immediately go in and go through my pages looking at all the newly indexed movies... This for now seems to be the only reliable way to use the damn thing...
sorry...
If it does reboot I have found that it is due to something it doesn't like in the data because no matter how many time you run it , it will continue to reboot each time... I find if you leave it till the next day it may then work ok.
(or not as the case may be)
Originally posted by lgkahn For now I just make sure the box is not doing anything vital and then go telnet to it and run moviesort.tcl & (the not doing anything vital at the moment is just it case it decides to reboot this time) then I immediately go in and go through my pages looking at all the newly indexed movies... This for now seems to be the only reliable way to use the damn thing...
I think that's going to have to be how I use it from now on, too. I only look at it maybe once every couple of weeks, so I don't want to risk the reboot every morning with the cron job.
I'm kind of new to this language (I'm a VB guy myself). I looked through the code and wanted to add the description (that rpongett added in the hover) as it's own column in the output. So it would now read: Title, Description, Release Date, Rating.
Would either of you point me to the correct section of the code to accomplish this?
So, after loading and running the most recent version I receive this error message on TWP interface before the movie listing is displayed. It seems to be working, so I have just ignored the message, but it is reported (annoyingly) above the start of the results.
while executing
"db $db openidconstruction $sfsid $subobjid"
("uplevel" body line 5)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
# edit by SWA
if { [regexp {([0-9]*)/(.*)} $objectid junk sfsid subobjid] } {
set showing [db $db ..."
(procedure "outputMovieRows" line 17)
invoked from within
"outputMovieRows $chan $movies $start $end"
(procedure "::action_moviesearch" line 189)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--
I'm getting the following when trying to run Stuart's moviesort.tcl script on an SA1. Any ideas? I believe I've set the correct path and channels.
object not found (errNmNameNotFound)
while executing
"mfs find $guideindexdir/ChannelTable"
("uplevel" body line 2)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set channeltablefsid [lindex [mfs find $guideindexdir/ChannelTable] 0]
set channeltabledata [mfs get $channeltablefsid]..."
(procedure "init_channelindex" line 58)
invoked from within
"init_channelindex"
(file "/var/hack/tivoweb-wml-beta2/modules/index.itcl" line 658)
invoked from within
"source $tivoweb/modules/index.itcl"
(file "/var/hack/moviesort.tcl" line 56)
My Directivo S1 Sony T-60 also reboots occasionally.
Building the Title file always works.
Building the Movies file sometimes reboots.
My last reboot caused a GSOD, but the telnet seesion posted an error first.
Filesystemassert: err || cb == 0 at fsactive.C line 470 in int FsActive::Mapped Read(class FsRunList *, long unsigned int, void *, long unsigned int)
File system flagged as inconsistant!
Tmk Assertion Failure: err || cb ==0
int FsActive::Mapped Read(class FsRunList *, long unsigned int, void *, long unsigned int), line 470 (fsactive.C)
Tmk Fatal Error: Thread tivosh <4939> died due to signal -2
<a bunch hex data here>
I don't know if any of that is helpful in understanding the problem, but I'll still plan to looking into that.
I am experiencing the same reboot followed by GSOD when attempting to run moviesort.tcl (noted by LgKahn and others) on my Series 2 DTivo ver. 6.2. Has anyone come up for a fix for this by any chance?
Thanks dave, Im also using a s2 tivo with tw 1.2.1
Did you need to alter the files to get the module working... ? I must have tried at least half a dozen different modules without sucsess. Which are you using ?
Im trying to get lgkahn's working with but without sucsess . Would anybody be able to assist ? Telnet screen dump attached.
I've been playing around wit moviesort.tcl with a Dtivo runing 6.2 and tivowebplus 1.2. Has anybody got it runing?
I get the following errors.
Tivo_Den-TiVo# ./moviesort.tcl
MovieSort: by CptanPanic
DTivo fixes by devnull
New DTivo fixes for tivowebplus Release 1.0 April 2004 by LGKahn
As part of the moviesearch module for tivoweb
-initializing logo index
-initializing channel table
--caching 721 channels for source of type=6 (DirecTV)
object not found (errNmNameNotFound)
while executing
"mfs find $guideindexdir/ChannelTable"
("uplevel" body line 2)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set channeltablefsid [lindex [mfs find $guideindexdir/ChannelTable] 0]
set channeltabledata [mfs get $channeltablefsid]
}"
(procedure "init_channelindex" line 125)
invoked from within
"init_channelindex"
(file "/ptvupgrade/tivowebplus/modules/index.itcl" line 736)
invoked from within
"source $tivoweb/modules/index.itcl"
(file "./moviesort.tcl" line 63)
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Related Threads
?
?
?
?
?
TiVo Community Forum
9.4M posts
278K members
Since 2001
A forum community dedicated to TiVo digital video recorder owners and enthusiasts. Come join the discussion about programming, streaming, content, schedules, home theaters, displays, models, reviews, accessories, classifieds, and more!