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

A what's on grid view

Discussion in 'TiVo Underground' started by offthefront, Jan 29, 2003.

  1. chrisd

    chrisd London, England

    1,239
    0
    Oct 24, 2003
    London
    Just discovered this module, and it's great.. been looking for something like this for a while, nice one Johala.

    A couple of tweaks if they are possible... can the channel numbers be shown by each channel name; and can an option to remove the thumbs icons from the grid be integrated?
     
  2. EvilBoB

    EvilBoB New Member

    27
    0
    Nov 6, 2002
    St Albans
    Awesome script. THANK YOU!!!!

    I'm running on a UK S1 btw
     
  3. madcow555

    madcow555 New Member

    2
    0
    Mar 8, 2005
    Fantastic module... one problem however with the grid1v01... when I select the program title i get the error below. If I select the time it displays details correctly.

    INTERNAL SERVER ERROR
    --cut here--
    action_series '/16061' ''
    Error couldn't find starting offset in program key
    while executing
    "error "Error couldn't find starting offset in program key""
    (procedure "get_programshowings" line 56)
    invoked from within
    "get_programshowings $objectid $watch"
    (procedure "::action_series" line 59)
    invoked from within
    "::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
    "eval {::action_$action $chan $part $env}"
    --cut here--
     
  4. johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    Here is the lint.itcl module for you to try. I notice from this thread that someone else had the same problem as you. Let me know how it goes.
     

    Attached Files:

    • lint.zip
      File size:
      481 bytes
      Views:
      22
  5. johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    I should think so.

    You also need to thank the original poster who came up with the initial version. I just added a few enhancements.
     
  6. johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK

    At first glance this would seem to be a hiccup in the action_series module which gets called by Grid when you click on a title which is part of a series. This module is part of tivoweb. Which version of tivoweb are you running?
     
  7. johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    Here is the chans.itcl TivoWeb module for you to run.
    Can you PM me the output?
    Cheers.
     

    Attached Files:

  8. johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    Version 1.02 of Grid which offers the following extras:

    1) Hopefully fixed the "expected integer but got" problem some users had.

    2) Channel numbers also displayed with channel names.
     

    Attached Files:

  9. ekuns

    ekuns New Member

    10
    0
    Oct 10, 2005
    Chicagoland
    I modified this wonderful util so you can click on the thumbs to go directly to the page where you can edit the thumb values. Also included here is the change from LJ from last Feb, changing

    lsort -integer [array names channelmap]

    to read:

    lsort -real [array names channelmap]

    The change I made is below as a "diff -u" output (I hope I got the order correct)

    --- grid_1v02.itcl 2005-09-29 22:43:26.000000000 -0500
    +++ grid_eddieschange.itcl 2005-11-05 10:14:50.000000000 -0600
    @@ -202,7 +202,7 @@
    set chanstation [expr {$channel * 1000000 + $stationfsid}]
    set channelmap($chanstation) $stationfsid
    }
    - foreach chanstation [lsort -integer [array names channelmap]] {
    + foreach chanstation [lsort -real [array names channelmap]] {
    set stationfsid $channelmap($chanstation)
    set data $channeltablestation($stationfsid)
    set channum [lindex $data 0]
    @@ -295,9 +295,11 @@
    set partcount [dbobj $showing get PartCount]
    set series [dbobj $program get Series]
    set seriesfsid ""
    + set thumblink ""
    if { $series != "" } {
    set seriesfsid [dbobj $series fsid]
    set episodic [defaultval 1 [dbobj $series get Episodic]]
    + set thumblink "/thumbs/$seriesfsid"
    } else {
    set episodic 1
    }
    @@ -414,7 +416,11 @@
    set imagenumt [get_thumbimage $score]
    if { $imagenumt >= 0} {
    set imagef [lindex $images $imagenumt]
    - set thumbs [img "align=absmiddle alt=\"\"" $imagef]
    + if { $thumblink != "" } {
    + set thumbs [html_link "$thumblink" [img "align=absmiddle alt=\"\"" $imagef]]
    + } else {
    + set thumbs [img "align=absmiddle alt=\"\"" $imagef]
    + }
    }
    }
    }
     
  10. johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    Incorporated ekuns thumbs modification (and the -real change) along with some cosmetic changes. Thumbs feature doesn't seem to work with tivoweb 1.9.4 though. Maybe it's a tivoweb plus thing?
     

    Attached Files:

  11. johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    New feature added (while I was in a TCL kind of mood):

    Can now select the epg time as well as the date (eg show programmes on 01-Dec-05 from 13:00 for 4 hours). Also nice 'current time' indicator on the time bar. The current time slot shows up yellow. This uses javascript and has been tested on Windows IE and Firefox. Should be no trouble on Netscape 6 either. Let me know if other browsers have problems.
     

    Attached Files:

  12. LJ

    LJ New Member

    786
    0
    Nov 11, 2001
    West...
  13. ekuns

    ekuns New Member

    10
    0
    Oct 10, 2005
    Chicagoland
    Yes, all I did was modify the code so that it added a link to where one could modify the thumbs value. That way, one could go directly from the grid view to modify the thumbs for a given show, rather than having to go first to the series page.

    As a side note, I find that I don't need to copy any of the images. Is TW missing any of the images needed? With TWP, I don't think I need any of the images from the ZIP file.
     
  14. big_dirk

    big_dirk uktivo.blogspot.com

    217
    0
    Feb 17, 2006
    I'm using Whats on Grid, and I love it. It makes it far easier to see programs. My thanks go to the developers for this!

    One thing I'd say is that the icons are quite large which means that the vertical spacings on the grid are a bit uneven.

    Still - cracking stuff just thought I'd say thanks very much for this TiVoweb addition!
     
  15. johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    Are you using the small icons that came in the ZIP file? If not, it will use the standard Tivoweb ones which are a bit large hence the smaller versions. If these are still too big, you can make your own at whatever size you like.

    The thing that makes the vertical spacings uneven is the text wrapping within the various table cells. If you get a long programme name in a short timeslot it will wrap and cause the vertical spacing to grow for that channel. The other alternative is to truncate the programme names to keep the vertical spacing constant.
     
  16. big_dirk

    big_dirk uktivo.blogspot.com

    217
    0
    Feb 17, 2006
    Hi,

    thanks for the reply Johala, I am using the standard Tivoweb icons - so i'll change those.

    I have a problem with my Grid at the moment though which I wonder if you could possibly help with please? I re ran guided setup the other day, and since I did it, no channels display on my Grid, I just get this . have you any idea why please?
     
  17. LJ

    LJ New Member

    786
    0
    Nov 11, 2001
    West...
    I'd guess it's one of two things - either you've not got any channels marked as "Channels I watch" since the channel move or TiVoWeb needs a quit and restart to pick up the new channels.
     
  18. big_dirk

    big_dirk uktivo.blogspot.com

    217
    0
    Feb 17, 2006
    How do I mark channels as "channels I watch" I couldnt find the menu option for it anywhere, also - could I set that via TiVoweb?
     
  19. johala_reewi

    johala_reewi New Member

    865
    0
    Oct 30, 2002
    Southampton UK
    After running the guided setup on your tivo, did you go into the 'channels i receive' bit and do that? These are what the grid calls 'channels watched'. Having set the channels you receive, you will need to restart Tivoweb to pick the changes up. Grid should then display some data.
     
  20. big_dirk

    big_dirk uktivo.blogspot.com

    217
    0
    Feb 17, 2006
    hi johala_reewi, thanks for that - I did put the channels there yes, did a quick restart no joy, did a full restart and it worked well.
     

Share This Page