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. Mar 13, 2005 #981 of 1197
    a_tivo_noob

    a_tivo_noob New Member

    213
    0
    Jan 1, 2004
    here we go then... never tried this before - wish me luck! :D
     
  2. Mar 13, 2005 #982 of 1197
    a_tivo_noob

    a_tivo_noob New Member

    213
    0
    Jan 1, 2004
    stumbling block no.1 - i cant' mount to partition 7... I can mount to 4 and 9 tho... on 7, it says "you must specify the file system type"

    is this because i am using an upgraded 120GB harddrive?
     
  3. Mar 13, 2005 #983 of 1197
  4. Mar 13, 2005 #984 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Sadly it's not quite that simple, as ever. :) This is an often requested feature, but would require quite a bit of work. The main problem is if you set a second recording to start early, then it tends to obilterate (not just cancel) the first recording, even if it has stopped early though negative end padding.

    It's possible you could get something to work through also altering the Duration - I don't know.

    I didn't persue it because for every time you get the last minute of a show on the start of the next recording at present, I think you'd create a new instance of the same thing with an EndPad working this way (from when the programmes actually ended on time.)
     
  5. Mar 27, 2005 #985 of 1197
    bobones

    bobones New Member

    91
    0
    Jan 22, 2004
    Endpad crashes if there are no recordings in the database (e.g. after using DeleteAll .tcl and clearing the todo list). It all kicks off when $rectype is used (if $rectype == 3) when it hasn't been set in the main loop.
     
  6. Mar 28, 2005 #986 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    Yes, it does. Known bug. Fixes itself when you add two shows to the TDL.
     
  7. Apr 3, 2005 #987 of 1197
    somegeeza

    somegeeza New Member

    11
    0
    Apr 1, 2005
    Chelmsford, UK
    I'm having trouble downloading Endpad from the link on the first page of this thread.

    Having same problem downloading Autospace 2.5.5 too from this forum.

    Is anyone else getting this problem?
     
  8. Apr 3, 2005 #988 of 1197
    Fozzie

    Fozzie New Member

    837
    0
    Sep 3, 2001
    Alton,...
    Right click, 'Save Target As' works fine here.
     
  9. Apr 3, 2005 #989 of 1197
    MikeMcr

    MikeMcr New Member

    57
    0
    Nov 2, 2002
    Manchester, UK
    I have the same problem. Ever since they upgraded the forum software, left-clicking on attachments no longer works for me. However, you can right-click and select "Save Target As" instead.
     
  10. Apr 3, 2005 #990 of 1197
    iankb

    iankb New Member

    6,468
    0
    Oct 9, 2000
    Reading, UK
  11. Apr 3, 2005 #991 of 1197
    somegeeza

    somegeeza New Member

    11
    0
    Apr 1, 2005
    Chelmsford, UK
    Many thanks, right-clicking and saving to target works fine.

    Andy
     
  12. Apr 9, 2005 #992 of 1197
    maxwells_daemon

    maxwells_daemon New Member

    84
    0
    Apr 9, 2005
    Oxford, UK
    Hi sanderton,

    Thanks for the nice module. I just installed it, so I'll have to see how it goes, but from your documentation it looks just the sort of thing I've always wanted - and nicely coded too. :)

    If I understand it correctly, endpad applies the same padding to all programs (where it can), regardless of what channel they are on. Right? I was wondering whether one could apply different padding to different channels, eg. -e 15 for BBC and -s 1 for SKYONE (that's like what I usually used when I did it by hand).

    If you like, I could give it a go. I know tcl quite well, but haven't done anything for the TiVo, so I don't know how easy that might be. What do you think? Sorry if this has already been discussed and I didn't notice among the 991 posts!

    Thanks,
    Tim.
     
  13. Apr 9, 2005 #993 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    It has been; it is perfectly possible; I don't need it (and not that many folks seemed bothered) so haven't done it.

    Feel free!
     
  14. Apr 12, 2005 #994 of 1197
    maxwells_daemon

    maxwells_daemon New Member

    84
    0
    Apr 9, 2005
    Oxford, UK
    Hi Stuart,

    OK, my modified version is attached (or if, like me, you prefer to be able to download and unpack directly on the TiVo, you can get the tar.gz file here). It has run OK on my TiVo for the last couple of days, so I thought I'd post it for you and other people to try if you are interested.

    This new version can read an endpad.config file (from the same directory as endpad.tcl - or you can specify another location with the -config option) with lines like
    Code:
    endpad 2
    channel BBC1STH,BBC2STH,BBC4 endpad 15
    channel SKYONE startpad 1
    which adds 15 minutes' end padding on BBC programs, and 2 minutes for everything else. It also adds 1 minute's start padding on SKYONE programs. The global "endpad 2" line is equivalent to the "-e 2" command-line option. This means that all the settings can go in endpad.config so it can be started without any options (except, if needed, -auto -stop -debug or -config, of course).

    The configuration file allows you to specify any of the endpad options separately for each channel, ie. "startpad", "endpad", "sugqual" (suggestion recording quality), and "sugeq" (disabling soft padding-prompted suggestion cancellation). Any that aren't specified, default to the command-line or global options.

    I also took the liberty of making a few other small improvements to endpad.tcl.

    1) Explicit help option (-? or -help).

    2) Separate activity summary log in /var/log/endpad.msg. This shows just the actions that EndPad took, so you don't have wade past all the details of its calculations in endpad.log. This logfile is rotated weekly, so you get a longer view. The activity messages now include the channel name and whether the program is a suggestion.

    3) New -debug option runs in the foreground with messages going to the screen and a kill signal check every 5 seconds.

    4) For compatibility between the configuration file and the command-line options, -s and -e can be specified as -startpad and -endpad respectively (and vice versa for the configuration file).

    5) When spawning into the background, use the same tivosh as was used to run endpad.tcl. This allows one to do a few tests on a PC by specifying tclsh explicitly.

    I named this version 1.4.1-md1 to distinguish it from your latest. If you approve of these changes, feel free to include them in any future version you make (and you can drop the "-md1" suffix).

    This probably does all I wanted for the moment. The configuration file format was designed to allow additional selections (eg. by time period, season pass, or wishlist). One possibility would be to allow TivoWeb to update the file and hence schedule soft padding from the Season Pass or To Do list. I might take a look at that if there were sufficient interest (anyone?) - and if you didn't want to run with it (I don't want to tread on your toes, Stuart).

    Tim.
     

    Attached Files:

  15. Apr 12, 2005 #995 of 1197
    maxwells_daemon

    maxwells_daemon New Member

    84
    0
    Apr 9, 2005
    Oxford, UK
    To give an example, here is a snippet from my /var/log/endpad.msg (with the endpad.config settings I gave in my last post).
    Code:
    Tuesday 16:25:00 :  Added 120 seconds end padding to Seinfeld on PARCOM2 (Suggestion)
    Tuesday 17:00:00 :  Added 900 seconds end padding to {Party Election Broadcast by the Conservative Party} on BBC2STH 
    Tuesday 18:58:00 :  Added 60 seconds start padding to {Star Trek: Enterprise} on SKYONE 
    Tuesday 21:45:00 :  Added 120 seconds end padding to {Judge John Deed} on UKDRMA
    It would have added 120 seconds end padding to Enterprise, but Judge John Deed came immediately after.

    I should point out that my TiVo is usually a good left-wing PVR and the Conservatives' election broadcast was only included for political balance. :)

    Tim.
     
  16. Apr 13, 2005 #996 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    No toe-treading Tim; as far as I'm concerned EndPad development is complete. Free free to take it on and run with extra features, so long as the licence is not changed. I'm happy for you to increment version numbers.

    I will however leave the version in the top post as-is, as it's stable, tested with over 1,000 users for over a year, and therefore useful for people who don't want development code controlling their TiVo. :)
     
  17. Apr 13, 2005 #997 of 1197
    iankb

    iankb New Member

    6,468
    0
    Oct 9, 2000
    Reading, UK
    Just in case you're wondering, there is interest in allowing for variable time-slots. e.g. Increase the padding on ITV after 8pm.

    Of course, what I really want is increased padding on ITV after they show a routinely (and intentionally) overrun episode of 'Who Wants to be a Millionaire'. :mad:
     
  18. May 8, 2005 #998 of 1197
    pmk

    pmk New Member

    388
    0
    Jan 1, 2002
    For some reason last night Hit More Baby 1 More Time result show was not recorded at 20:15. This show was in my To Do list and the EndPad log below mentions it once but it was ignored and Doctor Who Confidential got 15 mins of end padding instead of HMB1MT being recorded?

    Can anyone suggest a method of finding out what happened?

    TIA

    Saturday 18:42:00 : Woken up
    Saturday 18:42:00 : Recording {Doctor Who} on BBC1NW now
    Saturday 18:42:00 : Recording Scheduled End Time: 18:45
    Saturday 18:42:00 : Next recording is {Doctor Who Confidential} on BBC3 at 18:45
    Saturday 18:42:00 : Gap to next programme is 0 seconds
    Saturday 18:42:00 : Can't add end padding to {Doctor Who}
    Saturday 18:42:00 : Next end padding setting due 19:10
    Saturday 18:42:00 : Gap to previous recording is 0 seconds
    Saturday 18:42:00 : Can't add start padding to {Doctor Who Confidential}
    Saturday 18:42:00 : Next start padding setting due 19:10
    Saturday 18:42:00 : Next wake up will be 19:10
    Sleeping, checking every minute for kill signal.............................
    Saturday 19:10:00 : Woken up
    Saturday 19:10:00 : Recording {Doctor Who Confidential} on BBC3 now
    Saturday 19:10:00 : Recording Scheduled End Time: 19:15
    Saturday 19:10:00 : Next recording is {Hit Me Baby One More Time} on ITV1GRA at 19:15
    Saturday 19:10:00 : Gap to next programme is 0 seconds
    Saturday 19:10:00 : Added 870 seconds end padding to {Doctor Who Confidential}
    Saturday 19:10:00 : Next end padding setting due 19:25
    Saturday 19:10:00 : Not time to add start padding yet
    Saturday 19:10:00 : Next start padding setting due 19:12
    Saturday 19:10:00 : Next wake up will be 19:12
    Sleeping, checking every minute for kill signal...
    Saturday 19:12:00 : Woken up
    Saturday 19:12:00 : Recording {Doctor Who Confidential} on BBC3 now
    Saturday 19:12:00 : Recording Scheduled End Time: 19:29
    Saturday 19:12:00 : Next recording is {Click Online} on BBC24 at 19:30
    Saturday 19:12:00 : Not time to add end padding yet
    Saturday 19:12:00 : Next end padding setting due 19:24
    Saturday 19:12:00 : Not time to add start padding yet
    Saturday 19:12:00 : Next start padding setting due 19:27
    Saturday 19:12:00 : Next wake up will be 19:24
    Sleeping, checking every minute for kill signal..............
    Saturday 19:24:30 : Woken up
    Saturday 19:24:30 : Recording {Doctor Who Confidential} on BBC3 now
    Saturday 19:24:30 : Recording Scheduled End Time: 19:29
    Saturday 19:24:30 : Next recording is {Click Online} on BBC24 at 19:30
    Saturday 19:24:30 : Gap to next programme is 900 seconds
    Saturday 19:24:30 : Added 900 seconds end padding to {Doctor Who Confidential}
    Saturday 19:24:30 : Next end padding setting due 19:55
    Saturday 19:24:30 : Not time to add start padding yet
    Saturday 19:24:30 : Next start padding setting due 19:27
    Saturday 19:24:30 : Next wake up will be 19:27
    Sleeping, checking every minute for kill signal....
    Saturday 19:27:00 : Woken up
    Saturday 19:27:01 : Recording {Doctor Who Confidential} on BBC3 now
    Saturday 19:27:01 : Recording Scheduled End Time: 19:30
    Saturday 19:27:01 : Next recording is {Click Online} on BBC24 at 19:30
    Saturday 19:27:01 : No end padding required:
    Saturday 19:27:01 : End padding of 900 seconds already set
    Saturday 19:27:01 : Next end padding setting due 19:55
    Saturday 19:27:01 : Gap to previous recording is 0 seconds
    Saturday 19:27:01 : Can't add start padding to {Click Online}
    Saturday 19:27:01 : Next start padding setting due 19:55
    Saturday 19:27:01 : Next wake up will be 19:55
    Sleeping, checking every minute for kill signal.............................
    Saturday 19:55:00 : Woken up
    Saturday 19:55:00 : Recording {Click Online} on BBC24 now
    Saturday 19:55:00 : Recording Scheduled End Time: 20:00
    Saturday 19:55:00 : Next recording is {Crazy Drivers} on FTN (Suggestion) at 20:30
    Saturday 19:55:00 : Gap to next programme is 1800 seconds
    Saturday 19:55:00 : Added 900 seconds end padding to {Click Online}
    Saturday 19:55:00 : Next end padding setting due 20:55
    Saturday 19:55:00 : Not time to add start padding yet
    Saturday 19:55:00 : Next start padding setting due 20:27
    Saturday 19:55:00 : Next wake up will be 20:25
    Sleeping, checking every minute for kill signal...............................
     
  19. May 8, 2005 #999 of 1197
    lcsneil

    lcsneil Shrubber

    385
    0
    Jun 18, 2002
    In a shrubbery
    I suppose the question is what version of EndPad?

    Sanderton's or Maxwells_deamon?


    Neil
     
  20. May 8, 2005 #1000 of 1197
    sanderton

    sanderton TiVoer since 11/2000

    6,341
    0
    Jan 4, 2002
    No idea at all. That log looks very odd. Seems to have added 14 and half minutes padding, then added another 15 on top (making 29 and half in total), while cancelling non suggestions.

    It shouldn't do that, and I've never seen it, or seen it reported before.

    I haven't the least idea why it would do that. I can only think that the guide data for Dr Who Confidential was really, really odd in some way, or some kind of memeory glitch screwed up EndPad's varaiables.
     
Thread Status:
Not open for further replies.

Share This Page