tivoweb module - schedule

Discussion in 'TiVo Underground' started by dlowe, Jan 10, 2003.

  1. Fofer

    Fofer Bo55man69

    93,590
    4,793
    Oct 29, 2000

    Advertisements

    It's working for me (for the most part) on a Series 1 Phillips DirecTiVo running TiVoWebPlus 1.0. It seems that dual tuners screws it up a bit. Is it supposed to be able to handle dual recordings? Not all are shown, and the final column (Sunday) pushes the out to the right.

    And when I select "What Else is On" I get this:

    (Note this happens on *most,* but not all "What Else is On" links.)

    I do, however have the "What's On" module loaded and it's been working fine separately.

    Thanks for the great work on a cool looking module!
     
  2. LJ

    LJ New Member

    786
    0
    Nov 11, 2001
    West...
    Code:
    set "wotimetz" "08";set "submit" "Search";'
    syntax error in expression "1082253600 + (08 * 3600) - -25200"
                                              ^^
    There's the problem. TCL is very picky about what it considers numeric. The leading '0' is upsetting it. You either need a new version of Schedule that removes leading zeros or a new version of What's On that does the same...

    Have a look right at the top of whatson.itcl and search for the line:
    Code:
    	eval $eenv
    and add this line after it:
    Code:
    	set wotimetz [expr int($wotimetz)]
     
  3. Fofer

    Fofer Bo55man69

    93,590
    4,793
    Oct 29, 2000
    Thanks LJ. I made that change to whatson.itcl and sure enough that has resolved the problem.

    I really like this "schedule" grid view as it makes it a lot easier to see how the week's recordings will play out.

    As I mentioned earlier, it doesn't seem to deal with recordings on dual-tuners at all - it simply lists one of the two scheduled recordings and ignores the other one. I'm not sure if this module is still being actively developed, but if it is, it would be nice if there were some indication of the second recording, perhaps a split block during that time slot, or perhaps just an asterisk indicating a dual recording. (And clicking on the corner menu could bring up the 2nd shows' details?)

    Also I notice that in the "empty" column past Sunday, that certain shows are showing up that seem to be out of place.

    Finally, I'd love to see each show's description also pop-up (in little yellow rectangle) on the mouse over, just like they do in TiVoWebPlus' "now showing" page... that feature would make it much easier to see what a show will be about and whether or not to cancel it, without having to click, and go back and forth.

    This module is great, dlowe... for a first effort it's phenomenal! :cool:
     
  4. Fofer

    Fofer Bo55man69

    93,590
    4,793
    Oct 29, 2000
    Oops, spoke to soon. It doesn't produce that error anymore, but it's also not searching properly. When I select "what else is on" the resulting URL is something like this:

    Code:
    http://mytivoip/whatson?chnsel=3&wodatetz=1081562400&wotimetz=18&submit=Search
    ...and the search page indicates that it's searching for shows on Thursday, April 1 (no matter what the day is from an episode I'm clicking.) It always defaults back to Thursday, April Fools. (how appropriate ;)) And since that day is in the past, the search comes up empty. If I change the date in the pull-down meny and search again, it works fine.

    Any hints? As always, much appreciated.
     
  5. LJ

    LJ New Member

    786
    0
    Nov 11, 2001
    West...

    Advertisements

    It's a time zone problem. What's On expects wodatetz to be a multiple of 86400 (number of seconds in a day) and does daft things if it's not. Not sure why I programmed it that way - the day number would've made more sense :p Which version of Schedule are you running?
     
  6. Fofer

    Fofer Bo55man69

    93,590
    4,793
    Oct 29, 2000
    v0.0.3 [Alpha]
    Is there a newer one?
     
  7. wiggina

    wiggina New Member

    1
    0
    Dec 26, 2003
    I just tried your cool code and ran across this -- any tips / ideas?

    Thanks in advance!!

    --cut here--
    action_whatson '' 'set "chnsel" "2";set "wodatetz" "1082851200";set "wotimetz" "14";set "starting" "1";set "submit" "Search";'
    can't read "::version3": no such variable
    while executing
    "if {$::version3} {
    set recbeh [dbobj $rec get RecordingBehavior]
    set seltype [dbobj $recbeh get PresentationBehavior]
    if {$seltyp..."
    ("foreach" body line 99)
    invoked from within
    "foreach showingfsid [lrange $showings $x [expr $x+19]] {
    regexp {([0-9]*)/(.*)} $showingfsid junk showingobjid subobjid
    set showing [db $db op..."
    ("uplevel" body line 2)
    invoked from within
    "uplevel $body"
    invoked from within
    "transaction {uplevel $body}"
    (procedure "RetryTransaction" line 5)
    invoked from within
    "RetryTransaction {
    foreach showingfsid [lrange $showings $x [expr $x+19]] {
    regexp {([0-9]*)/(.*)} $showingfsid junk showingobjid subobjid
    ..."
    (procedure "do_wochandata" line 17)
    invoked from within
    "do_wochandata $chan $fsid $minseconds $maxseconds $channum $callsign $stationfsid $starting $currenthour"
    ("uplevel" body line 2)
    invoked from within
    "uplevel $body"
    invoked from within
    "ForeachMfsFile fsid name type "/Schedule" "$stationfsid:$chkdate" {
    if {[catch [do_wochandata $chan $fsid $minseconds $maxseconds $channum $calls..."
    (procedure "::action_whatson" line 170)
    invoked from within
    "::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
    "eval {::action_$action $chan $part $env}"
    --cut here--
     
  8. LJ

    LJ New Member

    786
    0
    Nov 11, 2001
    West...
    Err, not sure - both TiVoWeb and TiVoWebPlus have the "version3" variable. Which version of TW/TWP are you running?
     
  9. bmckim

    bmckim New Member

    1
    0
    Jun 27, 2004
    I am using schedule.itcl on an S1 TiVo and receive this message...

    INTERNAL SERVER ERROR
    --cut here--
    action_schedule '/' ''
    no such object:
    while executing
    "dbobj $series fsid"
    ("uplevel" body line 12)
    invoked from within
    "uplevel $body"
    invoked from within
    "ForeachMfsFileTrans fsid name type $nowshowingdir "" 15 {
    set rec [db $db openid $fsid]

    set showing [dbobj $rec get S..."
    (procedure "::action_schedule" line 150)
    invoked from within
    "::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
    "eval {::action_$action $chan $part $env}"
    --cut here--


    Any clues what might be wrong?

    bmckim@usa.com
     
  10. BrianJonesUK

    BrianJonesUK New Member

    9
    0
    Nov 9, 2001
    Sheerness,...
    Exactly the same internal server error as bmckim on 2 seperate S1 UK TiVos. Any ideas?
     
  11. ikishk

    ikishk New Member

    7
    0
    Apr 27, 2003
    Austin, TX
    Great module, but I've found some problems :(

    Using a dual tuner s2, I've found that 2 shows with abnormal start/stop times are not displayed properly. You get odd spillover as well as incorrect box length. When you use technophobe2, you can see the spillover better because of the shading.
     

    Attached Files:

  12. Fofer

    Fofer Bo55man69

    93,590
    4,793
    Oct 29, 2000
    I am now getting exactly the same internal server error as bmckim and BrianJonesUK, on one of my Series 2 DirecTiVo's. (see below) Oddly enough it used to work fine, and I haven't changed anything recently.

    Schedule.itcl continues to work fine on my second (identically hacked) Series 2 DirecTiVo as well.

    The only difference between the two units is the number of season passes... unit #1 has 50 SP's and unit #2 only has a couple. Could that have something to do with it?


     
  13. SeanC

    SeanC ECT

    9,691
    21
    Dec 30, 2003
    Someplace
    Same error here on a S1 SA tivo.
     
  14. gart

    gart New Member

    4
    0
    Jan 11, 2002
    I can also add an error report

    SA Tivo v3
    47 Season Passes

    --Pat

    INTERNAL SERVER ERROR
    --cut here--
    action_schedule '/' ''
    no such object:
    while executing
    "dbobj $series fsid"
    ("uplevel" body line 12)
    invoked from within
    "uplevel $body"
    invoked from within
    "ForeachMfsFileTrans fsid name type $nowshowingdir "" 15 {
    set rec [db $db openid $fsid]

    set showing [dbobj $rec get S..."
    (procedure "::action_schedule" line 150)
    invoked from within
    "::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
    "eval {::action_$action $chan $part $env}"
    --cut here--
     
  15. Milhouse

    Milhouse Member

    981
    0
    Sep 15, 2001
    South...
    Looks like this module is no longer supported by the original author (dlowe - last post 21 Jan 2003) :(

    Anyone else fancy stepping up to the plate? :)
     
  16. robr

    robr Member

    96
    4
    Jan 29, 2002
    too bad, i just discovered this module today, installed it and ran into the same problems as many others. im running
    TivoWebPlus Project - v1.1-pre2
     
  17. crow

    crow Ub3r Techno Geek

    425
    0
    Jun 23, 2004
    TN, USA
    I get this on my SA S2, the module works fine on my other TiVos.

    --cut here--
    action_schedule '/' ''
    can't open object (0x30007)

    while executing
    "db $db openid $fsid"
    ("uplevel" body line 2)
    invoked from within
    "uplevel $body"
    invoked from within
    "ForeachMfsFileTrans fsid name type $nowshowingdir "" 15 {
    set rec [db $db openid $fsid]

    set showing [dbobj $rec get S..."
    (procedure "::action_schedule" line 150)
    invoked from within
    "::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
    "eval {::action_$action $chan $part $env}"
    --cut here--
     
  18. LJ

    LJ New Member

    786
    0
    Nov 11, 2001
    West...
    It's saying it can't open the database. Try restarting TiVoWeb(Plus) or rebooting the TiVo.
     
  19. veritech

    veritech New Member

    7
    0
    Dec 31, 2004
    Excellent addtional to TiVo web
     
  20. Throg

    Throg Experimental Member

    55
    0
    Feb 14, 2003
    USA
    I can't get past this:
    This is on a S2SA running 4.0.1b with Tivowebplus 1.1-pre2. I have the latest version of whatson.itcl. What else can I do? I have rebooted the TiVo and restarted tivoweb each time (obviously). But I've also tried just reloading tivoweb also.
     

Share This Page

spam firewall

Advertisements