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. Oct 16, 2003 #201 of 1197
    leejordan

    leejordan Member

    132
    0
    Apr 22, 2002
    London, UK
    Hi,

    I'm running endpad 1.2.4 and it failed with this message last night..

    A stale PID file was found and has been deleted.
    This means that this script terminated unexpectedly last time. Loading now.
    The errors logged (if any) before the last termination were:
    syntax error in expression "-auto * 60"
    while executing
    "expr $endpadding * 60"
    (file "/var/hack/endpad.tcl" line 362)
    syntax error in expression "-auto * 60"
    while executing
    "expr $endpadding * 60"
    (file "/var/hack/endpad.tcl" line 362)

    Hope this is of some help.

    Lee.
     
  2. Oct 16, 2003 #202 of 1197
    Chris T

    Chris T New Member

    222
    0
    Oct 30, 2002
    Leicstershir...
    The latest version also failed on me last night, with the error:

    expected integer but got "$nextrecfsid"
    while executing
    "db $db openid $recfsid"
    ("uplevel" body line 2)
    invoked from within
    "uplevel $body"
    invoked from within
    "transaction {uplevel $body}"
    (procedure "RetryTransaction" line 5)
    invoked from within
    "RetryTransaction {
    set rec [db $db openid $recfsid]
    set state [dbobj $rec get State]
    if { $state != 6 } {
    dbclose $db
    return 0
    } else {
    dbob..."
    (procedure "DeleteSuggestion" line 7)
    invoked from within
    "DeleteSuggestion {$nextrecfsid}"
    (file "/var/hack/endpad.tcl" line 372)

    Tivo was recording back to back suggestions at the time.
     
  3. Oct 16, 2003 #203 of 1197
    sunscreem

    sunscreem New Member

    12
    0
    Nov 11, 2001
    Aberdeen UK
    Just a quick one...

    I installed the latest version 1.2.4 (?) (for the first time last night).

    It works a treat - but it did appear to stop running about 3 hours after it was installed (my friends did the same too).

    I just started it again and it appears to be fine now.

    Rob
     
  4. Oct 16, 2003 #204 of 1197
    Fozzie

    Fozzie New Member

    837
    0
    Sep 3, 2001
    Alton,...
    Stuart, could you explain how the log switching works.

    I've got endpad.log which runs from when I started endpad going up to now and Oendpad.log which starts from when I started endpad going up to 00:28 last night.

    I was expecting that when Oendpad.log was created, endpad.log would be cleared and then start from that time?

    Thanks.

    Edit: endpad's been running solid since 1900 yesterday :)
     
  5. Oct 16, 2003 #205 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Errors, lovely errors.

    There are so many nested "if"s in the code to catch all the possibilities that I can never be sure each line has been run until its been out in the field for a bit.

    The two "expected integer but got "$nextrecfsid"" are because of a typo in the the code; I used the wrong kind of brackets in a command. Look for 1.2.5 in a couple of minutes.

    The "syntax error in expression "-auto * 60"" error is because the order the arguments appear is imprortant, it needs to be:

    /var/hack/endpad.tcl s e -auto >> dev/null &

    and it looks like you have entered:

    /var/hack/endpad.tcl -auto s e >> dev/null &

    The logfile problem is also fixed in 1.2.5.
     
  6. Oct 16, 2003 #206 of 1197
    Roj

    Roj New Member

    8
    0
    Oct 15, 2003
    Stuart,

    Just wondered if you've already thought about whether there will be any impact on endpad from the clocks changing between GMT/BST.

    The logs seem to be in GMT anyway, so perhaps there is none?

    Probably worth thinking about this before the next change, since you don't get many opportunities for testing!

    Roj
     
  7. Oct 16, 2003 #207 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    EndPad uses TiVos own internal clock system, which AFAIK doesn't "do" BST etc at all. The times are converted to local time by TiVo before being displayed. Even US Tivos run on GMT! Because I only use the internal clock, there should be no issue.
     
  8. Oct 16, 2003 #208 of 1197
    iankb

    iankb New Member

    6,468
    0
    Oct 9, 2000
    Reading, UK
    I'm sure they really run on UTC. :p

    Ian.
     
  9. Oct 16, 2003 #209 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    That's just so they don't feel too colonial. :)
     
  10. Oct 16, 2003 #210 of 1197
    burriko

    burriko New Member

    12
    0
    Jun 14, 2002
    I just thought i'd chip in to say that i've been running endpad 1.01 for almost a week now, and haven't had a single problem. It hasn't crashed once and it's added the correct padding to every programme that it could.
    From reading this thread it seems that versions since then having been causing problems. It's great that new features are still being worked on, but if people just want a stable version to use until the newer, more advanced features are fully tested, then i recommend giving 1.01 a go.

    btw, thanks for all the hard work sanderton, it's a truly useful program!
     
  11. Oct 16, 2003 #211 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Glad its working for you. :)

    1.01 actually had a few bugs in it that could cause you to lose recordings, admittedly under fairly unusual circumstances. I think that 1.2.5 should be pretty stable now. If/when I add forced ngatve padding, the stable version will remain available.

    But I'm mainly fiddling with a TiVoWeb module to atttempt to resolve conflicts by scheduling them on a second TiVo now!
     
  12. Oct 16, 2003 #212 of 1197
    burriko

    burriko New Member

    12
    0
    Jun 14, 2002
    I was wondering if i'd just been lucky so far. :)

    cool, i'll give it a try then.
     
  13. Oct 16, 2003 #213 of 1197
    RichyClarke

    RichyClarke New Member

    11
    0
    Oct 14, 2003
    Sanderton - Have to say this is the second best util around (after TivoWeb of course) .

    Set up 1.2.4 last night and had the same probs as others here (fell over after ~3 hours) so checked back here and installed 1.2.5 - no problems since running it this AM with a few test programs.

    I felt I had to break my silence (been a lurker for a few months now) to say thanks for this excellent utility.

    :) :p :up:
     
  14. Oct 16, 2003 #214 of 1197
    mas

    mas 274GB, Oct 2000-2011

    30
    0
    Jan 12, 2002
    West...
    Record clashes on a second tivo

    I'd like to see pace get sky+ to do that !

    :D
     
  15. Oct 16, 2003 #215 of 1197
    Fozzie

    Fozzie New Member

    837
    0
    Sep 3, 2001
    Alton,...
    I thought I'd do a quick check of my 1.2.4 from work and after running fine for ~15 hours, fell over just before lunchtime!

    Stuart, Ill post the log when I get home so you can check that it was one of the bugs you've fixed in 1.2.5. It looks like it was recording back to back suggestions.
     
  16. Oct 16, 2003 #216 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    That's where the bug was.
     
  17. Oct 16, 2003 #217 of 1197
    Fozzie

    Fozzie New Member

    837
    0
    Sep 3, 2001
    Alton,...
    Yep. Same error as Chris T above. All back up and running now with 1.2.5.

    (Just noticed a wee typo on the message after stopping endpad. It says to check the log 'withe Tivoweb')
     
  18. Oct 16, 2003 #218 of 1197
    DougF

    DougF Active Member

    14,256
    19
    Mar 18, 2003
    North Dakota
    I've only been a TiVo user for six months and haven't heard the terms "soft-padding" and "hard-padding" before.

    If I'm reading correctly, this hack will add x minutes to the end of a schedule recording, but only five minutes before that scheduled recording ends and only if there is no conflict. Example:

    Recording scheduled for program guide shows starting at 8:00 PM and ending at 8:30 PM. At 8:25 PM, this hack checks for any recordings starting at 8:30 PM. If there are none, the current recording is extending past 8:30 PM by the number of minutes specified at startup. If another recording is scheduled to start at 8:30 PM, no additional time is added to the 8:00 PM recording.

    Is this correct? Sorry for the question, I just want to make sure I know what I'm adding first. If I'm understanding it correctly, it seems like a very cool hack.

    Thanks a bunch!
     
  19. Oct 16, 2003 #219 of 1197
    pahunt

    pahunt New Member

    1,719
    0
    Apr 7, 2003
    England
    Yes you've got the idea. If you read the first post in this thread it gives you a more detailed explanation of what happens
     
  20. Oct 16, 2003 #220 of 1197
    DougF

    DougF Active Member

    14,256
    19
    Mar 18, 2003
    North Dakota
    Thanks, Paul. I appreciate the response.

    Is anything about this specific to UK programming or hardware? I'm in the US with a Series 1 SA with 3.0. Is there any reason I can't use it?
     
Thread Status:
Not open for further replies.

Share This Page