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

New TivoWeb Module : Highlights

Discussion in 'TiVo Series 1 - UK' started by d33mb33, Feb 2, 2006.

  1. Feb 2, 2006 #1 of 504
    d33mb33

    d33mb33 New Member

    102
    0
    May 13, 2004
    Summary
    This module displays recommendations for the next week. Recommendations are matched to the corresponding showing in the TiVo guide data and a link is provided so it is easy to record the show.

    The current version of the module allows you to preview and record:
    - Radio Times TV recommendations
    - Radio Times Radio recommendations
    - DigiGuide TV recommendations
    - Film recommendations

    Searching the guide data can be a bit slow, so the module caches each request you make. Subsequent requests (of the same type and day) are pulled from the cache so they are faster.

    Icons next to each showing display whether you plan to record the show or have a Season Pass. If you don't plan to record the show then the module indicates whether the slot is free or not. This information is not cached so is always up to date.

    All Highlights can also be retrieved as RSS 2.0 feeds. To enable RSS you must enter the url of your TiVo on the options screen. (e.g. http://tivo or http://192.168.1.xxx). RSS feeds are selectable by day and by type and observe any filter you may have set on a page. If access to your TiVoWeb is through a username and password then your RSS reader must support basic authentication.

    Please post all comments, bugs and suggestions to this thread. I am also happy to receive bug reports through PM to save cluttering the thread with individual problems. Please feel free to make any enhancements or changes to the module. However, if you would like your changes considered for inclusion in the primary source then you will need to PM me with your source or a diff file.

    Known Issues
    I decided to use fuzzyish logic to match the programme channel and time on the RadioTimes and DigiGuide websites to the corresponding TiVo channel. This means that the module may occasionally be unable to get a channel match. Generally, I will try and fix these problems as and when they appear.

    Credits
    Special thanks to Sanderton for the “Digiguide” module and LJ for the “Whats on” module which were both used as a reference for the initial release. Additional thanks to LJ for allowing this module to call his slotfree code. Other contributors who have kindly helped with bug fixing and enhancements are recognised in the version history below and at the top of the source.

    Latest Version Info
    # 1.21 18/12/11 mikerr - digiguide scraping code
    # 1.22 20/12/11 mikerr - radiotimes scraping code
    # 1.23 22/12/11 mikerr - fix for RT code sometimes showing episode title instead of series title
    # - added search / wishlist links for unmatched programmes
    # - wishlist creation needs LJ's wishlist module
    # - tidied up the film module, repeated year (altepg)
     

    Attached Files:

  2. Feb 2, 2006 #2 of 504
    Tivo_noob

    Tivo_noob New Member

    282
    0
    Jan 28, 2006
    Any instructions how to install please, as it's the first hack i'll be installing so need as much help as i can get :)
     
  3. Feb 2, 2006 #3 of 504
    Fozzie

    Fozzie New Member

    837
    0
    Sep 3, 2001
    Alton,...
    The same as every other Tivoweb module.

    Put it in the Tivoweb modules directory (funnily enough) and restart Tivoweb ;)
     
  4. Feb 2, 2006 #4 of 504
    Raisltin Majere

    Raisltin Majere The 96 YNWA

    1,515
    0
    Mar 12, 2004
    Devon
    Wow

    Tivo_noob is this the first hack or the first tivoweb module? If it's the first module then,as Fozzie says, ftp it to your modules folder and then do a restart of tivoweb.

    If it's you're first hack then you'll need to install tivoweb (I think it's tivo.lightn.org)and then install this module
     
  5. Feb 2, 2006 #5 of 504
    Raisltin Majere

    Raisltin Majere The 96 YNWA

    1,515
    0
    Mar 12, 2004
    Devon
    this is cool
     
  6. Feb 3, 2006 #6 of 504
    Tivo_noob

    Tivo_noob New Member

    282
    0
    Jan 28, 2006
    Thanks for the advise guys, i did everthing as described and clicked on highlights in tivoweb but got an error:

    INTERNAL SERVER ERROR
    --cut here--
    action_showing '/2146939/89' ''
    can't read "genrenums": no such variable
    while executing
    "lsearch $genrenums $genre"
    ("foreach" body line 2)
    invoked from within
    "foreach genre $genres {
    set genreindex [lsearch $genrenums $genre]
    if { $genreindex != -1 } {
    if { $genrestr != "" } {
    append ..."
    ("uplevel" body line 255)
    invoked from within
    "uplevel $body"
    invoked from within
    "transaction {uplevel $body}"
    (procedure "RetryTransaction" line 5)
    invoked from within
    "RetryTransaction {
    if { [regexp {([0-9]*)/(.*)} $objectid junk fsid subobjid] } {
    set showing [db $db openidconstruction $fsid $subobjid]
    } els..."
    (procedure "::action_showing" line 47)
    invoked from within
    "::action_$action $chan $part $env"
    ("eval" body line 1)
    invoked from within
    "eval {::action_$action $chan $part $env}"
    --cut here--

    Anyone got an idea what i've done wrong? It looks like a cool module though, thanks :)
     
  7. Feb 3, 2006 #7 of 504
    d33mb33

    d33mb33 New Member

    102
    0
    May 13, 2004
  8. Feb 3, 2006 #8 of 504
    martink0646

    martink0646 New Member

    545
    0
    Feb 8, 2005
    Wisbech
    Brilliant, thankyou

    Martin
     
  9. Feb 3, 2006 #9 of 504
    mini__me

    mini__me New Member

    345
    0
    Jun 11, 2002
    Love it :)

    Great work fella :D
     
  10. Feb 3, 2006 #10 of 504
    cwaring

    cwaring VM Tivo User

    9,015
    0
    Feb 11, 2002
    Knaresboroug...
    Not the best colour scheme ever, but it does work :) Well done!
     
  11. Feb 3, 2006 #11 of 504
    Raisltin Majere

    Raisltin Majere The 96 YNWA

    1,515
    0
    Mar 12, 2004
    Devon
    Eh?

    It uses the same color scheme as every other page on tivoweb?
     
  12. Feb 3, 2006 #12 of 504
    Tivo_noob

    Tivo_noob New Member

    282
    0
    Jan 28, 2006
    Hmmm this is a pain as i really want to get this module running. I've searched the forum and downloaded the JScript and 00ui.itcl files and installed them as per instructions but still get the same error :(

    I don't want to hijack this thread but i would really appreciate a hand as the module looks to good to miss out on
     
  13. Feb 3, 2006 #13 of 504
    Retrometabolism

    Retrometabolism New Member

    1
    0
    Feb 3, 2006
    Brilliant module. I just loaded it and it works and its fantastically useful.

    Only small fault I found was that the program pictures do not appear for days 5 to 7. I'm sure this can only be a small bug fix required.

    More modules like this please.
     
  14. Feb 3, 2006 #14 of 504
    cwaring

    cwaring VM Tivo User

    9,015
    0
    Feb 11, 2002
    Knaresboroug...
    Sorry. User is an idiot :( Was thinking of another module I also installed this week :)
     
  15. Feb 3, 2006 #15 of 504
    Raisltin Majere

    Raisltin Majere The 96 YNWA

    1,515
    0
    Mar 12, 2004
    Devon

    'sokay mate. What wasthe one you where thinking of?
     
  16. Feb 3, 2006 #16 of 504
    6022tivo

    6022tivo A Happy Member

    2,061
    1
    Oct 29, 2002
    North West, UK
    Really clever.

    Thanks for your efforts, will use.
     
  17. Feb 3, 2006 #17 of 504
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Top stuff.

    You know, what we really need is one of these collaborative systems like digg, but for TV shows, so we can spot things that are coming up. Suggstions don't really do it. With over a million PVR users now, there might even be a market for it!
     
  18. Feb 3, 2006 #18 of 504
    Fozzie

    Fozzie New Member

    837
    0
    Sep 3, 2001
    Alton,...
    Excellent module. Good work :)
     
  19. Feb 3, 2006 #19 of 504
    cwaring

    cwaring VM Tivo User

    9,015
    0
    Feb 11, 2002
    Knaresboroug...
    This one that was also mentioned this week. Thing is, I can't find the thread now :)
     
  20. Feb 3, 2006 #20 of 504
    ...coolstream

    ...coolstream New Member

    268
    0
    Dec 9, 2005
    SCOTLAND
    First of all, excellent module!
    I too find that the pictures only show on the first few days, but then again, it's the info that is more important. So no big problem there!

    To the author, I know that if you look at the available days selector, the day you are on is highlighted, but would it be possible for the day to be highlighted in a different color ( I am using blackbooks scheme so not really sure if other schemes show this module diffrently)

    To Tivo_noob, you aren't hogging the thread at all. In fact, your questions and the answers that have been posted here have helped me solve a problem I have had ever since I reinstalled Tivoweb. i.e. I also got the error messages that you have received.

    The reply with the link to the fix has helped me. Now perhaps I can help you too!
    You say that you FTPd the two files to the Tivo. When I did this, the problem persisted, so I did another full restart of Tivoweb and now the errors are gone!

    I hope this helps you, and once again thanks to the author and to all those here that are so keen to help others less versed with Linux and Tivo :up:
     

Share This Page