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

Suggs: hack to create suggestions

Discussion in 'TiVo Series 1 - UK' started by mikerr, Sep 11, 2008.

  1. Sep 11, 2008 #1 of 259
    mikerr

    mikerr TiVoCentral.co.uk

    2,598
    0
    Jun 2, 2005
    Up North
    Suggs: the new suggestion engine ! V 1.04
    a hack to recreate suggestions.

    This hack will run in the background and set suggestions every 30 minutes.

    Basically looks at the schedule of the current tv channels,
    and tries to record some of the upcoming programmes as suggestions

    The threshold for choosing programmes can be set:
    default is neutral ( i.e. record all except thumb-downed shows)
    This default option good for generating lots of suggestions
    To run this way:

    ./suggs.tcl

    To record only those with 1 thumb up or more:

    ./suggs.tcl -threshold 127

    To record those with "predicted relevance":

    ./suggs.tcl -threshold 1

    this last example is closest to how tivo suggestions worked.


    they will show up in tivoweb scheduled suggestions
    (http://tivo/ui/suggestions )
    but not in the tivo GUI suggestions menu.

    To show scheduled suggestions on the tivo GUI todo list,
    navigate to the todo list on your tivo, and press:
    Thumbs Down, Thumbs Down, Thumbs Up, Instant Replay


    Being suggestions, they never interfere with your season passes or wishlists.

    - Doesn't record duplicate suggestions,
    - Won't record a show as a suggestion if it is present in now playing
    ( e.g. use suggs.tcl -daysback 28 if you don't want another episode for 28 days)
    - Gives priority to thumbed shows, but also has predicted thumbs
    - Predicted thumbs based on genres
    - By default only schedules one day ahead, use "-days 2" to schedule 2 days ahead
    -
    - Shares the blocklist.txt and blockgenres.txt from global blocklists
    (E.g. block all football programmes from being recorded as suggestions by putting "Football" in blockgenres.txt , or "Children", "News" etc one per line)
    - Takes account of padding

    # 1.04 Some duplicate checking code
    # 1.03 No stuttering!
    # 1.02 - only processes channel guide data once per day
    #
    # 1.01 Uses tivo's database of genre thumbs
     

    Attached Files:

  2. Sep 29, 2008 #2 of 259
    a_tivo_noob

    a_tivo_noob New Member

    213
    0
    Jan 1, 2004
    is anyone else using this other than mikerr? sounds like just what we need now!

    quick (stupid) question mikerr, but the txt file accompanying it states
    - does it not change channel then or am i reading it wrong
     
  3. Sep 29, 2008 #3 of 259
    mikerr

    mikerr TiVoCentral.co.uk

    2,598
    0
    Jun 2, 2005
    Up North
    It was originally a 10 minute hack to help out when suggestions were flaky,
    but now as it is the only way of getting suggestions I'll spend some time on it,

    and also include it with preconfigured drives :D

    Not in the current version, no.

    Basic operation is as follows:

    It looks a few hours ahead into the tv guide for the current channel,
    if any programme has a thumbs up it will record it as a suggestion.

    Version 0.3 will look across all channels and pick from there.
     
  4. Sep 29, 2008 #4 of 259
    a_tivo_noob

    a_tivo_noob New Member

    213
    0
    Jan 1, 2004
    nice one - thx for clarification and keep up the good work - any ideas on when a v0.3 release will be (if its in the next week or two i'll hold off v0.2) :)
     
  5. Sep 29, 2008 #5 of 259
    andonevris

    andonevris New Member

    22
    0
    Oct 23, 2001
    London, ,...
    The fate of my tivo rests in your hands mikerr, if I can't get suggestions working again to a reasonable level I'll be jumping ship, I hope you can pull it off.

    Looking forward to your 0.3 release

    :up:
     
  6. Sep 29, 2008 #6 of 259
    Mike Rogers

    Mike Rogers New Member

    10
    0
    Mar 13, 2002
    mikerr you're a star.

    Many thanks for this!
     
  7. Sep 30, 2008 #7 of 259
    kitschcamp

    kitschcamp Tweaked and poked

    1,845
    0
    May 18, 2001
    Adelaide,...
    Any chance of making it so the script will only check and add suggestions if it isn't currently recording a program? With tivoweb, endpad and irblast and this at the same time you get "stuttering" whilst it is processing.
     
  8. Sep 30, 2008 #8 of 259
    mikerr

    mikerr TiVoCentral.co.uk

    2,598
    0
    Jun 2, 2005
    Up North
    The stutter is probably on first access to the database, common to many hacks:
    Code:
    set db [dbopen]
    It doesn't stutter after the first few seconds does it?
     
  9. Sep 30, 2008 #9 of 259
    kitschcamp

    kitschcamp Tweaked and poked

    1,845
    0
    May 18, 2001
    Adelaide,...
    His nibbs at home has been complaining of TiVo having a stammer today, so it looks like it is at times. I've put it down to too many hacks, and this was the last one I added.
     
  10. Sep 30, 2008 #10 of 259
    TCM2007

    TCM2007 New Member

    3,947
    0
    Dec 25, 2006
    Why every 30 mins? Wouldn't once a day be enough with this way of working?
     
  11. Sep 30, 2008 #11 of 259
    mikerr

    mikerr TiVoCentral.co.uk

    2,598
    0
    Jun 2, 2005
    Up North
    I've found they get removed from the todo list after a while,
    even if there is nothing else scheduled at that time.

    I should probably be sending a todolist-changed signal, but can't find it.:confused:
    [edit] Oh.. might have found it:
    Code:
    event send $TmkEvent::EVT_DATA_CHANGED $TmkDataChanged::SCHEDULE 0
     
  12. Sep 30, 2008 #12 of 259
    ColinYounger

    ColinYounger It wasn't me.

    1,381
    0
    Aug 9, 2006
    Southsea,...
    I tried that event before when trying to fix the restore thumbs problem, but it didn't affect the scheduling process.
     
  13. Sep 30, 2008 #13 of 259
    ColinYounger

    ColinYounger It wasn't me.

    1,381
    0
    Aug 9, 2006
    Southsea,...
  14. Sep 30, 2008 #14 of 259
    kitschcamp

    kitschcamp Tweaked and poked

    1,845
    0
    May 18, 2001
    Adelaide,...
    Ah, I did wonder - I did notice one appear then disappear earlier today.
     
  15. Oct 1, 2008 #15 of 259
    kitschcamp

    kitschcamp Tweaked and poked

    1,845
    0
    May 18, 2001
    Adelaide,...
    I was at home last night, and yes, every thirty minutes, regular as clockwork.
     
  16. Oct 1, 2008 #16 of 259
    mikerr

    mikerr TiVoCentral.co.uk

    2,598
    0
    Jun 2, 2005
    Up North
    Ah thanks, noted.
     
  17. Oct 1, 2008 #17 of 259
    kitschcamp

    kitschcamp Tweaked and poked

    1,845
    0
    May 18, 2001
    Adelaide,...
    I've turned off irblast today to see if it's just a simple case of too many things at once running. I'll soon know if it's ok ;)
     
  18. Oct 1, 2008 #18 of 259
    6022tivo

    6022tivo A Happy Member

    2,061
    1
    Oct 29, 2002
    North West, UK
    Just a quickie on this, so does it add "suggestions" and do they get recorded as the little tivo icon next to them (Not blank, Yellow, Green DOT?)

    Do they go to the bottom of the list and not get in the way of "proper" recordings???

    If so.... This is ace..
     
  19. Oct 1, 2008 #19 of 259
    mikerr

    mikerr TiVoCentral.co.uk

    2,598
    0
    Jun 2, 2005
    Up North
    Yes to all the above. They appear at the bottom as a suggestion, and doesn't interfere with other recordings. Tivo actually is recording it as normal suggestion.

    Indistinguishable from the "real thing" apart from:

    1) Pending suggestions don't appear in the TV tivo suggestions menu
    (you have to use tivoweb (http://tivo/ui/suggestions) to see the todo list)

    2) At present only records on the current channel, but this is just in testing.
     
  20. Oct 1, 2008 #20 of 259
    Pugwash

    Pugwash New Member

    346
    0
    May 23, 2003
    Spalding'ish
    mikerr, you've clearly done something TiVo have been unable to do (for whatever reason). I'm sure if you can get this working across all channels many people would shake your hand.
     

Share This Page