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

Automatic soft padding running on the TiVo

Discussion in 'TiVo Series 1 - UK' started by sanderton, Oct 8, 2003.

Thread Status:
Not open for further replies.
  1. Dec 29, 2003 #601 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    I don't think the problem is Endpad, although I'll try to work through the program logic in the morning and see if I can see if there's a problem.

    I also recorded those shows and this is my log for comparison:

    Code:
    Sunday 19:50:00 : Woken up
    Sunday 19:50:00 : Recording {The 100 Greatest Musicals} on C4 now
    Sunday 19:50:00 : Recording Scheduled End Time: 19:55
    Sunday 19:50:00 : Next recording is {Top Gear} on BBC2 at 20:00
    Sunday 19:50:00 : Episode already in tracker list
    Sunday 19:50:00 : Added 120 seconds end padding to {The 100 Greatest Musicals}
    Sunday 19:50:00 : Next end padding setting due 20:55
    Sunday 19:50:00 : Not time to add start padding yet
    Sunday 19:50:00 : Next start padding setting due 19:58
    Sunday 19:50:00 : Next wake up will be 19:58
    Sleeping, checking every minute for kill signal......... 
    Sunday 19:58:00 : Woken up
    Sunday 19:58:00 : No recording in progress
    Sunday 19:58:00 : Next recording is {Top Gear} on BBC2 at 20:00
    Sunday 19:58:00 : No episode tracking done at this time
    Sunday 19:58:00 : No end padding required:
    Sunday 19:58:00 : No recording in progress
    Sunday 19:58:00 : Next end padding setting due 20:55
    Sunday 19:58:01 : Added 60 seconds start padding to {Top Gear}
    Sunday 19:58:01 : Next start padding setting due 20:55
    Sunday 19:58:01 : Next wake up will be 20:28
    
    ps. Grease? Over West Side Story? Harumph.
     
  2. Dec 29, 2003 #602 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Sorry, looking at your logs:

    Sunday 19:57:00 : Next recording is {Top Gear} on BBC2 at 20:00
    ...
    Sunday 19:57:00 : Added 58 seconds start padding to {Top Gear}

    The recording should have started at 19.59.02.

    If it didn't there are two possible reasons:

    a) the scheduler was busy and did not notice thet it had had start padding added (unlikely, as it would then have started at 20:00)
    b) Something else stopped the recording starting - most commonly ambient IR blocking the channel change
     
  3. Jan 1, 2004 #603 of 1197
    Roj

    Roj New Member

    8
    0
    Oct 15, 2003
    a) Seems unlikely, since it didn't start until 4 minutes in, and didn't change channel either.

    I don't understand b). How does the Tivo know if a channel change has been successful or not (I'm on freeview, if that makes a difference)? And then why did it start recording a few minutes later, although the channel still hadn't changed?

    Roj
     
  4. Jan 1, 2004 #604 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    I'm afraid I've not seen anything like that, and the logs seem to indicate EndPad was working normally. ??
     
  5. Jan 4, 2004 #605 of 1197
    Roj

    Roj New Member

    8
    0
    Oct 15, 2003
    As luck would have it, this weekend's schedules have been full of shows with a 5 minute gap between them, so I can confirm that this is a repeatable problem.
    I've also done some experimentation, and am able to reproduce the problem by scheduling two manual recordings with a 5 minute gap between the "official" (unpadded) end time of the first show, and "official" (unpadded) start of the second show.
    If I disable endpad, the problem goes away. If I reconfigure endpad to 1 minute startpad and 3 minutes endpad, the problem goes away. But I'd rather use 2 and 4.
    I don't know whether the problem is a bug in endpad, or an interaction issue between endpad and the Tivo scheduler. Looking at the section of log below, the first part looks the same as that previously posted - with correct end padding (4 mins) and start padding (58 secs) added. But this time I've looked ahead in the logs to the next time endpad wakes up - it still thinks it's recording the first show, even though it should be recording the second show by now (clive james 8:30 - 8:35, smile 8:40 - 8:45)!

    So to recap:
    endpad 1.3.3, start padding 2 minutes, end padding 4 minutes.
    When two shows have a gap of 5 minutes, the second show starts recording 4 minutes late, and there is no channel change issued. This occurs whether the shows are on the same or different channels, and whether they are programmed recordings, or Tivo's suggestions.

    Thoughts?

    Roj

    ***
    Sleeping, checking every minute for kill signal......
    Sunday 08:32:00 : Woken up
    Sunday 08:32:00 : Recording {Clive James in Dallas} on SKYTRVD now
    Sunday 08:32:00 : Recording Scheduled End Time: 08:35
    Sunday 08:32:00 : Next recording is Smile on BBC2 at 08:40
    Sunday 08:32:00 : Added 240 seconds end padding to {Clive James in Dallas}
    Sunday 08:32:00 : Next end padding setting due 08:41
    Sunday 08:32:00 : Not time to add start padding yet
    Sunday 08:32:00 : Next start padding setting due 08:37
    Sunday 08:32:00 : Next wake up will be 08:37
    Sleeping, checking every minute for kill signal......
    Sunday 08:37:00 : Woken up
    Sunday 08:37:00 : Recording {Clive James in Dallas} on SKYTRVD now
    Sunday 08:37:00 : Recording Scheduled End Time: 08:39
    Sunday 08:37:00 : Next recording is Smile on BBC2 at 08:40
    Sunday 08:37:00 : No end padding required:
    Sunday 08:37:00 : End padding of 240 seconds already set
    Sunday 08:37:00 : Next end padding setting due 08:41
    Sunday 08:37:00 : Added 58 seconds start padding to Smile
    Sunday 08:37:00 : Next start padding setting due 08:41
    Sunday 08:37:00 : Next wake up will be 08:41
    Sleeping, checking every minute for kill signal.....
    Sunday 08:41:00 : Woken up
    Sunday 08:41:00 : Recording {Clive James in Dallas} on SKYTRVD now
    Sunday 08:41:00 : Recording Scheduled End Time: 08:39
    Sunday 08:41:00 : Next recording is {The Long Duel} on BBC2 at 13:20
    Sunday 08:41:00 : No end padding required:
    Sunday 08:41:00 : End padding of 240 seconds already set
    Sunday 08:41:00 : Next end padding setting due 15:05
    Sunday 08:41:00 : Not time to add start padding yet
    Sunday 08:41:00 : Next start padding setting due 13:17
    Sunday 08:41:00 : Next wake up will be 09:11
    Sleeping, checking every minute for kill signal.........
    ***
     
  6. Jan 4, 2004 #606 of 1197
    mark.stringer

    mark.stringer New Member

    54
    0
    Jun 7, 2002
    Belfast
    Hi Stuart,

    My /var directory got rebuild yesterday as a result of a disk error!!! I have reinstalled most items including endpad 1.3.3. Is it worth enabling the Tracker part of this or will the data it collects be worthless when you create the new program using a different method?

    Thanks,
    Mark.
     
  7. Jan 7, 2004 #607 of 1197
    Fatbloke

    Fatbloke New Member

    620
    0
    Feb 26, 2002
    Deepest Barking
    OK peeps, here's one for you. I tried adding endpad tonight to an unmodified Tivo via the serial link. All seemed to go well as I followed the guide from Occitan. However, although everything seemes to complete correctly, endpad doesn't seem to be running.

    I've checked back over the hyperterminal log and everything seems to have been typed correctly. I remembered the CHMOD 777s and did the CP -p as it showed.

    I guess it's something to do with the rc.sysinit.author (I'm using the downloaded one) since I also can't get the bash prompt without going back through the diagnostics menu all the time. The rc.sysinit.author looks fine when I do the CAT command, no undesired line breaks etc. but of course it's not in it's final position at that point.

    Can someone throw me a couple of linux commands that will allow me to check that rc.sysinit.author is in the correct location and has the correct authorisations whilst Im using the 'old' operating system?
     
  8. Jan 7, 2004 #608 of 1197
    sirfergy

    sirfergy New Member

    288
    0
    May 18, 2002
    Did you mod rc.sysinit.author to be +x?
     
  9. Jan 7, 2004 #609 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Sounds like a possible candidate for DOS line endings? A DOSsed file looks OK when you cat it IIRC.
     
  10. Jan 7, 2004 #610 of 1197
    Fatbloke

    Fatbloke New Member

    620
    0
    Feb 26, 2002
    Deepest Barking
    It's possible, but I was careful to edit it in Ultraedit, saying NO to 'reformat into DOS' when it asked me.

    What's this +x bit all about then? I thought the chmod 777 was all I needed?
     
  11. Jan 7, 2004 #611 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    I'm going to use a different method. Thanks anyway.
     
  12. Jan 7, 2004 #612 of 1197
    gl9500

    gl9500 Member

    43
    0
    Jul 15, 2003
    chicago
    hi,

    I just started running endpad a couple of days ago and last night had a situation occur...

    snippet of ToDo schedule was to record 3 30minute shows... "Cheers" SP at 4:30 and 5:00 and "Daily Show" manual SP at 5:30. endpad was started w/ "2 2". (I converted the times here to match the endpad.log)

    Problem was, "Daily Show" did not record at all. 5:00 Cheers recording ends up w/ the 2 minute padding at the end, which it shouldn't. There should be no padding at the end since there was another schedule recording immediately after.

    here is the log...

    /var/log/endpad.log:
    ...
    Wednesday 04:57:00 : Woken up
    Wednesday 04:57:00 : Recording Cheers on TVLAND now
    Wednesday 04:57:00 : Recording Scheduled End Time: 05:00
    Wednesday 04:57:00 : Next recording is Cheers on TVLAND at 05:00
    Wednesday 04:57:00 : No episode tracking done at this time
    Wednesday 04:57:00 : Can't add end padding to Cheers
    Wednesday 04:57:00 : Gap is 0 seconds
    Wednesday 04:57:00 : Next end padding setting due 05:25
    Wednesday 04:57:00 : Can't add start padding to Cheers
    Wednesday 04:57:00 : Gap is only 0 seconds
    Wednesday 04:57:00 : Next start padding setting due 05:25
    Wednesday 04:57:00 : Next wake up will be 05:25
    Sleeping, checking every minute for kill signal.............................
    Wednesday 05:25:01 : Woken up
    Wednesday 05:25:01 : Recording Cheers on TVLAND now
    Wednesday 05:25:01 : Recording Scheduled End Time: 05:30
    Wednesday 05:25:01 : Next recording is {The Daily Show With Jon Stewart} on COME
    DY at 05:30
    Wednesday 05:25:01 : No episode tracking done at this time
    Wednesday 05:25:01 : Added 120 seconds end padding to Cheers
    Wednesday 05:25:01 : Next end padding setting due 05:55
    Wednesday 05:25:01 : Not time to add start padding yet
    Wednesday 05:25:01 : Next start padding setting due 05:27
    Wednesday 05:25:01 : Next wake up will be 05:27
    Sleeping, checking every minute for kill signal...
    Wednesday 05:27:00 : Woken up
    Wednesday 05:27:00 : Recording Cheers on TVLAND now
    Wednesday 05:27:00 : Recording Scheduled End Time: 05:32
    Wednesday 05:27:00 : Next recording is {The Drew Carey Show} on WGN
    at 06:00
    Wednesday 05:27:00 : No episode tracking done at this time
    Wednesday 05:27:00 : No end padding required:
    Wednesday 05:27:00 : End padding of 120 seconds already set
    Wednesday 05:27:00 : Next end padding setting due 06:25
    Wednesday 05:27:00 : Not time to add start padding yet
    Wednesday 05:27:00 : Next start padding setting due 05:57
    Wednesday 05:27:00 : Next wake up will be 05:57
    ...
     
  13. Jan 8, 2004 #613 of 1197
    pahunt

    pahunt Active Member

    1,719
    0
    Apr 7, 2003
    England
    chmod 777 will give the file full permissions and so the +x won't help you.
     
  14. Jan 8, 2004 #614 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Are you absolutely sure that that particular The Daily Show was not a suggestion rather than from the SP? EndPad will cancel suggestions which clash with the intended padding.

    Endpad had correctly picked up the start and end times as being the same, and the only situation when it would still cancel the following show would be if it was a suggestion.
     
  15. Jan 8, 2004 #615 of 1197
    gl9500

    gl9500 Member

    43
    0
    Jul 15, 2003
    chicago
    Definitely *not* a suggestion. But it was a regular recording, not part of a manual-SP. I had the DailyShow as a manual-SP, but then explicitly recorded the episodes for the week since the DailyShow was moving to a different timeslot the next week.

    The recording history shows the 2 entries for manual and regular DailyShow recording...

    ----- from Tivo and Tivoweb
    - Manual: DailyShow ... Conflict ... was not recorded because someone chose to record another program instead: "DailyShow"
    - DailyShow ... Conflict ... was not recorded because someone chose to record another program instead: ""
    -----

    Note that the "conflict" for the regular DailyShow recording was *blank*. And it was a Conflict, not a Cancelled or otherwise.


    ok, no big deal. The Tivo scheduling software does sometimes gets confused so it's probably not your bug, but I just thought I'd report it just FYI.

    ps. similar ToDo list for last night and the DailyShow was recorded just fine. so who knows.

    thanks for Endpad and for looking into this.

    Regards

    [edit]
    pps. FWIW, I verified that the recording did exist in the ToDo list prior to the missed recording. Every morning I run my own script which dumps (using lynx), among other things, the ToDo list via Tivoweb. And the regular, single "DailyShow" recording was on the list.
     
  16. Jan 8, 2004 #616 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    And you are using the lastest version of EndPad?

    I'm at loss on this one; the code in EndPad only goes ahead if another programme is scheduled is the selectiontype = 6 (ie, a suggestion). Manual recordings should be fine.

    Code:
    if {$gap < $endpadding && $nselectiontype == 6} {
    
      DeleteSuggestion "$nextrecfsid"
    
      set endpadtoset $endpadding
    
    }
    
     
  17. Jan 8, 2004 #617 of 1197
    gl9500

    gl9500 Member

    43
    0
    Jul 15, 2003
    chicago
    I just downloaded a couple of days ago from the link on the first post here.

    Must be a tivo schedule glitch then.

    Altho I have to say I can't say that I trust the "selectiontype" code since you mentioned it for my "change to suggestions" post. Perhaps it works ok for reading the value, but it doesn't see to "set" it properly.

    in case you missed my reply to your hints...

    http://www.tivocommunity.com/tivo-vb/showthread.php?s=&postid=1626044#post1626044

    thanks again. regards
     
  18. Jan 8, 2004 #618 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    I'd forgotten that thread. I've replied over there.
     
  19. Jan 10, 2004 #619 of 1197
    gl9500

    gl9500 Member

    43
    0
    Jul 15, 2003
    chicago
    First let me apologize for not reading all 31 pages (!) on this thread <g><ng>. But I did do a search and found the above post.

    What was/is the resolution of this?? From what I can tell, the latest version 1.3.3 does not do this... so...

    I would vote to trash the suggestion prior to a scheduled recording, in favor of adding padding to the start of the schedule recording. After all, I really want the scheduled recording; who knows if I want or care about the suggestion.

    As it stands now, I've gone to turning off suggestions since I am trying to capture episodes to transfer to DVD and endpad works really well at grabbing as much of a recording as possible. Kudo's to you Stuart. I've only been using endpad for a few days, but it's really very cool!

    ps. everytime I type "endpad" I feel like I should type it as "endpad(tm)" <g>.
     
  20. Jan 10, 2004 #620 of 1197
    mbriody

    mbriody New Member

    200
    0
    Mar 30, 2002
    Northampton, UK
    I started using it earlier this week and it works oaky except that it seems to die after a day or so.

    Also if I try to restart it manually is appears to work but my TiVo reboots shortly afterwards, so putting it on a cron job is no good.

    Any ideas?
     
Thread Status:
Not open for further replies.

Share This Page