Suggs: hack to create suggestions

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

  1. Rob Randall

    Rob Randall New Member

    103
    0
    Nov 28, 2002
    Coventry, UK

    Advertisements

    You can see scheduled suggestions in the regular TiVo ToDo list by using a BackDoor code.

    Enable BackDoors by following instructions here.

    Then press the following whilst in the ToDo List -

    Thumbs Down, Thumbs Down, Thumbs Up, Instant Replay
     
  2. Richard42

    Richard42 New Member

    60
    0
    Dec 27, 2000
    Oxford,Oxfor...
    Thanks for that Rob. I've set the Backdoor, entered that code and get 3 dings, but can't see any suggestions in the list - maybe there aren't any at the moment - I'll try again later
     
  3. Rob Randall

    Rob Randall New Member

    103
    0
    Nov 28, 2002
    Coventry, UK
    TiVo removes the suggs-generated suggestions from the scheduled list every so often and suggs tries to put them back every 30 minutes. So sometimes the scheduled suggestions list is blank, even in TiVoWeb. Nothing to worry about :)
     
  4. Tim L

    Tim L New Member

    151
    0
    Jan 5, 2002
    London, UK
    I've been running suggs with threshold 0 for the past couple of days for the sheer hell of it, and have noticed that the suggestions it creates override the endpad-added start padding on scheduled recordings. Is this expected behaviour? I can't remember how endpad behaved with normal suggestions.
     
  5. Rob Randall

    Rob Randall New Member

    103
    0
    Nov 28, 2002
    Coventry, UK

    Advertisements

    I think suggs just looks at the guide data start and end times for each entry in the ToDo list. It doesn't know about Endpad soft-padding as that only gets added a few minutes before it needs to.

    If you have hard-padding defined in a Season Pass or WishList, then suggs ignores that too.

    I don't know how difficult it would be to modify suggs to cope with this, but I suspect it's not trivial.
     
  6. TCM2007

    TCM2007 New Member

    3,947
    0
    Dec 25, 2006
    The hard padding bit is easy; EndPad less so, but EndPad is quite happy cancelling suggestions to add padding if its parameters are set that way so it shouldn't be needed.
     
  7. Tim L

    Tim L New Member

    151
    0
    Jan 5, 2002
    London, UK
    Actually, I'm not sure this is anything to do with suggs. ISTR the same thing happening before. I have the BBC news set to record from 9.00-9.30 every morning, with endpad adding 2 mins to the start and 5 mins to the end. What's happening is that sometime the 2 mins start padding isn't recorded. There's nothing being recorded beforehand that should get in the way. Weirder yet is that endpad's log claimes to have applied the padding:

    Friday 07:45:00 : Woken up
    Friday 07:45:00 : Deleting suggestion Pocoyo on FIVE to make room for 120 seconds startpad of {BBC News} on BBCNEWS
    Friday 07:45:00 : Recording Rupert on FIVE (Suggestion) now
    Friday 07:45:00 : Recording Scheduled End Time: 07:50
    Friday 07:45:00 : Next recording is {BBC News} on BBCNEWS at 08:00
    Friday 07:45:00 : Gap to next programme is 600 seconds
    Friday 07:45:00 : Added 300 seconds end padding to Rupert on FIVE (Suggestion)
    Friday 07:45:00 : Next end padding setting due 08:25
    Friday 07:45:00 : Gap to previous recording is 300 seconds
    Friday 07:45:00 : Added 120 seconds start padding to {BBC News} on BBCNEWS
    Friday 07:45:00 : Next start padding setting due 08:25
    Friday 07:45:00 : Next wake up will be 08:15

    Sorry if this is a bit OT for this thread. ;)
     
  8. Rob Randall

    Rob Randall New Member

    103
    0
    Nov 28, 2002
    Coventry, UK
    Over to you then mikerr ;)
     
  9. dickp

    dickp New Member

    11
    0
    Oct 3, 2006
    I've been running suggs for a few days now. Thanks for implementing this.

    (I was wondering what I'd changed to break Tivo suggestions, till I got around to looking on here a week or so ago...)

    The latest version has worked pretty well here. One thing I've noticed though, is it has a tendency to repeatedly record something when the showings are on different days. In one case it recorded a film, when the same film (same channel too) was still in 'Now Playing'!

    Would it be possible to do the 'already recorded within 28 days' or 'Now Playing' check before picking something to record?
     
  10. -MC-

    -MC- New Member

    113
    0
    Dec 9, 2005
    London
    Works great but I still have this problem where it stops working, usually around 3 -4 in the morning :

    Saturday 05:13:20: Checking for free space
    Saturday 05:13:21: Scanning todo list
    Saturday 05:13:36: Scanning history list
    Saturday 05:13:36: reading history list from disk
    Saturday 05:13:36: Processing schedule
    Saturday 05:13:41: Already recorded 'How Do They Do It?' once today!
    Saturday 05:13:42: Already recorded 'How Do They Do It?' once today!
    Saturday 05:14:29: Waiting for 30 mins
    Saturday 05:44:30: Checking for free space
    Saturday 05:44:31: Scanning todo list

    Any 'suggestions' Mikerr :D
     
  11. simbeav

    simbeav New Member

    57
    0
    Mar 14, 2005
    Suggs working fine now. Mine has been running non-stop since last Tuesday (almost a week now).

    Two quick questions :-

    1. The log file is getting a bit big now (showing as 115472 on Tivoweb). Could this become a problem ? Will running Suggs again close the old process and start a new log or do I have to close the old one first ?

    2. This morning Suggs recorded 2 Time Teams, one immediately after the other. Up until then, "only record one showing a day" had been working. Not a problem, especially as they were different episodes, but just wondering why. Is it because they were on different channels ?
     
  12. simbeav

    simbeav New Member

    57
    0
    Mar 14, 2005
    Not a bad run, Suggs seems to have given up the ghost at last. Running from Oct 14th 20:10 until Oct 22 08:29 (B.S.T).
    Not sure if it was a coincidence, but it seemed to stop as Tivo was doing all it's work after the daily call.

    Wednesday 06:55:11: Processing schedule
    Wednesday 06:59:58: Waiting for 30 mins
    Wednesday 07:29:57: Checking for free space
    Wednesday 07:29:58: Scanning todo list

    Then nothing.
     
  13. -MC-

    -MC- New Member

    113
    0
    Dec 9, 2005
    London

    Makes me wonder if that's what stops mine running
    That a good run though, mine has never lasted a full day - stopping in the early hours..... Mikerr where are you ! :eek:
     
  14. Tim L

    Tim L New Member

    151
    0
    Jan 5, 2002
    London, UK
    Mine's been running for over a week now without issue. I'm running with threshold 0, whereas previously I'd used threshold 1 and it barely lasted a day. I think that was a different version though so it's most likely a coincidence.
     
  15. wonderboy

    wonderboy New Member

    140
    0
    May 27, 2003
    Angus,...
    Mine has been running fine on two tivos since 0.94. There are soooo many suggestions now, it's actually better than before they stopped working.

    Only problem is there is still a bit of stuttering but I haven't been able to tell if it's the sat box or the tivo. The one on freeview seems to work perfectly.
     
  16. mesaka

    mesaka travelling member

    133
    0
    Sep 27, 2002
    This has been running for a couple of days without any issues - its really great to have suggestions back again!

    Something that might be considered for any future upgrade. Yesterday eastenders was recorded on BBC1 in its early evening slot. The same episode was already planned to be recorded (and was later recorded) on BBC3 late evening. Is there any way to ensure that these kinds of repeats can't occur?

    Thanks once again for the modules development!
     
  17. mikerr

    mikerr TiVoCentral.co.uk

    2,599
    0
    Jun 2, 2005
    Lancashire, UK
    Yes starting a new copy will erase logs and kill the old process after a minute.
    The "record only one showing per day" does need some work, I think i'll make it read the now-playing listing in the next version. It has to partially read that to find free space anyway.
     
  18. -MC-

    -MC- New Member

    113
    0
    Dec 9, 2005
    London
    Mikerr

    Any idea why some of us find that suggs only runs for a short while before clapping out, would be nice to have something you could start with rc.sysinit.author and just leave to do its bit.
     
  19. mikerr

    mikerr TiVoCentral.co.uk

    2,599
    0
    Jun 2, 2005
    Lancashire, UK
    Wish I knew :confused:
    The only error I'm getting is the 0x00003019 error, but that doesn't stop it running.
     
  20. wonderboy

    wonderboy New Member

    140
    0
    May 27, 2003
    Angus,...
    mikerr,

    just tried running .95 and got this:-

    bash-2.02# /var/hack/suggs.tcl -threshold 1
    bash-2.02#
    bash-2.02#
    bash-2.02# no such object:
    while executing
    "dbobj $series get Title"
    ("uplevel" body line 18)
    invoked from within
    "uplevel $body"
    invoked from within
    "transaction {uplevel $body}"
    (procedure "RetryTransaction" line 6)
    invoked from within
    "RetryTransaction {
    set recording [db $db openid $fsid]
    set state [dbobj $recording get State]
    set selectiontype ..."
    ("uplevel" body line 3)
    invoked from within
    "uplevel $body"
    invoked from within
    "ForeachMfsFile fsid name type "/Recording/DiskUsed/10" "" {

    RetryTransaction {
    set recording [db $db openid $fsid]
    set state ..."
    (procedure "get_freespace" line 8)
    invoked from within
    "get_freespace 2"
    (file "/var/hack/suggs.tcl" line 447)


    Not sure how bad this is... but suggs doesn't appear to be running using "ps ax". Same result on both my tivos.

    Reverting to 0.94 (most usefully included in zip) seems to be working as normal and is listed using "ps ax".

    BTW one of my tivos does not appear to have the "top" command - any idea why?

    ta.
     

Share This Page

spam firewall

Advertisements