1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

New TiVoWeb Module: New Episodes

Discussion in 'TiVo Series 1 - UK' started by sanderton, Nov 16, 2003.

  1. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    I'm happy with how it works no, so I'm not going to make any changes, sorry!

    There are many TCL guides out there, but the best all in one package is a book - Jeff Keegan's Hacking Tivo.
     
  2. gyre

    gyre Wookie

    382
    0
    Nov 22, 2003
    Bristol, UK
    Rather than ordering from amazon.com in the US... anybody know of a UK reseller of this book?

    Thanks!

    -- gyre --
     
  3. LJ

    LJ New Member

    786
    0
    Nov 11, 2001
    West...
    Here's a version of 0.2 that only shows new episodes from 7pm until the end of the day. It also sorts the daily list into channel number order and adds a tooltip of the programme description to the episode link. All the procedure names are different to the original so you can happily run both at the same time. Enjoy. :)
     

    Attached Files:

  4. threadkiller

    threadkiller Dark side Nrth Devon

    523
    0
    Dec 12, 2002
    LJ Tried your module, but if I use the channel listing, any of the channels in the right hand column bring up a page not found message :( left column is fine tho :)
     
  5. LJ

    LJ New Member

    786
    0
    Nov 11, 2001
    West...
    Well spotted ! New version in the post above.
     
  6. Fozzie

    Fozzie New Member

    837
    0
    Sep 3, 2001
    Alton,...
    Looks good :)

    One thing LJ - when finding episodes by date, the channels are sorted slightly out of sequence. Reading from top to bottom displays the 3 digit channels, then the two digit channels then the single digit channels. Each group is sorted numerically ascending though.
     
  7. LJ

    LJ New Member

    786
    0
    Nov 11, 2001
    West...
    Err, yeah, I almost got the maths right :p Try the latest one and see if that's better...

    My excuse is I've only got 3 digit channels to test on :D
     
  8. Fozzie

    Fozzie New Member

    837
    0
    Sep 3, 2001
    Alton,...
    hmm - still the same. File timestamp is 1738?
     
  9. LJ

    LJ New Member

    786
    0
    Nov 11, 2001
    West...
    Oops, forgot to update the zip before posting it! Time for more tea!
     
  10. Fozzie

    Fozzie New Member

    837
    0
    Sep 3, 2001
    Alton,...
    That's got it :) (Just finished my tea and toasted tea cake as it happens!)
     
  11. Snoopy

    Snoopy New Member

    80
    0
    Jan 8, 2003
    Waco
    The error is just here for reference. I either got this error (trying different ui.itcl files that were not necessary), or I got a reboot. See note below as this is now fixed!

    INTERNAL SERVER ERROR
    --cut here--
    action_channelgrid '' 'set "whichChannel" "3521";'
    can't open object (0x30007)

    while executing
    "db $db openid $programfsid"
    ("uplevel" body line 10)
    invoked from within
    "uplevel $body"
    invoked from within
    "transaction {uplevel $body}"
    (procedure "RetryTransaction" line 5)
    invoked from within
    "RetryTransaction {
    for { } { $y < $last } { incr y } {

    set sl [lindex $scheduleList $y]

    set constprogramfsid [lind..."
    (procedure "::action_channelgrid" line 148)
    invoked from within
    "::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
    "eval {::action_$action $chan $part $env}"
    --cut hereĀ—


    AHHA -- FIXED! FINALLY ... I hope ;)

    BOTTOM LINE: Nothing else is required besides the newepisodes.itcl file.

    Here is WHERE I WENT WRONG
    1) The message and/or reboot prpoblem has nothing to do with a newer copy of ui.itcl so far as I can tell, even though changing it may cause the message or reboot to surface. Use the ui.itcl that comes with TWP.

    2) I removed the wishlist stuff entirely to avoid some conflicts, the specifics of which were unknown at the time, so that still needs to be ironed out. I expect getting it working again should be easy from this stage.

    3) Remove the ukgenres.js script and Walla. (ukgenres.js will cause problems if you aren't in the UK -- This was an oversight on my part that caused me major headaches. I believe it comes with the wishslists module and maybe some other things so be aware of it). At least if you are in the US, ukgenres.js doesn't need to be there.
     
  12. mdolton

    mdolton New Member

    4
    0
    Nov 14, 2004
    Haven't seen this mentioned yet, but this module doesn't work if your channel lineup includes digital channels (ie 10.1, 10.2, etc). The error it returns is:

    INTERNAL SERVER ERROR
    --cut here--
    action_showcir '' ''
    expected integer but got "40.1"
    while executing
    "lsort -integer [array names channeltablenum]"
    (procedure "getchannelsir" line 10)
    invoked from within
    "getchannelsir"
    (procedure "::action_showcir" line 4)
    invoked from within
    "::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
    "eval {::action_$action $chan $part $env}"
    --cut here--
     
  13. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Sorry, what are these "Digital Channels"?
     
  14. mdolton

    mdolton New Member

    4
    0
    Nov 14, 2004
    Sorry, "digital channels" is a bit vague. What I'm reffering to are digital broadcast channels (ATSC in the US). For example, where channel 40 is the old analog NTSC broadcast channel, 40.1 (and perhaps 40.2, 40.3,....) is the new digital ATSC broadcast channel. I'm not even sure why they show up, as directv doesn't offer digital locals in my area, but they're there and it looks like that's what the module is choking on.
     
  15. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Sorry, we don't have such things here, so I can't easily see what the problem is or how to fix it.

    I guess you could try removing the -integer parameter fron the lsort command listed in the error message?
     
  16. doubledrat

    doubledrat should know better

    208
    0
    Aug 24, 2001
    Attleborough...
    stuart: good mod!

    a couple of suggestions for a FMR ;)

    have it able to restrict to a time window. e.g. > 1800 < 0400 ? so we could get rid of all the daytime stuff

    what I would REALLY like it to tell me is when there's something completely new on i.e. the first of a new series, or a one off never shown before. not knowing what is in the db I don't know if this is possible or not? where did you get your info on what's in the db?
     
  17. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    The time windowed version has already been written by LJ.

    You clould modify the code to only show episode 1s, but I'm not sure how reliably that would work.

    Code's there for anyone to modify. :)
     
  18. doubledrat

    doubledrat should know better

    208
    0
    Aug 24, 2001
    Attleborough...
    stuart: I'll give it a shot, but I need some info on getting data from the db. is there an online resource at all?
     
  19. mdolton

    mdolton New Member

    4
    0
    Nov 14, 2004
    Yup, getting rid of -integer from the lsort command on line 21 fixed the problem. Thanks!
     
  20. sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    You're reading it. :)

    This, and the Db of Deals is all there is!

    Ypu can figure most of it out with the MFS browser in TW, looking at existing code, and guessing!
     

Share This Page