PDA

View Full Version : TivoWebPlus v2.0 Development and Testing


Pages : [1] 2 3

John1980
01-11-2007, 03:24 PM
A forum to discuss the development of the latest iteration of TivoWebPlus. This version has been designed (by BTUx9) to work more reliably for those systems with many lineups (such as DTivo units with 700+ channels).

It should be noted that the internal structures have changed in this release; while many modules have been converted and included, other modules not included in the bundle may require a little modification before they will work.

The software (v2.0.0) can be downloaded from http://thomson.tivo.googlepages.com/TivoWebPlus

FYI: All the changes to the internal structures (to improve stability) as well as the customisable user interface and columns are the work of BTUx9. Thanks and appreciation for should go to him - I've had only minor input in this version.

BTUxNine
01-11-2007, 03:42 PM
John1980 is being too modest... He doesn't have the same issues with too large a lineup, but like a trooper, he's been very active testing and maintaining... I break things and he fixes them :D

stevel
01-11-2007, 08:08 PM
Can this be loaded using the Update feature in TWP 1.4 or should we start from scratch?

A postscript from the 1.4 thread - Symantec tells me that they'll fix the bogus HTTP header issue in a future update to the Norton Internet Security Bonus Pack.

Throg
01-11-2007, 08:16 PM
I noticed this problem in 1.40 but never reported it, thinking it was my own problem. When I use the search module, no sub-categories are available for any category. An example is I want to do a Title search for Movies/Comedies. I get as far as Title and Movies, no subcategory. The module
works as expected in 1.3.

BTUxNine
01-11-2007, 08:44 PM
yes, the update feature from 1.4 to 2.0 should work fine

re: search subcat, looks like the javascript I wrote for it may be broken for MSIE... works fine on firefox :P

edit: nevermind... seems that I had javascript disabled in MSIE... something you could try: change line 274 of search.itcl from puts $chan [js genre] to puts $chan [js "" "genres= new Array ([join $::genrenums ,])\ngenrevals= new Array (\"[join $::genrevals \",\"]\")\n"]
puts $chan [js genericgenre2]

whitepelican
01-12-2007, 05:07 PM
Just a coupla dumb suggestions/comments:

- Is there any reason the update feature couldn't be used to grab the updates directly from the web, thereby skipping the step of downloading the package first?

- Why/when did it becoming "Now Showing List" again instead of "Now Playing List"? I know for a short while it was "Now Playing List", which is what the Tivo uses.

- Is there any way to make the Info screen show what is tuned on both tuners of a DirecTivo? It will occasionally show both if one of them is recording, and the other is on LiveTV. But I think it would be nice to show what both tuners are doing all the time.

Throg
01-12-2007, 06:34 PM
re: search subcat, looks like the javascript I wrote for it may be broken for MSIE... works fine on firefox :P:P yourself. I use firefox! :P

edit: nevermind... seems that I had javascript disabled in MSIE... something you could try: change line 274 of search.itcl from puts $chan [js genre] to puts $chan [js "" "genres= new Array ([join $::genrenums ,])\ngenrevals= new Array (\"[join $::genrevals \",\"]\")\n"]
puts $chan [js genericgenre2]Good catch. I'm trying this now.

Throg
01-12-2007, 07:55 PM
puts $chan [js genre] to puts $chan [js "" "genres= new Array ([join $::genrenums ,])\ngenrevals= new Array (\"[join $::genrevals \",\"]\")\n"]
puts $chan [js genericgenre2]Okay, when I do that, the Category dropdown incorrectly displays subcategories but only the ones beginning A through C. Subcategory dropdown still only displays "Don't specify a sub-category". In other words, it made things worse.

John1980
01-12-2007, 08:47 PM
- Is there any reason the update feature couldn't be used to grab the updates directly from the web, thereby skipping the step of downloading the package first?

This is possible, however the bundles reside on a system that required domain names rather than IP address... which means that the version of wget on the systems needs to have been compiled with DNS support (as it must be able to resolve www.googlepages.com). The majority of TiVo's out there do not have a DNS capable "wget" binary.


- Why/when did it becoming "Now Showing List" again instead of "Now Playing List"? I know for a short while it was "Now Playing List", which is what the Tivo uses.

I flicked the description back to "Now Playing" when doing v1.3.1 but the URL is still "/nowshowing" for backwards compatibility. I see that v2.0.0 has a NSL - Now Showing List... I am guessing that it may be better to change this to "Now Playing List" (what do you think BTUx9?)


- Is there any way to make the Info screen show what is tuned on both tuners of a DirecTivo? It will occasionally show both if one of them is recording, and the other is on LiveTV. But I think it would be nice to show what both tuners are doing all the time.

I don't currently have access to a DTivo unit in which to look into this, but it should not be too hard to get working (assuming that the information is available under MFS). If somebody with a DTivo wishes to have a look and get it going then it can be included in the next bundle.

