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. Feb 3, 2004 #681 of 1197
    tivo-onion

    tivo-onion Pickled All Day Long

    473
    0
    Jan 9, 2004
    Guildford, UK
    Stuart,

    excuse my ignorace....I have been inspecting the code of endpad and have a quick question surrounding start padding.

    If there is a suggestion scheduled followed directly by a proper recording then does the suggestion get cancelled in order to make room for the proper recording start padding. I thought that it did, but I cannot see in the code where it would happen. Could you point to me to the right area in the code to find this functionaity if it exists.

    The alternative is of course that the suggestion plays out with no end padding, and the proper scheduled recording starts with no start padding? is this the case? Is it therefore that it is only end-padding that causes the deletion of suggestions?

    If this is the case, is there any reason why you could not cancel a preceding suggestion to make room for start padding of a proper scheduled recording?

    cheers

    Chris
     
  2. Feb 3, 2004 #682 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Basically, I don't know how to stop an in-progress suggestion in MFS. Adding the start padding anyway actually prevented the scheduled show form recording. So I played it safe and left alone.
     
  3. Feb 3, 2004 #683 of 1197
    tivo-onion

    tivo-onion Pickled All Day Long

    473
    0
    Jan 9, 2004
    Guildford, UK
    Stuart,

    so does that mean that by default, adding start padding to a recording will automatically stop a prior suggestion being recorded?

    In a scenario where tivo is planning to record the following programs.....

    8.30                              9.00                              9.30
    |<---------------------->|<---------------------->|
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;simpsons&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; friends
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(suggestion)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(season pass)

    ..... at which point / time does the start padding for the episode of friends get added (if at all), and will the suggestion record or not,

    thanks for your help,

    cheers

    Chris
     
  4. Feb 3, 2004 #684 of 1197
    kwangomango

    kwangomango New Member

    41
    0
    Aug 18, 2002
    I receive the following error when trying to run endpad.tcl manually

    ": no such file or directory

    Any ideas?
     
  5. Feb 3, 2004 #685 of 1197
    Milhouse

    Milhouse New Member

    981
    0
    Sep 15, 2001
    South...
    FTP. BINARY MODE. (Most likely). Definately sounds like you've got DOS line endings.

    Search :)
     
  6. Feb 4, 2004 #686 of 1197
    kwangomango

    kwangomango New Member

    41
    0
    Aug 18, 2002
    Cheers, i noticed the DOS line endings when i opened the file using joe. I have since saved and resaved in textpad (as UNIX) and ftp'd in binary mode but the line endings are still there. I am using SmartFTP which is set to always use binary.
    Cheers for the search link, knew i'd seen the issue before but i couldn,t find it from my search.
     
  7. Feb 4, 2004 #687 of 1197
    Milhouse

    Milhouse New Member

    981
    0
    Sep 15, 2001
    South...
    If you've saved it in Unix format and are FTPing in Binary mode then either you are still uploading the old file or uploading the new file to the wrong place on the TiVo and not overwriting the old file. Can't think what else could be the problem!

    Is the timestamp on the TiVo file changing after you upload the new file? Can you make an intentional change in the file on the PC and upload it to the TiVo - does the change appear on the TiVo?
     
  8. Feb 4, 2004 #688 of 1197
    njh

    njh New Member

    19
    0
    Jan 6, 2002
    Oxford, UK
    No - I think you will find that in that the suggestion is recorded without end padding, and start padding will not be applied to the scheduled recording - the cut over between the suggestion recording and the scheduled recording happens at the time scheduled in the program guide, exactly as it would if endpad wasn't running.

    If I read Sanderson correctly, any padding added at this point will risk cancellation of the scheduled recording - if adding padding creates a conflict which involves a recording in progress then that recording takes precedence.

    Regards,
     
  9. Feb 4, 2004 #689 of 1197
    tivo-onion

    tivo-onion Pickled All Day Long

    473
    0
    Jan 9, 2004
    Guildford, UK
    Thanks for that. It seems then that only end-padding will result in a suggestion being cancelled! I will update my daily mail generator appropriately.

    cheers

    Chris
     
  10. Feb 20, 2004 #690 of 1197
    pahunt

    pahunt New Member

    1,719
    0
    Apr 7, 2003
    England
    Just noticed that Endpad crashed yesterday with these messages in the error log.

    I've not seen an error like this before and a search in this thread didn't find anything similar either.
     
  11. Feb 20, 2004 #691 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    I've occasionally seen that from an mfs scan. It either means that the database was exceptionally busy when it was being read, or possibly that there is a hard disk/data integrity problem.

    Keep an eye out; if it doesn't recur I'd suspect teh former.
     
  12. Feb 20, 2004 #692 of 1197
    pahunt

    pahunt New Member

    1,719
    0
    Apr 7, 2003
    England
    I'll hope for the former :D

    Thanks Stuart
     
  13. Feb 21, 2004 #693 of 1197
    tivo_boj

    tivo_boj Tivo is getting old

    215
    0
    Feb 10, 2001
    Pitsea,...
    Slightly ( maybe way) off subject I know, but my hard disk is S.M.A.R.T, but is not enabled. what command at the bash do I need to enable it to ensure hard disk problems are captured early
     
  14. Feb 21, 2004 #694 of 1197
    Fozzie

    Fozzie New Member

    837
    0
    Sep 3, 2001
    Alton,...
  15. Feb 21, 2004 #695 of 1197
    tivo_boj

    tivo_boj Tivo is getting old

    215
    0
    Feb 10, 2001
    Pitsea,...
    Thanks. Should have used search :)
     
  16. Mar 10, 2004 #696 of 1197
    russellg

    russellg New Member

    8
    0
    Mar 10, 2004
    Hello, thanks for such a great program.

    I'm seeing this problem... It appears that it added time to the end of a Suggestion, thus causing a scheduled show starting just afterwards to not be recorded. Note that the scheduled recording wasn't an SP, it was just a show that I had told Tivo to record. I found a similar post from "gl9500" on Jan. 8th (post 1634960 - sorry, won't let me hyperlink) saying the same thing, so I'm wondering if there really is a problem here somewhere.

    I installed version 1.3.3 ok, and set all SPs back to zero minutes extra time before and after. I also reorganized the SPs to cause them to be re-indexed. This was all done several hours before the problem happened.

    The day before, I had told Tivo to record a show called Air Force One, which started at 9:30pm. At 9:55pm, I noticed it wasn't recording. I checked the Recording History page on Tivo and it said it wasn't recorded because someone in the household chose to record something else (definitely not true).

    I then checked the EndPad log via TivoWeb, and found the section included below. From what I can tell, it looks like a suggestion called Modern Marvels was being recorded from 8:30pm to 9:30pm (I've verified that it shows up now as a suggestion in the Now Playing list). At 9:25pm, EndPad added 15 minutes to the end of it, even though Air Force One was due to start at 9:30. It was my understanding that EndPad would give priority to the scheduled recording. Certainly it should, or you'd never know when a suggestion would cause you to lose a show you actually wanted.

    Here's my EndPad entry from /etc/rc.d/rc.sysinit.author:

    /hack/endpad.tcl 0 15 -auto > /dev/null 2>&1 &

    Any ideas? Thanks!

    Russell

    =====================

    Wednesday 20:40:00 : Woken up
    Wednesday 20:40:00 : Recording {Modern Marvels} on HIST now
    Wednesday 20:40:00 : Recording Scheduled End Time: 21:30
    Wednesday 20:40:00 : Next recording is {Air Force One} on NGEO at 21:30
    Wednesday 20:40:00 : No episode tracking done at this time
    Wednesday 20:40:00 : Not time to add end padding yet
    Wednesday 20:40:00 : Next end padding setting due 21:25
    Wednesday 20:40:00 : Can't add start padding to {Air Force One}
    Wednesday 20:40:00 : No start padding requested
    Wednesday 20:40:00 : Start padding of 0 seconds already set
    Wednesday 20:40:00 : Next start padding setting due 21:40
    Wednesday 20:40:00 : Next wake up will be 21:10
    Sleeping, checking every minute for kill signal...............................
    Wednesday 21:10:00 : Woken up
    Wednesday 21:10:00 : Recording {Modern Marvels} on HIST now
    Wednesday 21:10:00 : Recording Scheduled End Time: 21:30
    Wednesday 21:10:00 : Next recording is {Air Force One} on NGEO at 21:30
    Wednesday 21:10:00 : No episode tracking done at this time
    Wednesday 21:10:00 : Not time to add end padding yet
    Wednesday 21:10:00 : Next end padding setting due 21:25
    Wednesday 21:10:00 : Can't add start padding to {Air Force One}
    Wednesday 21:10:00 : No start padding requested
    Wednesday 21:10:00 : Start padding of 0 seconds already set
    Wednesday 21:10:00 : Next start padding setting due 21:40
    Wednesday 21:10:00 : Next wake up will be 21:25
    Sleeping, checking every minute for kill signal................
    Wednesday 21:25:01 : Woken up
    Wednesday 21:25:01 : Recording {Modern Marvels} on HIST now
    Wednesday 21:25:01 : Recording Scheduled End Time: 21:30
    Wednesday 21:25:01 : Next recording is {Air Force One} on NGEO at 21:30
    Wednesday 21:25:01 : No episode tracking done at this time
    Wednesday 21:25:01 : Added 900 seconds end padding to {Modern Marvels}
    Wednesday 21:25:01 : Next end padding setting due 22:25
    Wednesday 21:25:01 : Can't add start padding to {Air Force One}
    Wednesday 21:25:01 : No start padding requested
    Wednesday 21:25:01 : Start padding of 0 seconds already set
    Wednesday 21:25:01 : Next start padding setting due 21:40
    Wednesday 21:25:01 : Next wake up will be 21:40
    Sleeping, checking every minute for kill signal................
    Wednesday 21:40:00 : Woken up
    Wednesday 21:40:00 : Recording {Modern Marvels} on HIST now
    Wednesday 21:40:00 : Recording Scheduled End Time: 21:45
    Wednesday 21:40:00 : Next recording is {A Stranger In Our Home} on ABN2 at 23:00
    Wednesday 21:40:00 : No episode tracking done at this time
    Wednesday 21:40:00 : No end padding required:
    Wednesday 21:40:00 : End padding of 900 seconds already set
    Wednesday 21:40:00 : Next end padding setting due 23:40
    Wednesday 21:40:00 : Can't add start padding to {A Stranger In Our Home}
    Wednesday 21:40:00 : No start padding requested
    Wednesday 21:40:00 : Start padding of 0 seconds already set
    Wednesday 21:40:00 : Next start padding setting due 23:10
    Wednesday 21:40:00 : Next wake up will be 22:10
    Sleeping, checking every minute for kill signal...............................
     
  17. Mar 11, 2004 #697 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    EndPad will only delete the subsequent show if it has a Type of 6, which is a Suggestion.

    Could you go to Recording History in TivoWeb, find the cancelled show and post the text that TivoWeb has on it. It would also be useful to see the "object" data - when you have the recording history page up for the show, change "showing" in the URL to "object".

    Also, what version of the TiVo software are you running?
     
  18. Mar 11, 2004 #698 of 1197
    russellg

    russellg New Member

    8
    0
    Mar 10, 2004
    Hi sanderton, thanks for the reply.

    Unfortunately, after I realized it wasn't recording, I tried to start recording it from the middle of the show, and it ended up not getting it all. That in itself changed the entry in the recording history. But then I ended up deleting the partial recording this morning, so now the only entry in recording history is "deleted", and there's no longer any info about why it wasn't recorded -- at least not on that page -- maybe there's a log somewhere else?

    You said EndPad will only delete the subsequent show if it has a type of 6, which is a suggestion. However, keep in mind that it appears that EndPad never actually cancelled the recording of the second show -- Tivo did, because it saw that "the user" (actually EndPad) had changed the end time of the first show, thus overlapping with the start time of the second show. The original message in the recording history was something along the lines of, "it wasn't recorded because someone in the household chose to record something else."

    I believe EndPad is somehow not seeing the scheduled non-SP recording correctly. It's apparently not seeing it as a suggestion, because as you said, it would have been cancelled, and it wasn't. But it's also somehow not seeing it as a scheduled recording, because it should have cancelled the first show. (actually if I hadn't set EndPad to start shows 1 minute early, it could have just let the suggestion record without any modification -- but since I did, I believe it should have cancelled it, or possibly cut it off early)

    If you take another look at the article I mentioned, I think the other guy was saying the same thing. He was recording two SP shows back-to-back, followed immediately by a scheduled non-SP recording, and instead of only modifying the end time of the last show, EndPad modified the end time of the second show, and then it was actually Tivo that cancelled the recording of the third -- not EndPad. Here's the relative URL for his post:

    /tivo-vb/showthread.php?postid=1634960#post1634960

    Also, here's the object data of the show that got skipped in my case:

    Showing 665862/25 {
    Date = 12487
    Duration = 3600
    Program = 657111/-1
    Reason = 2
    Station = 611991/-1
    Time = 77400
    TvRating = 4
    IndexUsedBy = 665862/10
    }

    You asked which version of Tivo I'm running. I'm actually in Australia, using their 3.0 Release 1 software on a US Tivo (that's the most common setup for our group here actually).

    Thanks!

    Russell
     
  19. Mar 11, 2004 #699 of 1197
    Dunkwho

    Dunkwho New Member

    135
    0
    Apr 17, 2002
    Hi all ...

    my endpad died again yesterday ... programs recorded yesterday evening & during the night don't have any padding - the bottom of the log file is:

    Sleeping, checking every minute for kill signal............................
    Wednesday 11:57:00 : Woken up
    Wednesday 11:57:00 : No recording in progress
    Wednesday 11:57:00 : Next recording is {Bargain Hunt} on BBC1SE at 12:00
    Wednesday 11:57:00 : No end padding required:
    Wednesday 11:57:00 : No recording in progress
    Wednesday 11:57:00 : Next end padding setting due 12:25
    Wednesday 11:57:00 : Added 120 seconds start padding to {Bargain Hunt}
    Wednesday 11:57:00 : Next start padding setting due 12:25
    Wednesday 11:57:00 : Next wake up will be 12:25
    Sleeping, checking every minute for kill signal.............................
    Wednesday 12:25:00 : Woken up
    Wednesday 12:25:00 : Recording {Bargain Hunt} on BBC1SE now
    Wednesday 12:25:00 : Recording Scheduled End Time: 12:30
    Wednesday 12:25:00 : Next recording is {Let it Rain} on C4 at 12:30

    Theres a endpad.err sitting on my tivo date stamped at 12:25 10/3/04 (same time as last entry in endpad.log) but I can't get at it right now (need to mod some tivo settings to allow me to ftp mfs - god damn securemote) ... if its needed for proper debug pls let me know, I'll try and get at it tonight and post it.

    Duncan
     
  20. Mar 11, 2004 #700 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Russell - don't know, basically. If the TiVo is deleting the show it's because EndPad has forged ahead and added the padding regardless. But it can see the next show's start time, as is shown by the log.

    It can't be something generic wrong in the script, as EndPad must have supervised thousands of back-to-back recordings.

    My best guess would be the well known and utterly unrepeatable MFS bug where a database contentiom means that instead of returning an id it returns and stores an error value, so the the start time of the second showing was in some way corrupted. Maybe.


    Dunkwo - need to see the .err file.
     
Thread Status:
Not open for further replies.

Share This Page