BTUxNine
01-12-2007, 09:19 PM
re: subcat problems
With help from jamie, who has a SA (I don't), I located the problem... the fix is in CVS

Throg
01-12-2007, 09:50 PM
re: subcat problems
With help from jamie, who has a SA (I don't), I located the problem... the fix is in CVSAnd it works. Good job.

Throg
01-12-2007, 10:02 PM
Now I feel like I'm nitpicking. This could be something for you to consider down the road or whenever you like. I did a blank title search for Movies/Western and Three Amigos appeared. The genres listed in the show info were: "Comedy, Western" without the quotes. Then I did a blank Title search for Movies/Comedy and Three Amigos did not show up. Could it be that Comedy, is not the same as Comedy?

whitepelican
01-12-2007, 10:22 PM
This is possible, however the bundles reside on a system that required domain names rather than IP address... which means that the version of wget on the systems needs to have been compiled with DNS support (as it must be able to resolve www.googlepages.com). The majority of TiVo's out there do not have a DNS capable "wget" binary.

It appears that the version of wget in Alphawolf's all-in-one binary package must be DNS capable. Isn't that what most folks are using on their Tivos? Or is it that older versions of Alphawolf's package didn't have this capability in wget? Oh well, I was just asking, since I really appreciate the updates you guys are doing and I want to make it as easy as possible to keep all of my Tivos at the latest TWP release.

Edit: I suppose I'm forgetting S1 Tivo users, n'est-ce pas?

BTUxNine
01-12-2007, 10:41 PM
Now I feel like I'm nitpicking. This could be something for you to consider down the road or whenever you like. I did a blank title search for Movies/Western and Three Amigos appeared. The genres listed in the show info were: "Comedy, Western" without the quotes. Then I did a blank Title search for Movies/Comedy and Three Amigos did not show up. Could it be that Comedy, is not the same as Comedy?
Not nitpicking... One of the real bugaboos has been the search module... inconsistencies like this indicate a problem, and I'm relying on people who are beta-testing to let me know when they run across something. Thank You for doing your part :)

Throg
01-12-2007, 10:49 PM
Not nitpicking... One of the real bugaboos has been the search module... inconsistencies like this indicate a problem, and I'm relying on people who are beta-testing to let me know when they run across something. Thank You for doing your part :)I understand. It's just that I know you guys have been working your fingers to the bones on this and even though you need feedback to know about problems, I sometimes feel like I'm criticizing already outstanding work.

BTUxNine
01-12-2007, 10:54 PM
Thank you... it's nice to know the work is appreciated.
To tell you the truth, I MUCH prefer an issue like this that can be easily reproduced on my machine compared to issues that I can't reproduce.

For example, I didn't manage to debug the subcat issue until I figured out it was not 8.1 s/w related and I could just force my install to use the genre.js file used by SA's

BTUxNine
01-13-2007, 12:14 AM
re: searching by title for cat and subcat... from what I can see, this type of search appears broken for ALL S2 machines with recent s/w (at least as far back as TWP v1.1rc1 from '04)... I'm hoping some users running guideindex earlier than v3 could check GuideIndexV?/Title (in mfs using TWP) and post the first few lines or PM them to me, so I can distinguish which versions are broken (so that the fix won't break earlier versions).

Looking for someone running 2.x (GuideIndex), and someone running 3.0 or 3.1.* (GuideIndexV2)

whitepelican
01-13-2007, 10:08 AM
Yikes! I can't even start TWP anymore.

<HR10-250>/TivoWebPlus: tivoweb console
<HR10-250>/TivoWebPlus: Starting TWP pid=515
TivoWebPlus - v2.0.0 (2.0.0 (oztivo-070111))
The program comes with ABSOLUTELY NO WARRANTY.
This program is licensed under the GPL.
See the 'docs/copyright' and 'docs/index.html' files
for copyright and credit information.
PoolSize=2916352
Loading libs...
util
sendkey
html
index
http
ui
rec
btutils
-running init_channelList--- completed in 1 seconds
-running init_logoindex--- completed in 0 seconds
-running init_sp_cache--- completed in 8 seconds
rss_util
Loading modules...
ui_record
-actions: record conflicts recoptions
ui_season_pass
-Registered seasonpass
-Registered wishlists
-actions: editseasonpass saveseasonpass add-theme-sp seasonpass getseasonpass re
prioritize delete_wishlist wishlists
-Registered backup
-Registered channelgrid
-Registered channelprefs
-Registered confresManual
-Registered build_extract_page
-Registered folders
-Registered gallery
-Registered gdchecker
-Registered higuide
-Registered info
-Registered logos
-Registered logs
-Registered mail
-Registered manrec
-Registered mfs
-Registered mrv
-Registered reorder
-Registered rowformat
-Registered rss
-Registered search
-Registered sysadmin
-Registered theme
-Registered channellist
-Registered deletedshows
-Registered history
-Registered nowshowing
-Registered todo
-Registered todo/1
-Registered todo/2
-Registered update
-Registered whatson
- [13/Jan/2007:14:06:24] saving module_cache.cfg
couldn't open "./config/module_cache.cfg": read-only file system
while executing
"open "$::data_dir/config/$f.cfg" w"
(procedure "saveConfig" line 3)
invoked from within
"saveConfig module_cache $outs"
invoked from within
"if {$changed || !$exists} {
set outs "array set mods {n"
set mod_cache "."
foreach f $modules {
set mod [file rootname [file tail $f]]
..."
(file "./load.tcl" line 557)
invoked from within
"source $source_dir/load.tcl"
(procedure "load" line 4)
invoked from within
"load 0"
(file ".//httpd-tt.tcl" line 31)
Error: The last session did not complete successfully
Exiting to prevent possible reboot loop

Throg
01-13-2007, 07:34 PM
I found that when doing anything other than "Title" or "Director" search, the column headings and columns for the results are jumbled. I've attached a screenshot for your perusal. Again, Title and Director search results look like they're supposed to.

stevel
01-14-2007, 12:13 PM
I'd like to help with enhancing TWP to show both live buffers on dual-tuner boxes (which I suppose also includes dual-tuner standalones.) What I see on a DTiVo is that under /Recording/InProgress there are two entries, both of which include LiveCache in the IndexPath. The code in info.itcl for Currently Recording which looks at this tree displays info only if LiveCache is NOT in the IndexPath. Ok, that makes sense.

The code that shows what's on Live TV takes a different route, looking at State/MyWorld/LastChannel, which seems to have only a single entry, though this code is looped through for $::num_tuners.

I don't claim to understand all or even most of the code here. As an experiment I tried modifying info.itcl so that the test for Currently Recording didn't exclude LiveCache. This showed me both entries, but didn't give me useful data because the Showing data just said "Live".

I'm a bit lost at this point. For each of the InProgress entries, IndexPath looked like this:

/Recording/InProgress/1512532 /Recording/LiveCache/1512532 /DiskUsed/010:009:1470464:1512532
/Recording/InProgress/1512535 /Recording/LiveCache/1512535 /DiskUsed/010:009:2940928:1512535

There is only one entry in MyWorld/State for the current channel.

John1980
01-14-2007, 03:52 PM
re: searching by title for cat and subcat... from what I can see, this type of search appears broken for ALL S2 machines with recent s/w (at least as far back as TWP v1.1rc1 from '04)... I'm hoping some users running guideindex earlier than v3 could check GuideIndexV?/Title (in mfs using TWP) and post the first few lines or PM them to me, so I can distinguish which versions are broken (so that the fix won't break earlier versions).

Looking for someone running 2.x (GuideIndex), and someone running 3.0 or 3.1.* (GuideIndexV2)

First few lines of /GuideIndex/Title from a UK (v2.5.5) system:

108 245ab9 12 REASONS 246d71 2020 18250b 20TH CENTURY ROADSHOW 24394c 24 215e33 3 FILM FESTIVAL GUEST HOUSE 23a00e 3 NEWS 154a51 0bd4 3 NEWS 182286 3 SPORT A1GP NEW ZEALAND 247fcf 3 SPORT RED BULL XFIGHTERS 246c28 3 SPORT VODAFONE X AIR 244ab4 4400 16ea60 60 MINUTES 1ff411 8 SIMPLE RULES 247ff8 8 SIMPLES RULES 237bd2 AAHHH REAL MONSTERS 24379b ABSOLUTELY FABULOUS 24042b ACCORDING TO JIM ...


First few lines of /GuideIndexV2/Title from a US (v3.0) system:

108 135407 12 REASONS f0e4b 20TH CENTURY ROADSHOW 13245b 3 NEWS 67803 3 SPORT A1GP BEIJING EVENT 11eeaa 3 SPORT A1GP INDONESIA EVENT 12898d 3 SPORT A1GP MALAYSIA EVENT 123361 3 SPORT A1GP NEW ZEALAND 1388e2 3 SPORT RED BULL XFIGHTERS 1364c2 3 SPORT VODAFONE X AIR 133428 4400 57f7c 4400 a20ef 60 MINUTES SUMMER SERIES 4cca2 60 MINUTES SUMMER SERIES 5215f 8 SIMPLES RULES 120f79 A1GP INDONESIA ...

rpongett
01-14-2007, 08:04 PM
re: searching by title for cat and subcat... from what I can see, this type of search appears broken for ALL S2 machines with recent s/w (at least as far back as TWP v1.1rc1 from '04)... I'm hoping some users running guideindex earlier than v3 could check GuideIndexV?/Title (in mfs using TWP) and post the first few lines or PM them to me, so I can distinguish which versions are broken (so that the fix won't break earlier versions).

Looking for someone running 2.x (GuideIndex), and someone running 3.0 or 3.1.* (GuideIndexV2)As an FYI, I've actually experienced problems with the subcategory searches even on 1.3, and I'm on a S1, not an S2. Since you've outlined the problem going back to 1.1, I figured I'd jump in here.

For example, if I try to search for Moves-Horror leaving the text box blank, it returns what appears to be every single show (mostly not even movies) in the Tivoguide before I stop it (it's usually not even through the #'s and As and it's already many pages long).

I'm running an S1 DTivo running software system 3.5-01-1-001.

BTUxNine
01-15-2007, 05:05 AM
OK, I'm afraid I still need title information from s/w 2.x and s/w 3.0 or 3.1... the data john1980 provided doesn't have cat/subcat info in it (most likely the roll-your-own data in countries outside the US doesn't include that info everywhere)

re: stevel, you're welcome to poke around MFS for info about what's showing on the tuners, but the livebuffer info doesn't reference it (that's why system/state is checked and that's why only 1 tuner is listed)... I have it on good authority that on S3's, they don't even have that.

re: throg... did you quit & restart after you updated TWP? it looks like the previous rowformat is being used (going to rowformat and choosing reset all should work, too)

re: rpongett... not surprising... s/w version 3.5 has switched to guideindexv3, and that's definitely not giving accurate cat/subcat info... I'm making progress on it, but need the info on older s/w before releasing it... I'm hoping to focus on the search functions in the near future, so if people can hammer at them and report back, maybe we can make some progress

p.s. the latest bundle has an easter egg for s/w 4+ (wasn't intended as such, but I forgot to remove my testing line before committing to CVS)... if anyone wants to give it a try, use the url mytivo/nowshowing?fold=1 (but only if you're running s/w 4+)

Throg
01-15-2007, 07:15 AM
re: throg... did you quit & restart after you updated TWP? it looks like the previous rowformat is being used (going to rowformat and choosing reset all should work, too)No, I did not do a quit&restart but I did do the rowformat/reset all. I tried the quit&restart and started getting the TV_DB_NOT_FOUND error so I rebooted the tivo. Now, Title search works fine, Title keyword, actor, and director searches shows the gunked up columns, getting the TV_DB_NOT_FOUND error for Description keyword and Title/Description keyword searches.

BTUxNine
01-15-2007, 07:54 AM
OK... you're absolutely correct... I've fixed both those errors, but haven't committed to CVS yet because somewhere along the line I've introduced some buggy behavior to upcoming showings within series.

BTUxNine
01-15-2007, 09:53 AM
I've squashed a few more bugs and search is a bit more functional, now... changes are in CVS

rbird
01-15-2007, 02:10 PM
GuideIndexV2/Title for v 3.0:


0015 FOR DLN VIEWERS 68a573 9210 0015 FOR VIEWERS HOW TO MAKE THE MOST OF THE DLN 67787c 9210 1 CUBED 2a3e 7faeba040513 1 VS 100 63d47a 9a07 10 ANOS MENOS 67ff9f cc 10 DAYS THAT UNEXPECTEDLY CHANGED AMERICA 67beb9 9e08 10 DAYS TO A NEW YOU 680829 899d0304 10 DEADLIEST SHARKS 685576 8b90080c 10 ITEMS OR LESS 660574 c506 10 JAHRE QUATSCH COMEDY CLUB 688f28 10 THINGS I HATE ABOUT YOU 62bcc0 87060a 10 THINGS YOU MUST KNOW 62fc35 a304 10 WAYS 68db8b 10 YEARS YOUNGER 43d540 b904 100 GREATEST DISCOVERIES 6655b8 c00c 100 GREATEST KID STARS 686d0d 4804 100 GREATEST LOVE SONGS 682e72 ae13 100 GREATEST LOVE SONGS CONCERT 684279 ae13 100 GREATEST SONGS OF THE 80S 673a97 ae13 100 GREATEST TEEN STARS 68dba6 4804 100 GREATEST TV QUOTES CATCHPHRASES 66b944 4804 100 GREATEST VIDEOS 68a26c ae13 100 MILE RULE 68b89a 87060a 100 MOST METAL MOMENTS 688c96 ae13 100 PERCENT ENTERTAINMENT 68772a 1d0407 100 PERCENT HARDCORE 1 6807b1 6f04 100 PROOF 65e383 6fae0413 100 YEARS OF TERROR 67ec0a 8a909e08 1000 PLACES TO SEE BEFORE YOU DIE 6807fb 1c04 10000 BLACK MEN NAMED GEORGE 687670 8f08090a 100000 PYRAMID 493e24 9a07 100000 WHY 55a479 100019 MAIN STREET LIVING WORSHIP SERVICE 4cae02 ba04 101 BIGGEST CELEBRITY OOPS 68d764 4804 101 FAVORITE STARS WAY BACK THEN 68dfac 4804 101 MOST SENSATIONAL CRIMES OF FASHION 67a87b 95034804 101 MOST STARLICIOUS MAKEOVERS 68c461 4804 106 PARK BETS TOP 10 LIVE 14fa ae13 10TH V FESTIVAL 68b0be ae13 11 ALIVE INDEPTH 645c70 b3170b0e 11 ALIVE NEWS AT NOON 22e2 b30b 11 ALIVE NEWS SUNDAY TODAY 3e6f6b b30b 11 ALIVE NEWS SUNDAY TODAY AT 8AM 5924d6 b30b 11 ALIVE NEWSSATURDAY NITE 5a6584 b30b 11 HARROWHOUSE 6902a8 87060a 11 NEWS AT 11PM 329f b30b 11 NEWS AT 530AM 22e6 b30b 11 NEWS AT 5AM c78c5 b30b 11 NEWS AT 6 c78c9 b30b 11 NEWS AT 6 WEEKEND EDITION 4d0d47 b30b 11 NEWS AT 6AM 22e4 b30b 11 NEWS SATURDAY MORNING 455712 b30b 110 PERCENT NATURAL 6861fd 6f040a 110 PERCENT NATURAL 2 685ffd 6f040a 1101 ICD 9 CM CODES MDS SECTION 1 UB 92 68c57c 9210 1114 5edb80 879106090a 1141 USD STUDENTS KEYS TO SUCCESS AT A DISTANCE 68798b 9210 1171 INFECTION CONTROL CNA 67781f 9210 1172 FOOT CARE FOR THE ELDERLY 68da30 9210 117A2 RANGE OF MOTION CNA 68dc7b 9210 12 CORAZONES 62c385 9acc07 12 CORAZONES 68d922 c9cc07 12 HOURS TO LIVE 68ef35 150a11 12 OZ MOUSE 67fe4a 9404 1202 RAI RESIDENT ASSESSMENT INSTRUMENT 68ef9e 9210 123 SESAME STREET 86bb 7f920510 12TH CCTV YOUTH SINGERS TV COMPETITION 63961e 9a07 13 GOING ON 30 688d1a bd060a 13 WMAZ CLOSE UP

stevel
01-15-2007, 05:15 PM
re: stevel, you're welcome to poke around MFS for info about what's showing on the tuners, but the livebuffer info doesn't reference it (that's why system/state is checked and that's why only 1 tuner is listed)... I have it on good authority that on S3's, they don't even have that.
The data has to be somewhere - otherwise how could it be displayed in the banner when you press up-arrow (I think)? Will keep poking.

BTUxNine
01-15-2007, 05:25 PM
The data has to be somewhere - otherwise how could it be displayed in the banner when you press up-arrow (I think)? Will keep poking.
somewhere, yes... in MFS, not necessarily... that sort of info is often just in memory

On earlier s/w versions it was possible to trigger a dump of state data using the event system, but I'm not even sure whether the info was there or not.

Throg
01-15-2007, 06:13 PM
I just downloaded search.itcl from CVS, FTPd to tivo, quit&restart and now all but title and director (which work okay) result in this: INTERNAL SERVER ERROR
--cut here--
action_search '' 'set "searchby" "1";set "cat" "1006";set "scat" "0";set "q" "south";set "submit" "Search";'
can't use empty string as operand of "!"
while executing
"if {![getRec -var dat {Program Genre} $fsid Program]} continue"
("uplevel" body line 3)
invoked from within
"uplevel $body"
("for" body line 3)
invoked from within
"for {set nextv [min $nvals [expr $i+($bsize*$nvars)]]} {$i<$nextv} {incr i $nvars} {
foreach $vars [lrange $vals $i end] break
uplevel $body
}"
("uplevel" body line 2)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
for {set nextv [min $nvals [expr $i+($bsize*$nvars)]]} {$i<$nextv} {incr i $nvars} {
foreach $vars [lrange $vals $i end] break
uple..."
(procedure "ForeachTrans" line 9)
invoked from within
"ForeachTrans fsid $fsids {
set fsid [expr 0x$fsid]
if {![getRec -var dat {Program Genre} $fsid Program]} continue

if {$cat != 0} {
if { !$::dtivo || ..."
(procedure "putSearchRows" line 7)
invoked from within
"putSearchRows $chan $env $fsids"
(procedure "MOD::action_search" line 145)
invoked from within
"$cmd $p1 $p2 $p3"
--cut here--

BTUxNine
01-15-2007, 08:20 PM
you can't just load a single file from cvs... try it using cvs update to get all the changed files (the one that it's complaining about there is rec.itcl)

studog86
01-16-2007, 04:27 PM
INTERNAL SERVER ERROR
--cut here--
action_screen '/' 'set "move" "tivo";'
list must have an even number of elements
while executing
"array set tree $ret"
(procedure "GetVal" line 6)
invoked from within
"GetVal dialog"
(procedure "MOD::action_screen" line 41)
invoked from within
"$cmd $p1 $p2 $p3"
--cut here--

I have been using this forum for years, and have never needed to post. I hope I am in the right forum.
Please help.
I have been everywhere trying to figure out this bugger.
I am a dsr6000 with xtreme2.5.1 running vserver and tyshow.

John1980
01-16-2007, 05:01 PM
INTERNAL SERVER ERROR
--cut here--
action_screen '/' 'set "move" "tivo";'
list must have an even number of elements
while executing
"array set tree $ret"

I am a dsr6000 with xtreme2.5.1 running vserver and tyshow.
It could be that the screen module does not work on v2.5.1 systems. Originally it was only enabled for v3.0 systems, then it was found to work on v2.5.5 and even on some v4.0 systems. Have you used the screen module in the past?
If it does not work then I can stop it appearing in the menu for v2.5.1 systems.

studog86
01-16-2007, 05:28 PM
The screen option has never worked with any of the teivowebplus.
I thought I was doing something wrong.
how can I update to 3.0 + with out losing all my hacks.
still somewhat of a rookie.

John1980
01-16-2007, 05:34 PM
The screen option has never worked with any of the tivowebplus.
I thought I was doing something wrong.
how can I update to 3.0 + with out losing all my hacks.
still somewhat of a rookie.

The issue is not with the version of TWP, the issue is with the operating system version that your TiVo is running. The screen module is known to work with the UK v2.5.5 software, as well as the US v3.0 software (and US v4.0 configurations that have the correct SendKey binary installed).

It looks like you may be running v2.5.1 (you can check via the TWP Info module, or via the System Information part of the TiVo onscreen menu). In short, the screen module is unlikely to work with the majority of TiVo's in the US.

studog86
01-16-2007, 08:47 PM
I would love to get this mod going, I am going to update to 3.1 via tivolater and see if it works

studog86
01-16-2007, 08:57 PM
I apologize, I am running 2.5.2xtreme not 2.5.1

cmylxgo
01-17-2007, 12:36 AM
Is tivoweb.cfg no longer used? I did not see it in the TivoWebPlus directory after extracting. I tried copying my old config file from 1.4 and did not seem to take it. I am trying to use a non-standard port.

Thanks

BTUxNine
01-17-2007, 12:43 AM
we've hidden the config files :rolleyes:, because the ones to be editted get created in the $TWP_DATA_DIR/config dir... (if the env variable TWP_DATA_DIR doesn't exist, it defaults to the TWP dir)
So... run TWP once, then edit the config file it creates there

cmylxgo
01-17-2007, 01:00 AM
we've hidden the config files :rolleyes:, because the ones to be editted get created in the $TWP_DATA_DIR/config dir... (if the env variable TWP_DATA_DIR doesn't exist, it defaults to the TWP dir)
So... run TWP once, then edit the config file it creates there

Thanks for the quick response.

mpnash
01-17-2007, 05:20 AM
Thanks for the effort guys. Just a small request. I like the "asx / tivo" buttons under the NPL. But I also like to use the Folders module. So could you please add similar links to the folders module for future releases?

In my version, I've hacked in an "asx" link by adding:

if { $::conf(TyShowLinks) && $type != "" } {
set form_td "$form_td [td [html_link "/asx/$fsid.asx" "asx"]]"
}

just before the line:
if { $assign == 1 } {

near the bottom of modules/folders.itcl

So this works for me, but is a little ugly and probably not the 'right' way to do it (plus I'd need to redo this at each upgrade)...

Thanks.

grunties
01-17-2007, 08:28 AM
What a great product! I've got a hughes s2 dtivo running 6.2, and I tried to run the backup module at the page: http://192.168.0.200/backup

I first remounted rw the root partition (went the easy way and did ptvupgrade):

mount -o remount,rw /

Then opened the backup page, and gave the backup file a name.

The page reports:


Taking snapshot of season passes - please wait

Backup Checklist
Create backup file '/ptvupgrade/tivowebplus/backups/settings' Done
Write header Done
Store layout version number 1 Done
Store TiVo version number 6.2-01-2-351 Done
Store details for 0 channels (for reference only, may contain duplicates) Done
Store details for 0 wishlists Done
Store details for 0 season passes Done
You can save this backup file on your computer by right-clicking the link below and choosing the browser's 'save target as' option:

/ptvupgrade/tivowebplus/backups/settings
(Don't worry if it saves it as a HTML file, it will still work)


Return to Backup Menu



And this is in the settings file on the system:


bash-2.02# cat settings
# agw TiVo Web backup file - do not edit on or before this line
# Layout: 1
# Created by module version 1.00.0018
# The latest version of backup.itcl can be found somewhere under
# http://www.boygenius.co.uk/tivo
# This is executable code - TiVo Web runs it to load the data into store. If
# you must edit it then please be careful.

# The load procedure
proc load_file_content {} {
# Store the date that the backup was taken
load_backup_date "Wed Jan 17 2007 12:18:11"

# Load the layout version
load_layout_version "1"

# Load the TiVo software version running on the TiVo that was backed up
load_version {6.2-01-2-351}

# These are the channels used by the season passes in the backup
# The list is for reference only and doesn't reflect the full
# list of channels in the lineup at the time of the backup

# Load the wishlists on the TiVo at the time of backup

# Load the season passes on the TiVo at the time of backup
}
bash-2.02#
bash-2.02#


This file is my backup file from 1.3.1 an hour earlier:


# agw TiVo Web backup file - do not edit on or before this line
# Layout: 1
# Created by module version 1.00.0017
# The latest version of backup.itcl can be found somewhere under
# http://www.boygenius.co.uk/tivo
# This is executable code - TiVo Web runs it to load the data into store. If
# you must edit it then please be careful.

# The load procedure
proc load_file_content {} {
# Store the date that the backup was taken
load_backup_date "Tue Jan 16 2007 03:55:29"

# Load the layout version
load_layout_version "1"

# Load the TiVo software version running on the TiVo that was backed up
load_version {6.2-01-2-351}

# These are the channels used by the season passes in the backup
# The list is for reference only and doesn't reflect the full
# list of channels in the lineup at the time of the backup
load_channel {46634} {agwChannelNum int 5 Version int 2 ServerId string AStation10603 ServerVersion int 13 Affiliation string {{NBC Affiliate}} CallSign string KOAA Name string KOAA TmsId string 10603 IndexPath string {/StationTms/10603:b62a /Server/AStation10603:5:13:0}}
load_channel {46640} {agwChannelNum int 13 Version int 1 ServerId string AStation10659 ServerVersion int 13 CallSign string CS13 Name string CS13 TmsId string 10659 IndexPath string {/StationTms/10659:b630 /Server/AStation10659:5:13:0}}
load_channel {5246} {agwChannelNum int 203 Version int 1 ServerId string AStation10153 ServerVersion int 26 CallSign string CRT Name string CRT TmsId string 10153 IndexPath string {/StationTms/10153:147e /Server/AStation10153:5:26:0}}
load_channel {5276} {agwChannelNum int 249 Version int 1 ServerId string AStation10149 ServerVersion int 104 CallSign string COM Name string COM TmsId string 10149 IndexPath string {/StationTms/10149:149c /Server/AStation10149:5:104:0}}
load_channel {5290} {agwChannelNum int 265 Version int 1 ServerId string AStation10035 ServerVersion int 84 CallSign string A&E Name string A&E TmsId string 10035 IndexPath string {/StationTms/10035:14aa /Server/AStation10035:5:84:0}}
load_channel {5930} {agwChannelNum int 285 Version int 1 ServerId string AStation16615 ServerVersion int 80 CallSign string DTMS Name string DTMS TmsId string 16615 IndexPath string {/StationTms/16615:172a /Server/AStation16615:5:80:0}}
load_channel {5308} {agwChannelNum int 296 Version int 1 ServerId string AStation12131 ServerVersion int 115 CallSign string TOON Name string TOON TmsId string 12131 IndexPath string {/StationTms/12131:14bc /Server/AStation12131:5:115:0}}
load_channel {5326} {agwChannelNum int 325 Version int 1 ServerId string AStation11163 ServerVersion int 116 CallSign string SPKE Name string SPKE TmsId string 11163 IndexPath string {/StationTms/11163:14ce /Server/AStation11163:5:116:0}}
load_channel {5332} {agwChannelNum int 331 Version int 1 ServerId string AStation10986 ServerVersion int 101 CallSign string MTV Name string MTV TmsId string 10986 IndexPath string {/StationTms/10986:14d4 /Server/AStation10986:5:101:0}}

# Load the wishlists on the TiVo at the time of backup

# Load the season passes on the TiVo at the time of backup
load_season_pass {71581} {Version int 5 DayOfWeekLocal int {1 2 3 4 5} Duration int 3600 EndTimePadding int 60 KeepTime int 0 Priority int 0 StartTimeLocal int 46800 StartTimePadding int 60 Station fsid 46640 Type int 2 IndexPath string /SeasonPass/User/000~71581}
load_season_pass {61667} {Version int 9 KeepTime int 0 Priority int 1 Series fsid 15993 ShowStatus int 1 Station fsid 5290 IndexPath string {/SeasonPass/User/001~61667 /SeasonPass/SeriesStation/00003e79:000014aa~61667}}
load_season_pass {61675} {Version int 12 KeepTime int 0 Priority int 2 Series fsid 12997 ShowStatus int 1 Station fsid 5332 IndexPath string {/SeasonPass/User/002~61675 /SeasonPass/SeriesStation/000032c5:000014d4~61675}}
load_season_pass {66340} {Version int 14 KeepTime int 0 Priority int 3 Series fsid 60870 Station fsid 5290 IndexPath string {/SeasonPass/User/003~66340 /SeasonPass/SeriesStation/0000edc6:000014aa~66340}}
load_season_pass {66352} {Version int 14 KeepTime int 0 Priority int 4 Series fsid 32800 Station fsid 5290 IndexPath string {/SeasonPass/User/004~66352 /SeasonPass/SeriesStation/00008020:000014aa~66352}}
load_season_pass {126512} {Version int 5 KeepTime int 0 Priority int 5 Series fsid 39541 Station fsid 5290 IndexPath string {/SeasonPass/User/005~126512 /SeasonPass/SeriesStation/00009a75:000014aa~126512}}
load_season_pass {61671} {Version int 10 KeepTime int 0 Series fsid 23070 ShowStatus int 1 Station fsid 5290 Priority int 6 IndexPath string {/SeasonPass/User/006~61671 /SeasonPass/SeriesStation/00005a1e:000014aa~61671}}
load_season_pass {62916} {Version int 15 KeepTime int 0 Priority int 7 Series fsid 8042 ShowStatus int 1 Station fsid 5276 IndexPath string {/SeasonPass/User/007~62916 /SeasonPass/SeriesStation/00001f6a:0000149c~62916}}
load_season_pass {61662} {Version int 15 KeepTime int 0 Priority int 8 Series fsid 12800 StartTimePadding int 60 Station fsid 5308 TuningPreferences fsid 61662 IndexPath string {/SeasonPass/User/008~61662 /SeasonPass/SeriesStation/00003200:000014bc~61662}}
load_season_pass {66337} {Version int 12 KeepTime int 0 Series fsid 18139 ShowStatus int 1 Station fsid 5290 Priority int 9 IndexPath string {/SeasonPass/User/009~66337 /SeasonPass/SeriesStation/000046db:000014aa~66337}}
load_season_pass {99058} {Version int 6 KeepTime int 0 Priority int 10 Series fsid 93834 ShowStatus int 1 Station fsid 5930 IndexPath string {/SeasonPass/User/010~99058 /SeasonPass/SeriesStation/00016e8a:0000172a~99058}}
load_season_pass {99061} {Version int 6 KeepTime int 0 Priority int 11 Series fsid 9376 ShowStatus int 1 Station fsid 5276 IndexPath string {/SeasonPass/User/011~99061 /SeasonPass/SeriesStation/000024a0:0000149c~99061}}
load_season_pass {116131} {Version int 5 KeepTime int 0 Priority int 12 Series fsid 19651 ShowStatus int 1 Station fsid 46634 IndexPath string {/SeasonPass/User/012~116131 /SeasonPass/SeriesStation/00004cc3:0000b62a~116131}}
load_season_pass {122942} {Version int 5 KeepTime int 0 Priority int 13 Series fsid 104732 ShowStatus int 1 Station fsid 5246 IndexPath string {/SeasonPass/User/013~122942 /SeasonPass/SeriesStation/0001991c:0000147e~122942}}
load_season_pass {127098} {Version int 4 KeepTime int 0 Priority int 14 Series fsid 13063 ShowStatus int 1 Station fsid 5326 IndexPath string {/SeasonPass/User/014~127098 /SeasonPass/SeriesStation/00003307:000014ce~127098}}
load_season_pass {140956} {Version int 3 Priority int 15 Series fsid 105646 Station fsid 5290 IndexPath string {/SeasonPass/User/015~140956 /SeasonPass/SeriesStation/00019cae:000014aa~140956}}
load_season_pass {144931} {Version int 2 KeepTime int 0 Priority int 16 Series fsid 112115 ShowStatus int 1 Station fsid 5290 IndexPath string {/SeasonPass/User/016~144931 /SeasonPass/SeriesStation/0001b5f3:000014aa~144931}}
load_season_pass {150963} {Version int 2 KeepTime int 0 Priority int 17 Series fsid 85714 ShowStatus int 1 Station fsid 5326 IndexPath string {/SeasonPass/User/017~150963 /SeasonPass/SeriesStation/00014ed2:000014ce~150963}}
load_season_pass {156539} {Version int 2 KeepTime int 0 Priority int 18 Series fsid 24337 ShowStatus int 1 Station fsid 5246 IndexPath string {/SeasonPass/User/018~156539 /SeasonPass/SeriesStation/00005f11:0000147e~156539}}

# Load the series used by the season passes
load_series {104732} {Version int 6 ServerId string ATSH799629 ServerVersion int 0 Genre int {380 382 124} ThumbData int 268566912 Title string {{Hot Pursuit}} TmsId string SH799629 IndexPath string /Server/ATSH799629:4:0:0}
load_series {12997} {Version int 13 ServerId string ATSH052522 ServerVersion int 0 Genre int {382 105 124} ThumbData int 268633087 Title string {{The Real World}} TmsId string SH052522 IndexPath string /Server/ATSH052522:4:0:0}
load_series {13063} {Version int 11 ServerId string ATSH832815 ServerVersion int 0 Genre int {380 382 124} ThumbData int 268632575 Title string {{Disorderly Conduct: Video on Patrol}} TmsId string SH832815 IndexPath string /Server/ATSH832815:4:0:0}
load_series {105646} {Version int 16 ServerId string ATSH290992 ServerVersion int 0 Genre int {375 380 32 35 37 41 105 124} Title string {{The Sopranos}} TmsId string SH290992 ThumbData int 268632831 IndexPath string /Server/ATSH290992:4:0:0}
load_series {19651} {Version int 34 ServerId string ATSH316978 ServerVersion int 0 Genre int {375 380 105 124} ThumbData int 268632831 Title string {{Law & Order: Special Victims Unit}} TmsId string SH316978 IndexPath string /Server/ATSH316978:4:0:0}
load_series {85714} {Version int 7 ServerId string ATSH883484 ServerVersion int 0 Genre int {368 371 124} ThumbData int 268566912 Title string {{Wild World of Spike}} TmsId string SH883484 IndexPath string /Server/ATSH883484:4:0:0}
load_series {9376} {Version int 21 ServerId string ATSH293053 ServerVersion int 0 Genre int {8 371 105 124 419} ThumbData int 268566912 Title string {{The Daily Show With Jon Stewart}} TmsId string SH293053 IndexPath string /Server/ATSH293053:4:0:0}
load_series {24337} {Version int 16 ServerId string ATSH817694 ServerVersion int 0 Genre int {380 382 124} ThumbData int 268566912 Title string {{Video Justice}} TmsId string SH817694 IndexPath string /Server/ATSH817694:4:0:0}
load_series {112115} {Version int 6 ServerId string ATSH813249 ServerVersion int 0 Genre int {382 105 124} ThumbData int 268566912 Title string {{King of Cars}} TmsId string SH813249 IndexPath string /Server/ATSH813249:4:0:0}
load_series {15993} {Version int 17 ServerId string ATSH660961 ServerVersion int 0 Genre int {380 382 105 124} ThumbData int 268633087 Title string {{The First 48}} TmsId string SH660961 IndexPath string /Server/ATSH660961:4:0:0}
load_series {12800} {Version int 7 ServerId string ATSH725962 ServerVersion int 0 Genre int {369 124} ThumbData int 268566912 Title string {{Robot Chicken}} TmsId string SH725962 IndexPath string /Server/ATSH725962:4:0:0}
load_series {93834} {Version int 4 ServerId string ATSH433859 ServerVersion int 0 Genre int {380 382 105} Title string {{City Cops: San Francisco Blue}} TmsId string SH433859 ThumbData int 268566912 IndexPath string /Server/ATSH433859:4:0:0}
load_series {23070} {Version int 12 ServerId string ATSH727678 ServerVersion int 0 Genre int {382 105 124} ThumbData int 268632575 Title string Intervention TmsId string SH727678 IndexPath string /Server/ATSH727678:4:0:0}
load_series {60870} {Version int 5 ServerId string ATSH870082 ServerVersion int 0 Genre int {380 105 124} ThumbData int 268566912 Title string {{Kansas City SWAT}} TmsId string SH870082 IndexPath string /Server/ATSH870082:4:0:0}
load_series {32800} {Version int 8 ServerId string ATSH798406 ServerVersion int 0 Genre int {380 105 124} Title string {{Dallas SWAT}} TmsId string SH798406 ThumbData int 268632831 IndexPath string /Server/ATSH798406:4:0:0}
load_series {39541} {Version int 11 ServerId string ATSH861940 ServerVersion int 0 Genre int {380 105 124} ThumbData int 268633087 Title string {{Detroit SWAT}} TmsId string SH861940 IndexPath string /Server/ATSH861940:4:0:0}
load_series {8042} {Version int 23 ServerId string ATSH229827 ServerVersion int 0 Genre int {369 371 105 124} ThumbData int 268632831 Title string {{South Park}} TmsId string SH229827 IndexPath string /Server/ATSH229827:4:0:0}
load_series {18139} {Version int 15 ServerId string ATSH675082 ServerVersion int 0 Genre int {380 382 105 124} Title string {{Dog the Bounty Hunter}} TmsId string SH675082 ThumbData int 268632831 IndexPath string /Server/ATSH675082:4:0:0}
}



Yea, I know, many different tastes in this household!
Thanks and regards!

G

grunties
01-17-2007, 12:31 PM
2.0.0 when I say 2.0.2 :)

studog86
01-17-2007, 01:20 PM
Will us forgotten v2.5.2 series 1 tivo ever be able to use the screen function.
If not what can I do to upgrade without using tivolater 31.

By the way I wish to thank you for this great product, I just hope you can help me.

I am hoping to network computers throughout the house with one tivo.

stevel
01-17-2007, 09:23 PM
grunties, it is known that the Backup module doesn't work on 6.x. I'm not sure if anyone is looking at a fix for it.

John1980
01-17-2007, 09:41 PM
Will us forgotten v2.5.2 series 1 tivo ever be able to use the screen function.

If you wish to bring up a couple of menu's on the TiVo and run "SendKey dumpState" from a telnet session and post the contents of "/tmp/mwstate" then I might be able to see if it can be easily fixed.

The following is an example of the contents of /tmp/mwstate of the main screen on a v2.5.5 system:

context {
id {2}
idTivolutionShowcaseM {0/0}
nEntryCountM {15}
pTextCtrlM {
pTextM {TiVo Central}
}
pImageListCtrlM {
iTop {0}
iCurrent {0}
nVisible {8}
nItemMax {4}
fPage {true}
fMoreIconM {true}
nItem {0}
}
pTextListCtrlM {
iTop {0}
iCurrent {0}
nVisible {8}
nItemMax {4}
fPage {true}
fMoreIconM {true}
nItem {4}
0 {
string {Now Playing}
}
1 {
string {Watch Live TV}
}
2 {
string {Pick Programmes to Record}
}
3 {
string {Messages & Setup}
}
}
}
recorder {
nAction {0}
nCache {1}
cache0 {
idRecording {2386248/-1}
idProxy {2}
}
}

rslatkin
01-18-2007, 11:16 AM
It looks like the DescriptionShow option is not working correctly for the Now Playing List. It does turn off descriptions in the Recording History and Todo lists, but not the NPL. I've done a Quit and Restart after changing the option.

DSR6000 DirecTivo
Software System: 3.5-01-1-001
Version 2.0.0 (oztivo-070116)

BTUxNine
01-18-2007, 04:25 PM
Instead of config settings, the new RowFormat should be used to tweak the appearance of the NPL (at some point, it will be implemented for History and Todo, also).
This replaces the use of many switches (multi-delete, tyshow, desc, etc.) and makes the code MUCH cleaner.

In the past, whenever someone wanted to add or change something, they put out a new version of ui.itcl... because of that there were many different versions floating around, and fixes were almost impossible to implement... this is an attempt to remedy that situation.

For new functionality, it's now only necessary to add or edit a RecForm_ routine, and if people want to use it, they can just adjust their rowformat to add it

rslatkin
01-18-2007, 05:13 PM
Excellent, thanks for the tip! I'm really enjoying version 2.0 so far.

realbadboy
01-19-2007, 06:02 PM
Has anyone else run into problem with 2.0 mrege module not showing up ??? or am I doing something wrong. Everything else is super !

studog86
01-19-2007, 06:41 PM
Thanks for your help john1980 I hop you cna get this to work
matt.

I hope I did this right. Oh by the way how do I stop sendkey dumpstate.

Signed THE *****

recorder {
nAction {0}
nCache {2}
cache0 {
idRecording {2618229/-1}
idProxy {2}
}
cache1 {
idRecording {2618233/-1}
idProxy {3}
}
}
videoMgr {
nProxy {3}
proxy0 {
reason {MaintainCache}
sessionIdM {2}
fOpenM {true}
}
proxy1 {
reason {MaintainCache}
sessionIdM {3}
fOpenM {true}
}
proxy2 {
reason {PlayLoopset}
sessionIdM {317}
fOpenM {true}
}
nInput {2}
input0 {
inputIdM {0}
recordingStateM {InputLiveCache}
idLiveCacheM {2618229/-1}
fRecordingInProgress {false}
fPendingRecording {false}
tuningData {
pChannelM {284 0}
audioSCIDM {65535}
fHasDolbyDigitalM {false}
fDolbyDigitalM {false}
}
maintainCache {
reason {MaintainCache}
sessionIdM {2}
fOpenM {true}
}
FUserActive {true}
nSession {0}
CurrentShowingId {2589309/62}
}
input1 {
inputIdM {1}
recordingStateM {InputLiveCache}
idLiveCacheM {2618233/-1}
fRecordingInProgress {false}
fPendingRecording {false}
tuningData {
pChannelM {278 0}
audioSCIDM {65535}
fHasDolbyDigitalM {false}
fDolbyDigitalM {false}
}
maintainCache {
reason {MaintainCache}
sessionIdM {3}
fOpenM {true}
}
FUserActive {false}
nSession {0}
CurrentShowingId {2591607/169}
}
nOutput {1}
output0 {
outputIdM {0}
fLastParentalControlsStateM {false}
fOutputVideoBlackM {false}
fOutputAudioMuteM {false}
fOutputStaleM {false}
fOutputForceBlackM {false}
momLengthSeconds {9}
position {7 sec}
begin {0 usec}
end {9 sec}
nSession {1}
session0 {
reason {PlayLoopset}
sessionIdM {317}
fOpenM {true}
}
CurrentShowingId {2589309/62}
}
}
mediaMgr {
nInput {2}
input0 {
fRecord {false}
iPlayClip {2}
playTime {0 5273}
iRecordClip {2}
recordTime {0 5420}
nClip {3}
clip0 {
fsId {2631657}
fWritten {true}
minTime {0 2855}
maxTime {0 3771}
projectedMaxTime {0 0}
}
clip1 {
fsId {2631754}
fWritten {true}
minTime {0 3771}
maxTime {0 4846}
projectedMaxTime {0 0}
}
clip2 {
fsId {2631766}
fWritten {true}
minTime {0 4847}
maxTime {0 5420}
projectedMaxTime {0 5898}
}
}

SteelersFan
01-19-2007, 08:27 PM
Has anyone else run into problem with 2.0 mrege module not showing up ??? or am I doing something wrong. Everything else is super !There should be a Merge button at the bottom of your NPL. If there is, check the boxes next to the shows you want to merge and hit "Merge".

BTUxNine
01-19-2007, 08:32 PM
the default for ShowMergeButton is 0... edit config/tivoweb.cfg and change the value to 1 in order to see the merge button

TheSaint
01-20-2007, 04:48 PM
Didn't know there was a merge function. I could make use of that. However, it's failing for me...

INTERNAL SERVER ERROR
--cut here--
action_confirmdelete '/6/' 'set "fsid_0_2541910" "on";set "fsid_0_2510606" "on";set "submit" "Merge Shows";'
wrong # args: should be "do_action action p1 p2 p3 ?safe?"
while executing
"do_action $chan $path $env"
(procedure "MOD::action_confirmdelete" line 7)
invoked from within
"$cmd $p1 $p2 $p3"
--cut here--

the default for ShowMergeButton is 0... edit config/tivoweb.cfg and change the value to 1 in order to see the merge button

BTUxNine
01-20-2007, 05:06 PM
try changing line 8 of modules/confirm.itcl from:
do_action $chan $path $env
to:
do_action merge $chan $path $env

a p.s.: when turning on merge, it may require a full reload to enable the new setting... this is true of settings that cause a module to be disabled.

SteelersFan
01-20-2007, 07:56 PM
I'm trying to use ConflictResolve and am getting this:INTERNAL SERVER ERROR
--cut here--
action_manrec '' 'set "titlestr" "Deal or No Deal";set "episodetitlestr" "";set "descriptionstr" "Fisherman Roland Martin surprises a college student who continues his game\; a Washington woman plays for \$1 million.";set "chnsel" "";set "callsign" "LA4";set "wodatetz" "1170201600";set "wotimetz" "21";set "womin" "0";set "durationstr" "60";set "ratingstr" "0";set "repeat" "once";set "recqual" "100";set "forcerecord" "1";set "submit" "Record";'
expected integer but got ""
while executing
"db $db openid $chnsel"
("uplevel" body line 58)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
puts $chan "Creating Recording..."

set recording [ db $db create Recording ]
create_RecordingDRM $recording
dbobj $recording set B..."
(procedure "create_manual_todo_recording" line 14)
invoked from within
"create_manual_todo_recording $chan $timeArray $chnsel $titlestr $episodestr $descriptionstr $ratingstr $programSource $recqual $keepdays $createSP"
(procedure "MOD::action_manrec" line 313)
invoked from within
"$cmd $p1 $p2 $p3"
--cut here--I've never tried using this module before, so I'm not sure if this is an operator error or not. Thanks.
ETA: Running 6.2 on a S2DTivo with TWP 2.0.0 (070116).

TheSaint
01-20-2007, 11:48 PM
try changing line 8 of modules/confirm.itcl from:
do_action $chan $path $env
to:
do_action merge $chan $path $env

a p.s.: when turning on merge, it may require a full reload to enable the new setting... this is true of settings that cause a module to be disabled.

That fixed it. Thanks!

stevel
01-21-2007, 03:12 PM
I tried to schedule a season pass on 6.3 with 2.0.0-070111. The SP did show in the SP list, but even an hour later, no episodes were in the ToDo. Using the TiVo I moved the SP up and back down in the SP list and then the episodes appeared instantly.

BTUxNine
01-21-2007, 04:37 PM
I tried to schedule a season pass on 6.3 with 2.0.0-070111. The SP did show in the SP list, but even an hour later, no episodes were in the ToDo. Using the TiVo I moved the SP up and back down in the SP list and then the episodes appeared instantly.
Not sure that's fixable... it happens sometimes under 6.2, too
Whenever I schedule SPs via TWP, I always have to check back and verify that it actually started scheduling them.

Haven't found a pattern as to when it works and when it doesn't

BTUxNine
01-21-2007, 06:23 PM
For anybody who uses the oztivo widget, I'm attaching a module that should restore compatibility (original widget, not modified)

I haven't tested it on my own, because I don't trust Yahoo! enough to install their framework on my machine, so please let me know

Just put the file in the modules dir and do a quick reload.

mpnash
01-21-2007, 07:25 PM
I don't use the oztivo widget often, but I just tried it with this mod (thanks) and it seems to work in that it has got a smiley face, I can see Now Showing list, Season passes, temperature etc through the widget. I haven't tried doing anything with it tho...

John1980
01-22-2007, 09:18 PM
Thanks for your help john1980 I hop you cna get this to work
I hope I did this right. Oh by the way how do I stop sendkey dumpstate.


The "dumpstate" should just dump the state once. I am not sure we can get the screen module working for you as it does not look like the text of the on-screen menu appears in the dumpstate information... and this is required in order for the screen module to work.

gamo62
01-23-2007, 05:53 AM
I was able to connect to my DTivo and could not for the life of me find a way to extend the recording that was in progress. It was the AFC game, and it went extra long. I ended up having to record without a trace and start it a minute earlier.

Is there anyway to add time to a current recording online? thanks.

G.W.

BTUxNine
01-23-2007, 05:58 AM
endpad adds time, but it does so before the recording begins.
I don't know if the tivo would detect the change if the recording had already started. (so I don't know if it's even possible to add a module to do so)

ilikecheese
01-23-2007, 01:34 PM
Just a vote to fix backup script for 6.2...

Love to do it myself, but I am pretty new to the interworkings of MFS and the tivo software architecture.

Thanks for all keeping development going!

gamo62
01-23-2007, 05:29 PM
endpad adds time, but it does so before the recording begins.
I don't know if the tivo would detect the change if the recording had already started. (so I don't know if it's even possible to add a module to do so)

I know you can manually expand the time in the Tivo menu. Not sure if I remember, but it may have something to do with the To Do list....It would be nice if there was a module available.

G.W.

BTUxNine
01-23-2007, 05:36 PM
I know you can manually expand the time in the Tivo menu. Not sure if I remember, but it may have something to do with the To Do list....It would be nice if there was a module available.

G.W.
You misunderstood... I know the TIVO can extend the recording, but it has full access to the event system internally... for s/w versions >=5, we can't send events from a program like TWP (which is why no sendkey-based modules work)

studog86
01-23-2007, 05:49 PM
Hey John
I just want to say thank you for the quick replies and all your patience with us. I know just enough to be annoying, but not helpful.
Here is the correct sendkey dumpstate for a 2.5.2xtreme dsr6000.
I hope you can help me get this going.
matt.
context {
id {2}
idTivolutionShowcaseM {0/0}
nEntryCountM {1}
pTextCtrlM {
pTextM {TiVo Central}
}
pImageListCtrlM {
iTop {0}
iCurrent {0}
nVisible {8}
nItemMax {7}
fPage {true}
fMoreIconM {true}
nItem {6}
0 {
}
1 {
}
2 {
}
3 {
}
4 {
}
5 {
type {2}
format {-559038737}
idFile {-559038737}
idResource {0x2b001c}
}
}
pTextListCtrlM {
iTop {0}
iCurrent {0}
nVisible {8}
nItemMax {7}
fPage {true}
fMoreIconM {true}
nItem {7}
0 {
string {Now Playing}
}
1 {
string {Watch Live TV}
}
2 {
string {Showcases}
}
3 {
string {Pick Programs to Record}
}
4 {
string {Messages & Setup}
}
5 {
string {Experience the FJ Cruiser & Baja 1000}
}
6 {
string {DIRECTV Menu}
}
}
}
recorder {
nAction {0}
nCache {2}
cache0 {
idRecording {2645158/-1}
idProxy {2}
}
cache1 {
idRecording {2645162/-1}
idProxy {3}
}
}
fHasDolbyDigitalM {false}
fDolbyDigitalM {false}
}
maintainCache {
reason {MaintainCache}
sessionIdM {3}
fOpenM {true}
}
FUserActive {false}
nSession {0}
CurrentShowingId {2599027/197}
}
nOutput {1}
output0 {
outputIdM {0}
fLastParentalControlsStateM {false}
fOutputVideoBlackM {false}
fOutputAudioMuteM {false}
fOutputStaleM {false}
fOutputForceBlackM {false}
momLengthSeconds {9}
position {7 sec}
begin {0 usec}
end {9 sec}
nSession {1}
session0 {
reason {PlayLoopset}
sessionIdM {8}
fOpenM {true}
}
CurrentShowingId {2599027/197}
}
}
mediaMgr {
nInput {2}
input0 {
fRecord {false}
iPlayClip {0}
playTime {0 53}
iRecordClip {0}
recordTime {0 303}
nClip {2}
clip0 {
fsId {2645157}
fWritten {true}
minTime {0 0}
maxTime {0 303}
projectedMaxTime {0 1086}
}
clip1 {
fsId {2645172}
fWritten {false}
minTime {0 0}
maxTime {0 0}
projectedMaxTime {0 0}
}
}
input1 {
fRecord {false}
iPlayClip {0}
playTime {0 0}
iRecordClip {0}
recordTime {0 303}
nClip {2}
clip0 {
fsId {2645161}
fWritten {true}
minTime {0 0}
maxTime {0 303}
projectedMaxTime {0 1086}
}
clip1 {
fsId {2645173}
fWritten {false}
minTime {0 0}
maxTime {0 0}
projectedMaxTime {0 0}
}
}
nOutput {2}
fCloseCaptionEnabled {true}
playSpeed {100}
fCloseCaptionEnabled {true}
playSpeed {100}
}

BTUxNine
01-24-2007, 04:55 AM
OK, I think I found the problems with the backup module (some global references slipped through the cracks)

The modified code is in CVS at http://tivowebplus.cvs.sourceforge.net/tivowebplus/TivoWebPlus/modules/backup.itcl?view=log

I'm hoping some ppl will test it out and report back, especially the restore function

p.s. I also made the "view backup" more readable

Cheezmo
01-24-2007, 01:56 PM
Not sure where this is in the priority list, but with 6.3, the Info module double counts the live caches, often resulting in "Deleted" being larger than "Total Free" in the Space Summary.

I've written a version (based on the latest info.itcl) that computes things correctly for 6.3, but I assume it would break other versions so I'll leave it to you guys to try to merge things.

Throg
01-24-2007, 06:40 PM
I just created a new SP and then click on the Reorder SPs module. This happened and I can't get past it:INTERNAL SERVER ERROR
--cut here--
action_reorder '' ''
no such object:
while executing
"dbobj $station get CallSign"
invoked from within
"if {$series != ""} {
set callsign [dbobj $station get CallSign]
set name [dbobj $series get Title]
} elseif { $theme != ""} {
set callsign {}
set name..."
("uplevel" body line 6)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
set sp [db $db openid $fsid]
set station [dbobj $sp get Station]
set series [dbobj $sp get Series]
set theme [dbobj $sp get Theme]
..."
("uplevel" body line 4)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFile fsid name type $seasonpassdir "" {
set series {}
set theme {}
RetryTransaction {
set sp [db $db openid $fsid]
set station [dbobj $sp ge..."
(procedure "rogetsplist" line 7)
invoked from within
"rogetsplist"
(procedure "MOD::action_reorder" line 4)
invoked from within
"$cmd $p1 $p2 $p3"
--cut here--

RussMuscle
01-25-2007, 03:19 PM
I modified the Username=, Password=, and the port=. The port has taken effect, but TWP 2.0.0-070123 doesn't ask for authentication. Any ideas why?
TWP 1.3.1 doesn't either. I have one tivo running 2.0.0 and the other running 1.3.1

John1980
01-25-2007, 03:28 PM
I modified the Username=, Password=, and the port=. The port has taken effect, but TWP 2.0.0-070123 doesn't ask for authentication. Any ideas why?

The default is to only authenticate remote users, if you wish to also have the local users authenticated set LAN_Auth (Local Area Network Authentication) to 1.

RussMuscle
01-25-2007, 04:40 PM
Thanks, I guess it would help if I had paid attention to the config file. Sorry, for the dumb question.

John1980
01-25-2007, 05:02 PM
Thanks, I guess it would help if I had paid attention to the config file. Sorry, for the dumb question.

It's not really a dumb question as it is likely to catch a few people out. I added the feature a while back as I wanted the package to "default secure", but did not want people to be hassled when performing simple administration tasks locally.

PS: The Local LAN is assumed to be a Class-C (/24) network... in English this means that if your Tivo has an IP address of 192.168.1.232 then anything with an address that matches 192.168.1.xxx is taken to be on the local LAN. This assumption should be correct for the majority of home setups.

SteveT
01-25-2007, 05:41 PM
Instead of config settings, the new RowFormat should be used to tweak the appearance of the NPL .....I'm really liking this new feature, and the automatic folders even more so.

One small bug, on the folder rows, you're unWRAPing the Title. Looks like row 111 in ui_nowshowing.itcl isn't handling the "w" before 'Title.if {[string first "`Title" $s]!=-1} {set s `Folder`

studog86
01-25-2007, 05:45 PM
Hey john1980

Did I do the dump correctly.

BTUxNine
01-25-2007, 06:15 PM
I'm really liking this new feature, and the automatic folders even more so.
Hey, it's really great to see somebody is actually using them :D

One small bug, on the folder rows, you're unWRAPing the Title. Looks like row 111 in ui_nowshowing.itcl isn't handling the "w" before 'Title.if {[string first "`Title" $s]!=-1} {set s `Folder`
an easy fix... I didn't straight-out substitute because the format I use puts the title, desc, etc. all together... easier to read for me.

I'm thinking about adding an Actors format, to give a more complete description. What do you think?

p.s. I'm in the process of rewriting the getRec code which will change the interface for it (just in case anybody is writing code based on it). It now requires a call to getRecInit, which should give more consistent clearing of data, and allow other features (at least I hope so)

SteelersFan
01-26-2007, 10:18 AM
Hey guys. Thanks again for all the hard work you do on this.

I'm seeing errors in 3 different modules. The first error is this one (http://www.dealdatabase.com/forum/showpost.php?p=274224&postcount=56)I posted about a few days ago.

The second one occurs when I do: UI>History>All Future INTERNAL SERVER ERROR
--cut here--
action_history '/list/future' ''
invalid command name "get_recordindexsearch"
while executing
"get_recordindexsearch $programkeyfsid $startoffset $maxoffset $recsize $incrsize $fsidbin 0 3"
(procedure "MOD::get_programshowings" line 53)
invoked from within
"MOD::get_programshowings $progfsid $watch $args"
(procedure "get_programshowings" line 4)
invoked from within
"get_programshowings $tofind_fsid 1"
(procedure "alt_showing" line 4)
invoked from within
"alt_showing $id $id2"
("uplevel" body line 35)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFile fsid name type "/Recording/History" "" {
set alt ""
set recdate [split $name ":"]
regsub {^(-?)0+([1-9])} [lindex $recdate 1] {\1\2} re..."
(procedure "MOD::action_history" line 84)
invoked from within
"$cmd $p1 $p2 $p3"
--cut here-- And the third one occurs when I click on a series link: INTERNAL SERVER ERROR
--cut here--
action_series '/18934' ''
invalid command name "get_recordindexsearch"
while executing
"get_recordindexsearch $programkeyfsid $startoffset $maxoffset $recsize $incrsize $fsidbin 0 3"
(procedure "get_programshowings" line 53)
invoked from within
"get_programshowings $seriesid $watch"
(procedure "MOD::action_series" line 56)
invoked from within
"$cmd $p1 $p2 $p3"
--cut here--I am running a 6.2 on a S2DTivo and TWP 2.0.0 (070123). Thanks again.

BTUxNine
01-26-2007, 04:52 PM
I did some shuffling of modules to localize the search support routines... looks like the snapshot for 070123 was taken when it wasn't stable... the code in CVS (which will probably be bundled fairly soon) is fine

re: conflict resolve - haven't really had a chance to look into it... not sure it's been working in v1.4+... has anybody used it?

thecrave
01-27-2007, 02:00 PM
I tried password protecting TWP using the .cfg file -- when I put a value in
the Password field and restart, I see the Basic Auth prompt -- but even with
the correct username/password, it won't authenticate me.

It only prompts me w/ BA on the WAN side (as expected).

But can't get it to ever authenticate me.

Anyone else have this problem?

BTUxNine
01-27-2007, 02:40 PM
How did you edit the .cfg file?

StanSimmons
01-27-2007, 03:53 PM
When running Version 2.0.0 (oztivo-070123) on a HR10-250 v6.3b, the Now Playing List gives the following when there are no shows in Now Playing.
INTERNAL SERVER ERROR
--cut here--
action_nowshowing '' ''
can't read "shows": no such variable
while executing
"putRecRows -sort $mansort $chan $fmt Show $shows"
invoked from within
"if [info exists foldid] {
ForeachMfsFile fsid name type /Recording/NowShowingByBucketTitle "" {
set l [split $name :]
set id [lindex $l 1]
if {$foldid..."
(procedure "MOD::action_nowshowing" line 44)
invoked from within
"$cmd $p1 $p2 $p3"
--cut here--


It functions normally when there is at least one show in the NPL.

BTUxNine
01-27-2007, 08:32 PM
To tell you the truth, I don't consider that a particularly bothersome bug... an error message when there's absolutely nothing recorded is such an unlikely occurrence... not a biggie

John1980
01-27-2007, 09:20 PM
Did I do the dump correctly.

Let me know if the Screen module in the latest v2.0.0 (070128) works a little better for you. I have added an additional catch which may help...

Throg
01-27-2007, 11:21 PM
I have a SA S2 (TCD24004A) running 8.1-01-2-140 software. I reported a problem in this post (http://www.dealdatabase.com/forum/showpost.php?p=274546&postcount=71) explaining that the Reorder module just bombs on me. I've tried quick reload, full reload, restarting the tivo. Now, I've just scrubbed /TivoWebPlus and installed the 070128 package. The problem remains. I have a 2nd tivo (identical model, configured alike) running TWP 1.3.1 and the reorder module works as expected. I just don't know where to turn now.

studog86
01-28-2007, 01:14 PM
I was getting realy excited there for a second.
When I hit screen, it took me to the opening screen of my tivo. I hit live tv, and it froze.
Now after restarting tivo and full reload of twp 2 I can't even get that opening screen. Instead I get this error.

INTERNAL SERVER ERROR
--cut here--
action_screen '/' 'set "move" "0";'
can't read "column0(nItem)": no such element in array
while executing
"set tmp $column0(nItem)"
("eval" body line 1)
invoked from within
"eval set tmp \$column$i\(nItem)"
(procedure "dumpmenu" line 9)
invoked from within
"dumpmenu $chan [strim $menus]"
(procedure "MOD::action_screen" line 92)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--

studog86
Again thanks for you efforts.
matt.

John1980
01-28-2007, 03:27 PM
I have a SA S2 (TCD24004A) running 8.1-01-2-140 software. I reported a problem in this post (http://www.dealdatabase.com/forum/showpost.php?p=274546&postcount=71) explaining that the Reorder module just bombs on me. I've tried quick reload, full reload, restarting the tivo. Now, I've just scrubbed /TivoWebPlus and installed the 070128 package. The problem remains. I have a 2nd tivo (identical model, configured alike) running TWP 1.3.1 and the reorder module works as expected. I just don't know where to turn now.

Looks like you have a Season Pass entry which does not have a valid Station associated with it. You might like to try and reorder (or play with) the Season Passes under the TiVo's Menu's to see if it will fix the issue, otherwise you may need to have a look using the MFS module to see if you can find the invalid Season Pass (at which point you should be able to delete it).

Another approach could be to use the GDChecker module (I think it's under the System menu in TWPv2) - it has an option to check the Season Passes... this is still likely to bomb out but may give you a better indication of which Season Pass may be causing problems.

Of course it could be that the Season Pass mechanism has changed in the v8 software so that they are no longer bound to a channel (in which case there will may not be a station field within the record).

Throg
01-28-2007, 05:29 PM
Looks like you have a Season Pass entry which does not have a valid Station associated with it. You might like to try and reorder (or play with) the Season Passes under the TiVo's Menu's to see if it will fix the issue, otherwise you may need to have a look using the MFS module to see if you can find the invalid Season Pass (at which point you should be able to delete it).Thanks, John. When I read that I remembered having used the Ophaned SPs module and there were some orphans. "Maybe that's it. I'll go and delete them", I thought. To be sure I wanted to look again. The Orpaned SPs module bombed as you suspected. I remember what the orphans were so I went in through the tivo and deleted them. The Reorder SPs module now works but the Orpaned SPs doesn't. This is the error:INTERNAL SERVER ERROR
--cut here--
action_gdchecker '/orphansps' ''
can't read "modq": no such variable
while executing
"getTitleSearch $modq"
(procedure "gdchecker_spsearch" line 7)
invoked from within
"gdchecker_spsearch $title"
(procedure "gdchecker_orphansps" line 131)
invoked from within
"gdchecker_orphansps $chan"
(procedure "MOD::action_gdchecker" line 13)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--

John1980
01-28-2007, 05:43 PM
The Reorder SPs module now works but the Orpaned SPs doesn't. This is the error:INTERNAL SERVER ERROR
action_gdchecker '/orphansps' ''
can't read "modq": no such variable
while executing
"getTitleSearch $modq"
(procedure "gdchecker_spsearch" line 7)


Hmm... could be a cut and paste problem... the v1.3.1 code will probably work okay for you, otherwise you may wish to try adding the following code to the gdchecker_spsearch procedure just after the line that reads "loadModule search" (these can be found in gdchecker.itcl). Let us know if it works and it can be included in the next bundle.

# Now output search results. This was a search action
regsub -nocase {^(a|the) } $title {} modq
regsub -all {\$} $modq {} modq
regsub -all {\*} $modq {} modq
regsub -all {\,} $modq {} modq

regsub -all {[^A-Za-z0-9\*\", ]} $modq {} modq
regsub -all {\"} $modq {} modq
regsub "\t$" $modq {} dispq
if {[string length $dispq] == 0} {
return [h2 "Error, empty search query"]
}
if {[string length $dispq] < 2} {
return [h2 "Error, require at least 2 characters in query"]
}

BTUxNine
01-28-2007, 05:44 PM
hmm... that one would be MY fault... it's an easy fix, just change $modq to $title in line 423 of gdchecker.itcl

Edit: change made to CVS

BTUxNine
01-28-2007, 06:15 PM
To further localize installation data (separate from the TWP package), I'm planning on putting external modules (ones that aren't packaged with TWP) into a plugins dir... any thoughts/comments?

p.s. Please keep hammering the search util (esp. on s/w other than 6.2)... I've really sped up blank-title genre searches and want to make sure I didn't break things in the process

studog86
01-28-2007, 06:25 PM
Let me know if the Screen module in the latest v2.0.0 (070128) works a little better for you. I have added an additional catch which may help...

I am still getting used to this forum, I did try your new bundle and I got an internal error. I posted it two below your last post to me, I messed up and did not hit quote.

Throg
01-28-2007, 09:21 PM
Hmm... could be a cut and paste problem... the v1.3.1 code will probably work okay for you, otherwise you may wish to try adding the following code to the gdchecker_spsearch procedure just after the line that reads "loadModule search" (these can be found in gdchecker.itcl). Let us know if it works and it can be included in the next bundle.That worked.

Throg
01-28-2007, 10:40 PM
The module loads up, I can move the SPs around. But when I click on Save Updated SP order button, all of the SPs highlight (as they're supposed to) and then it exits back to the TWP menu. When I reopen Reorder SPs, the change did not stick.

BTUxNine
01-28-2007, 11:15 PM
The module loads up, I can move the SPs around. But when I click on Save Updated SP order button, all of the SPs highlight (as they're supposed to) and then it exits back to the TWP menu. When I reopen Reorder SPs, the change did not stick.
Just so you know, the reprioritize SPs from the SP screen DOES work.

John1980
01-29-2007, 02:01 AM
I am still getting used to this forum, I did try your new bundle and I got an internal error.

Re: Screen module on v2.5 system

I have updated the distribution with the latest patches as well as a few minor changes to screen.itcl. Would it be possible to try it again and provide any error messages as well as the last few lines in /var/log/tivoweb.log if there are problems (there should be some new "DEBUG MENU" lines).

StanSimmons
01-29-2007, 03:32 AM
When trying to update to "tivowebplus-v2.0.0-070129.tgz" I get the following error:
- Extract update script
extract.sh: The bundle did not contain an update script
/var/hack/tivowebplus/.dist/extract.sh: TivoWebPlus/.dist/software.tar: No such file or directory

Never mind, I just noticed that the error was listing "tivowebplus" instead of "TivoWebPlus" I was using a simlink.... poorly.

Throg
01-29-2007, 06:35 AM
Just so you know, the reprioritize SPs from the SP screen DOES work.Yes, it does. I just prefer the module because of the graphic representation.

angra
01-29-2007, 11:38 AM
During 1.3 or 1.4 there was some talk of modularizing the "showing" screen (i.e. details screen of a particular recording) so that additional elements can be added without changing the core code. I was wondering if that happened?

I have not touched my folder-association code in a while, but I have used it a bunch, so I figured the time was right to package it up, slap a GPL on it, and post it, if the interface is there.

elprobador
01-29-2007, 12:53 PM
I wonder if anyone can help me.

I have installed tivowebplus onto my 2.5.5 UK tivo (2.5.5-01-1-023)

i am struggling to get the screen module working. it is either blank or has the following message.

is there something i am missing? am i a complete muppet? I tried to search, but did not find a solution.

Thanks

INTERNAL SERVER ERROR
--cut here--
action_screen '/' 'set "move" "back";'
list must have an even number of elements
while executing
"array set tree $ret"
(procedure "GetVal" line 6)
invoked from within
"GetVal dialog"
(procedure "::action_screen" line 41)
invoked from within
"::action_$action $chan $part $env"
("eval" body line 1)
invoked from within
"eval {::action_$action $chan $part $env}"
--cut here--

thecrave
01-29-2007, 03:12 PM
How did you edit the .cfg file?

with vi


########################

LAN_Auth = 0
RSS_Auth = 0
HostsAllow =

UserName = oztivo
Password = oztivo
Port = 80
Prefix =
EthernetInterface =

BTUxNine
01-29-2007, 04:19 PM
During 1.3 or 1.4 there was some talk of modularizing the "showing" screen (i.e. details screen of a particular recording) so that additional elements can be added without changing the core code. I was wondering if that happened?

I have not touched my folder-association code in a while, but I have used it a bunch, so I figured the time was right to package it up, slap a GPL on it, and post it, if the interface is there.
Yes, it may be modularized at some point, but I was thinking that folder association would be accessed from the NPL using the checkboxes. I'm planning on an interface for that to allow arbitrary modules to hook in their own button for it, but haven't gotten to it, yet (may still be a while)

my reasoning: there are a TON of ui.itcl copies floating around, because any time someone wanted to change the NPL or Todo list or whatever, they had to hack that module. That's one of the main reasons for breaking it up and implementing the rowformat routines. With the addition of adding custom buttons, most, if not all, the previous NPL hacks (and future, hopefully) would be implementable via format string and hooked button changes without modifying the ui code.

BTUxNine
01-29-2007, 04:21 PM
thecrave: what shows in the log when the authentication fails?

studog86
01-29-2007, 10:21 PM
Re: Screen module on v2.5 system

I have updated the distribution with the latest patches as well as a few minor changes to screen.itcl. Would it be possible to try it again and provide any error messages as well as the last few lines in /var/log/tivoweb.log if there are problems (there should be some new "DEBUG MENU" lines).

Hey John
Thanks again for your help.
When I hit screen I get this
Tivo back refresh
None of the other menus come up.
I hit Tivo I get this
--cut here--
action_screen '/' 'set "move" "tivo";'
can't read "column0(nItem)": no such element in array
while executing
"set tmp $column0(nItem)"
("eval" body line 1)
invoked from within
"eval set tmp \$column$i\(nItem)"
(procedure "dumpmenu" line 10)
invoked from within
"dumpmenu $chan [strim $menus]"
(procedure "MOD::action_screen" line 95)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--


Here are the last lines of tivoweb log

192.168.2.4 - - [30/Jan/2007:02:08:06] "/screen"
DEBUG MENU: pImageCtrlM
192.168.2.4 - - [30/Jan/2007:02:08:07] "/faiec.css"

Thanks again.
This is an awsome product.
matt.

rbird
01-29-2007, 11:03 PM
Not sure where this is in the priority list, but with 6.3, the Info module double counts the live caches, often resulting in "Deleted" being larger than "Total Free" in the Space Summary.

I've written a version (based on the latest info.itcl) that computes things correctly for 6.3, but I assume it would break other versions so I'll leave it to you guys to try to merge things.

I have been working with John to try to track this problem down (though I don't have a 6.3 unit - just 6.2). He asked me to place some puts statements in the code to see which cases are being followed, but so far I haven't been able to figure out exactly where to place them so that I get useful information (and then I went out of town after that, meaning I've forgotten what I've tried so far). I have noticed that the Live Cache values are slightly wrong for me, and the In Progress value is more than double what it should be. It doesn't help that I've modified my Tivos with bufferhack, which changes the part size for the Live Cache. At one time I had modified my own info.itcl (for older versions of TWP) by hardcoding the part sizes in the module, but I no longer feel confident in doing so, especially since this software is now being frequently updated. Anyone else have any ideas about how this can be fixed? I'm going to take a look at Cheezmo's code and see if it rings any bells for me.

Edit: Cheezmo's info module works under 6.2 (doesn't crash, at least) but also doesn't show the Live Cache or In Progress information, either. I'll take a closer look at it tomorrow.

Bob

John1980
01-30-2007, 01:08 AM
192.168.2.4 - - [30/Jan/2007:02:08:06] "/screen"
DEBUG MENU: pImageCtrlM


I have cleaned up the screen module again... could you give 070130 a go and report back if it has helped at all? (it would also be handy to have the contents of /tmp/mwstate - as well as the error message and the DEBUG lines from /var/log/tivoweb.log).

elprobador
01-30-2007, 05:16 AM
Sorry i posted to the wrong forum earlier, but can anyone help me. I am using the 070111 bundle of 1.3.1 and am getting EXACTLY the same bahviour on my UK tivo.

any suggestions????? :o :confused: :confused:

Hey John
Thanks again for your help.
When I hit screen I get this
Tivo back refresh
None of the other menus come up.
I hit Tivo I get this
--cut here--
action_screen '/' 'set "move" "tivo";'
can't read "column0(nItem)": no such element in array
while executing
"set tmp $column0(nItem)"
("eval" body line 1)
invoked from within
"eval set tmp \$column$i\(nItem)"
(procedure "dumpmenu" line 10)
invoked from within
"dumpmenu $chan [strim $menus]"
(procedure "MOD::action_screen" line 95)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--

BTUxNine
01-30-2007, 05:51 AM
Sorry i posted to the wrong forum earlier, but can anyone help me. I am using the 070111 bundle of 1.3.1 and am getting EXACTLY the same bahviour on my UK tivo.

any suggestions????? :o :confused: :confused:
I'm afraid you're still in the wrong thread... this one is for people beta-testing TWP 2.0

angra
01-30-2007, 01:13 PM
I was thinking that folder association would be accessed from the NPL using the checkboxes.

I am having trouble visualizing this. I'm happy to take a shot at twiddling my code a bit to fit your ideas. Mostly I just want to throw what I've done over the wall in a way that other people can benefit from it. I could also make a module that gives psuedo-replica NPL and lets you tweak from there without having to change NPL or showing screens.

my reasoning: there are a TON of ui.itcl copies floating around, because any time someone wanted to change the NPL or Todo list or whatever, they had to hack that module.

agreed 100%. I'd even be willing to take a stab at proofing a mod to implement this idea, but it might be more hassle for you to explain what you have in mind than having someone else do it is worth :).

BTUxNine
01-30-2007, 01:48 PM
I am having trouble visualizing this. I'm happy to take a shot at twiddling my code a bit to fit your ideas. Mostly I just want to throw what I've done over the wall in a way that other people can benefit from it. I could also make a module that gives psuedo-replica NPL and lets you tweak from there without having to change NPL or showing screens.
You have your NPL up... you want to reassign some of the programs to a folder... you check the boxes for the recordings you want to move and push the "move to folder" button... that's what I was envisioning
agreed 100%. I'd even be willing to take a stab at proofing a mod to implement this idea, but it might be more hassle for you to explain what you have in mind than having someone else do it is worth :).
Yeah, I've already got a pretty good idea how I want to implement it

studog86
01-30-2007, 04:14 PM
I have cleaned up the screen module again... could you give 070130 a go and report back if it has helped at all? (it would also be handy to have the contents of /tmp/mwstate - as well as the error message and the DEBUG lines from /var/log/tivoweb.log).

I couldn't see any difference.

Here is the screen shot, mwstate, and tivoweblog
6051

6052

6053

Thanks again for your help.
Never use attachment on this forum, hopefully this works.
Matt
:D

thecrave
01-30-2007, 05:38 PM
thecrave: what shows in the log when the authentication fails?

Log excerpt

xxx.xxx.xxx.xxx - - [30/Jan/2007:21:26:59] "Requesting Authentication"
auth: b3p0aXZvOm96dGl2bw==, oztivo:oztivo
xxx.xxx.xxx.xxx - - [30/Jan/2007:21:27:04] "Authentication Failed"
xxx.xxx.xxx.xxx - - [30/Jan/2007:21:27:04] "Requesting Authentication"


But that's the right pw/username I have listed in tivoweb.cfg.


If I remove the pw/username values in the config file and restart, I'm not prompted for a password. So I know I have the right file.

Assuming it works for everyone else?

What/where's the mod_auth equivalent here?

BTUxNine
01-30-2007, 07:27 PM
Does authentication work for you locally if you set LAN_AUTH to 1?

If you modify line 467 of libs/http.itcl to read puts "auth: [string length $authdecode]-$authdecode, [string length $::userpass]-$::userpass" then do a quick reload and check the logs when you try to authenticate, that may help

Other than that, I'm afraid I'm stumped.

BTUxNine
01-30-2007, 08:43 PM
Many of you who've used TWP for a long time will have realized that upcoming showing searches aren't 100%... I think they miss about 5% of the showings

The code is a very convoluted binary search of a keyed index file, hard to debug, and slow, so I rewrote it from scratch.

Not sure if the new code is 100%, but in my testing it caught all the showings the original did, plus some extras (and did it in less than half the time, I'm proud to say)

The new code is in CVS, and should appear in the next bundle... please bang away at the search function for a bit to see if I missed anything.

Believe it or not, when I started this rewrite of TWP 5 months ago, it was because I REALLY wanted a movies module, the one I found didn't work with current TWP versions, and when I tried to work on it, TWP was so slow and unstable (rebooting the tivo regularly) that I decided to have a go at fixing the problems I saw in TWP before working on the module.

5 Months later, I'm finally within striking distance of writing that module. With all the changes to TWP, I'll be writing that from scratch, too, but since many of my improvements have had this goal in mind, it shouldn't be too bad.

Wish me luck

IcedTivo
01-30-2007, 09:52 PM
Good luck bud; it'll work out.

S1 Dtivo here

screen is workin ok now.

search:
--cut here--
action_search '' ''
invalid command name "MOD::action_search"
while executing
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--
todo:
--cut here--
action_todo '/2' ''
can't read "::description_hover": no such variable
while executing
"if { $::description_hover && $hovertext != "" } {
set hovertext [htmlEncode $hovertext]
regsub -all {\"} $hovertext {\"} hovertext
set hoverret "..."
(procedure "CreateHover" line 3)
invoked from within
"CreateHover $hovertext"
("uplevel" body line 72)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFileTrans fsid name type $path $prefix 15 {
set rec [db $db openid $fsid]
set manual 0
set suggestion 0
if {$::version >= 3} {
set recbeh [d..."
(procedure "MOD::action_todo" line 73)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"

few other things but enuff for now

John1980
01-30-2007, 10:29 PM
I couldn't see any difference.

Here is the screen shot, mwstate, and tivoweblog
6051


Your mwstate file is corrupted (it has a large block of binary zero's in the middle of it). I am guessing that your tivoapp binary has not been patched to fix an issue where two processes try to write to the file at the same time. This can be fixed (see this post (http://www.dealdatabase.com/forum/showthread.php?t=27366)) but it is a little risky unless you know what you are doing and ensure you transfer the files in binary format and that the files remain the same size after the various transfers.

studog86
01-31-2007, 01:10 AM
Your mwstate file is corrupted (it has a large block of binary zero's in the middle of it). I am guessing that your tivoapp binary has not been patched to fix an issue where two processes try to write to the file at the same time. This can be fixed (see this post (http://www.dealdatabase.com/forum/showthread.php?t=27366)) but it is a little risky unless you know what you are doing and ensure you transfer the files in binary format and that the files remain the same size after the various transfers.

fixed the mwstate problem. What exactly would you like me to do.
Run sendkey dumpstate and post mwstate after I hit a few menus:) ?

studog86
01-31-2007, 01:35 AM
Your mwstate file is corrupted (it has a large block of binary zero's in the middle of it). I am guessing that your tivoapp binary has not been patched to fix an issue where two processes try to write to the file at the same time. This can be fixed (see this post (http://www.dealdatabase.com/forum/showthread.php?t=27366)) but it is a little risky unless you know what you are doing and ensure you transfer the files in binary format and that the files remain the same size after the various transfers.

Never mind.
It works!!!
thanks again for all your help.
Matt:) :D

P.S. Is there going to be a way to view whats in the buffer (ie what the tuners are showing.)

thecrave
01-31-2007, 10:00 AM
Does authentication work for you locally if you set LAN_AUTH to 1?

If you modify line 467 of libs/http.itcl to read puts "auth: [string length $authdecode]-$authdecode, [string length $::userpass]-$::userpass" then do a quick reload and check the logs when you try to authenticate, that may help

Other than that, I'm afraid I'm stumped.

Humm...

Here's what I see in the log now --


auth: 13-oztivo:oztivo, 15-oztivo :oztivo


If the username and password are the same, it's interesting that the string length returns different values for each.

I appreciate the help. Let me know if there's anything else I should check.

***EDIT****

Duhh... There were trailing spaces in the cfg file after the values for username and password. Man do I feel dumb.

There must have been spaces after the = that I just inserted BEFORE when I added my username/pass values.

Good debug code, I appreciate the help.

John1980
01-31-2007, 03:22 PM
P.S. Is there going to be a way to view whats in the buffer (ie what the tuners are showing.)

The "screen" module should be showing the title of the show currently playing if the TiVo is on LiveTV or playing back a show... otherwise the "info" module may show what is in the buffers (I don't have a dual tuner system).

BTUxNine
01-31-2007, 05:31 PM
Humm...

Here's what I see in the log now --


auth: 13-oztivo:oztivo, 15-oztivo :oztivo


If the username and password are the same, it's interesting that the string length returns different values for each.

I appreciate the help. Let me know if there's anything else I should check.

***EDIT****

Duhh... There were trailing spaces in the cfg file after the values for username and password. Man do I feel dumb.

There must have been spaces after the = that I just inserted BEFORE when I added my username/pass values.

Good debug code, I appreciate the help.
Glad I could help. I've changed the routine that loads in the config file to prevent trailing whitespace from being an issue in the future.

Edit: as written, TWP would die horribly if tabs were used instead of spaces, so I fixed that while at it

ketjesl
02-02-2007, 06:32 PM
To get a list of recorded and to-be-recorded shows of a season pass, one can do: UI -> SPs -> click on title of one of the season passes

In the listing of "Upcoming Showings", the entries with the double-check-mark on the left have incorrect day/date/duration on the right. Pic attached.

Any thoughts?

S2 SA, 8.1-01-2-140, TWP 2.0.0 (070203)

BTUxNine
02-02-2007, 09:59 PM
not sure if this may be a new 8.1 issue... did you check tivoweb.log?
edit: yep, looks like an issue with newer s/w... I don't have access to an 8.1 box, so it may be a while before this gets addressed.

ketjesl
02-03-2007, 08:14 AM
To get a list of recorded and to-be-recorded shows of a season pass, one can do: UI -> SPs -> click on title of one of the season passes. In the listing of "Upcoming Showings", the entries with the double-check-mark on the left have incorrect day/date/duration on the right. (S2 SA, 8.1-01-2-140, TWP 2.0.0 (070203))
not sure if this may be a new 8.1 issue... did you check tivoweb.log?
edit: yep, looks like an issue with newer s/w... I don't have access to an 8.1 box, so it may be a while before this gets addressed.

tivoweb.log doesn't show anything significant:

10.0.1.201 - - [03/Feb/2007:11:52:33] "/series/407151"
loading module ui_series (1844) loaded=41316
loading module search (13436) loaded=54752

Anything I can do to help diagnose it?

beejaycee
02-03-2007, 08:43 AM
The new SEARCH is wicked fast! :eek: But on my d-TiVo HDVR2 w/6.2 it barfs on Description Keyword or Title/Description Keyword searches: INTERNAL SERVER ERROR
--cut here--
action_search '' 'set "searchby" "2";set "cat" "0";set "scat" "0";set "q" "aquarium";set "submit" "Search";'
can't open object (errDbNotFound)

while executing
"db db1 openid 3284521"
("eval" body line 1)
invoked from within
"eval db $::db openid [split $id "/"]"
(procedure "openid" line 3)
invoked from within
"openid $rec(-$o)"
("foreach" body line 8)
invoked from within
"foreach {o fields} $stuff {
set f2 {}
foreach f $fields {
if {![info exists rec($f)] && ![info exists rec(-$f)]} {lappend f2 $f}
}
if {$f2=={}} contin..."
(procedure "getRec" line 9)
invoked from within
"getRec {Program Genre} dat"
("uplevel" body line 4)
invoked from within
"uplevel $body"
("uplevel" body line 4)
invoked from within
"uplevel $body"
invoked from within
"transaction {uplevel $body}"
(procedure "RetryTransaction" line 5)
invoked from within
"RetryTransaction {
for {set nextv [min $nvals [expr $i+($bsize*$nvars)]]} {$i<$nextv} {incr i $nvars} {
foreach $vars [lrange $vals $i end] break
uple..."
(procedure "ForeachTrans" line 9)
invoked from within
"ForeachTrans fsid $fsids {
set fsid [expr 0x$fsid]
getRecInit $fsid Program dat
getRec {Program Genre} dat
if {$dat(Program)==""} continue

if {$cat !..."
(procedure "putSearchRows" line 7)
invoked from within
"putSearchRows $chan $env $fsids"
("2" arm line 5)
invoked from within
"switch -exact -- $err {
-1 { set results 0 }
-2 {
if {$w == 0} {
puts $chan $headLine[html_table_start "" "Results" ""]
}
puts $chan [tr "" [td "An er..."
(procedure "MOD::action_search" line 63)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--

BTUxNine
02-03-2007, 04:02 PM
The new SEARCH is wicked fast! :eek: But on my d-TiVo HDVR2 w/6.2 it barfs on Description Keyword or Title/Description Keyword searches:
check if the object exists, using <tivo>/object/3284521

If it does, it may be too many transactions within one call

beejaycee
02-03-2007, 07:43 PM
:confused: My apologies! I did multiple searches and several "quit & reloads" before posting. After your response, I checked if the object existed (nope) and did another search just to be certain the results were the same before I posted again. Now it is working as expected, even when searching for the same items that caused it to choke previously. I'll go away and be quiet now.

BTUxNine
02-03-2007, 07:50 PM
:confused: My apologies! I did multiple searches and several "quit & reloads" before posting. After your response, I checked if the object existed (nope) and did another search just to be certain the results were the same before I posted again. Now it is working as expected, even when searching for the same items that caused it to choke previously. I'll go away and be quiet now.
No, don't worry about it... MFS sometimes just acts up... You aren't the first to have this kind of issue, but my choices are very limited as to what I can do... I'd prefer TWP to throw an error, so we know there's something not right, rather than just catching the error and having certain things not show up.

Edit: looks like the guide data indexes aren't as reliable as I thought, so I added code to skip bad showings from a search... also fixed a bug I found (and created, for that matter) that some series/programs with no hits will return a bogus hit (this could show up in series or search screens with a single result)

luda101
02-04-2007, 03:21 PM
I gave the wishlist a try and at first it was working flawless and liked the fact i can run this module in the browser with out interupting the tv set. i remember this occured after activating rally racing in my wishlist I'm amazed how you guys can read error codes here's my error below ..

INTERNAL SERVER ERROR
--cut here--
action_wishlists '' ''
no such object: dbobj696 dbobj697
while executing
"dbobj $sp fsid"
("uplevel" body line 51)
invoked from within
"uplevel $body"
invoked from within
"ForeachMfsFileTrans fsid name type "/Theme" "" 20 {
set theme [db $db openid $fsid]
set type [defaultval 1 [dbobj $theme get ThemeType]]

set title [s..."
(procedure "MOD::action_wishlists" line 17)
invoked from within
"$cmd $p1 $p2 $p3"
(procedure "do_action" line 19)
invoked from within
"do_action $action $chan $part $env 1"
--cut here--

BTUxNine
02-04-2007, 04:10 PM
Looks like you have 2 season passes associated with a single wishlist... I doubt that's supposed to happ