Automatic soft padding running on the TiVo (new version)

Discussion in 'TiVo Series 1 - UK' started by maxwells_daemon, Feb 11, 2006.

  1. riw20

    riw20 New Member

    7
    0
    Dec 7, 2002
    Cambridge, UK

    Advertisements

    Is it possible to install Endpad without having Tivoweb or a cachecard? I have just done my first tivo surgery (replacing dead original HDD with new 300GB HDD) and might be getting the bug. However the Tivo is flipping miles from my PC and the cabling would be a nightmare. I'meven dubious whether I'd even get there with a wireless bridge, so seems a bit pointless to buy a cachecard just for installing hacks.
     
  2. AMc

    AMc Active Member

    2,623
    0
    Mar 22, 2002
    East of England
    Yes it is I described how to do it in this post...you'll need to remove the drive again
    http://www.tivocommunity.com/tivo-vb/showthread.php?p=4733241&&#post4733241
    Feel free to point out any ommissions, corrections or bits that are confusing.

    If you have a PC with a serial port then you may want to explore enabling serial access on the Tivo and getting a lead made up so you can fiddle with Tivo without pulling it to bits.

    AMc
     
  3. Pete77

    Pete77 New Member

    7,968
    0
    Aug 1, 2006
    Not Far...
    You can instead network the Tivo to your router or PC through ethernet adapters that work over your existing mains power supply as the cabling. These are a lot simpler and more reliable than any long distance wireless connection.
     
  4. riw20

    riw20 New Member

    7
    0
    Dec 7, 2002
    Cambridge, UK
    Thanks AMc and Pete77. Will try without Cachecard and see how we go! Powerline idea is a good one to fall back on.

    Richard
     
  5. Pete77

    Pete77 New Member

    7,968
    0
    Aug 1, 2006
    Not Far...

    Advertisements

    Powerline idea relies on also having a network card in the Tivo.

    AmC's suggestion does in theory let you install Endpad without a Cachecard though.
     
  6. SJC

    SJC New Member

    118
    0
    Mar 21, 2004
    Widnes Cheshire
    "To start EndPad every time the TiVo starts up, add the following line to /etc/rc.d/rc.sysinit.author"
    When I FTP into Tivo I find that the /etc directory is empty, how therefore do I modify the sysinit.author?
    I can remember editing this when I had the Tivo drive in my PC during upgrade but I don't know how to re-access it now.
    All tips welcome.
     
  7. atari_addict

    atari_addict New Member

    74
    0
    Mar 28, 2002
    Watford
    You need the top level /etc directory, not the one in /var (which is empty on mine also).
     
  8. Sep 3, 2007 #268 of 394
    Duncan

    Duncan New Member

    20
    0
    Nov 1, 2002
    Endpad has started doing something weird on our Tivo: it isn't adding any padding to the end of programs, and seems to be cancelling some recordings. I tried stopping and restarting endpad but that doesn't seem to have helped. As you can see from the log pasted below, it seems to think it is constantly recording a suggestion when it isn't. The last log entry 4 minutes before the start of 'The amazing race' said it had added 3 minutes padding to the start (which it shouldn't have because the previous program was still recording), but in fact 'The amazing race' didn't get recorded.

    The times are all out by an hour, but I guess that is just a timezone issue.

    Any suggestions?
     
  9. Sep 3, 2007 #269 of 394
    TCM2007

    TCM2007 New Member

    3,947
    0
    Dec 25, 2006
    Endpad thinks it's recording that suggestion because that's what the database it telling it is going on. So it sounds as if the database is screwed up. Tried a restart?
     
  10. cwaring

    cwaring VM Tivo User

    9,015
    0
    Feb 11, 2002
    Knaresboroug...
    There's nine pages here and I don't have time to wade through them all :(

    I'm recording some old episodes of something back-to-back this afternoon (same channel) and would like each recording to start, say, 1 minute early; ie cut off the previous ep by 1 minute.

    Can EndPad handle this and how?
    Would this work:

    Code:
     programme Buffy endpad -1 
    Thanks.

    ETA: Ahh! After reading a few more posts, it looks like this can't be done :( Oh well!
     
  11. Apr 8, 2008 #271 of 394
    jed

    jed New Member

    105
    0
    Oct 16, 2001
    Portsmouth,...
    With reference to the above I'm having problems.
    I can see a /mnt4/etc/rc4.d however can't see a /mnt7/etc/rc4.d
    also I'm not convinced /mnt9 is where /var lives
    If I page back up through the linux boot I can see
    hdb1 has Bootstrap1
    hdb4 has Bootstrap 2
    hdb7 has Linux swap
    hdb8 has /var
    hdb9 has MFS appl region

    So I had thought rather than use /mnt4 and /mnt7 I should use /mnt4 and /mnt1 however an ls on /mnt1 suggests it is empty!
    I assume since this is a recently restored drive there is no backup (which would be on /mnt1?) Does this mean I only do this on /mnt4 and then use /mnt8 for my /var - although if I try this /mnt8 can't be changed to as it appears to be swapspace, so maybe it is 9?!

    Thanks,
    Jed
     
  12. Apr 9, 2008 #272 of 394
    AMc

    AMc Active Member

    2,623
    0
    Mar 22, 2002
    East of England
    Hi Jed,

    As I said in the original post...
    This is the section on mounting the filesystem
    http://tivo.stevejenkins.com/network_cd.html#_Toc101001756

    My understanding doesn't go much beyond that I'm afraid. As far as I can tell the active and inactive operating systems are always on 4 and 7 and var is on 9 but I'm no expert.

    My initial thought is that may be you've restored a virgin image and until this is initialised in Tivo as part of guided setup it isn't set up how that guide suggests?

    I assume you've restored a version of 2.5.5 from the thread here?
    Have you run guided setup since you did that?
     
  13. Gavin

    Gavin Member

    437
    0
    Jan 1, 2003
    Harlow, Essex
    Hi, My Endpads not starting from the sysinit.author file.

    The line is

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

    but it's not starting, is there a problem using the -s and -e strings in the .author file? I have tivoweb in the same file so I know it's being read OK. Taking the main part of the string and removing the -auto and >> part it starts OK, so any suggestions greatfully recieved
     
  14. Ian_m

    Ian_m Active Member

    1,518
    0
    Jan 9, 2001
    Southampton,...
    Double > issue.

    My rc.sysinit.author.edit contains.

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

    Could I suggest you use TiVoWeb startup editor as editing rc.sysinit driect is very dangerous :eek:
     
  15. Tim L

    Tim L New Member

    151
    0
    Jan 5, 2002
    London, UK
    The readme for endpad uses >> in its example. What does that bit do anyway?

    Also, what's the tivoweb startup editor?

    You've got me worried now, because I added endpad to my rc.sysinit.author last night.
     
  16. Gavin

    Gavin Member

    437
    0
    Jan 1, 2003
    Harlow, Essex
    it's on the .author exactly so I don't have to go near the .sysinit

    I'm not that brave, or Unix literate, I just copied it from the example.. :)
     
  17. Tim L

    Tim L New Member

    151
    0
    Jan 5, 2002
    London, UK
    Can anyone help me out with these please?
     
  18. whitebj

    whitebj Not-so New Member

    46
    0
    Sep 8, 2002
    Surrey, UK
    Hesitate to offer my views given the much greater expertise of others ...

    (caveat: this is how I have it working which seems to be OK for me)

    Sanderton's startup editor is a less risky way of editing a file that can be run as part of the Tivo startup. The editor is an extra module for TivoWeb and enables editing using a browser so you don't need to keep transferring files to/from the Tivo using FTP. It also mitigates the issue of some text editors not editing unix-type text files 'properly'.

    Here's a link to a thread about this (there may be other threads):
    http://archive2.tivocommunity.com/tivo-vb/showthread.php?s=&threadid=146542

    (Unfortunately, when threads get archived, they're a bit hard to find from the TivoCommunity search button but thankfully, the admins let Google index the archives so you can search through Google.)

    Here is the contents of my extra startup file that I can see using the startup editor

    #!/bin/bash
    /var/hack/tivoweb-tcl/tivoweb >> /dev/null &
    /var/hack/endpad.tcl -s 2 -e 5 -auto >> /dev/null &

    As I understand it, the >> /dev/null & bit means that the messages generated when the two items of software run (which would have gone to e.g. a Telnet window) are "thrown away". The reason is that, once you know it's working OK, you don't need to see the messages any more. The ampersand is so that the software runs in the background.

    Hope this helps
     
  19. atari_addict

    atari_addict New Member

    74
    0
    Mar 28, 2002
    Watford
    I am not an expert, but I would expect this to be true:

    >> Send the output of the command to the specified device - in this case to nothing (device null). I suspect the single > you mentioned is a typo.
     
  20. verses

    verses TiVoTiVoTiVoTiVoTiVo

    331
    0
    Nov 6, 2002
    When you run a command in Linux, "date" for example, its output is sent to the terminal that you ran it from. If you are using Windows telnet in a DOS box the output will be displayed in that window, below where you ran the command.

    If you wanted the output in a file instead you can run "date > myfile".
    If you reran the above, the file "myfile" would be overwritten with the new output of the "date" command.

    If you wanted the output to append to the original file rather than overwriting it you can use the double greater-than, "date >> myfile". Now each time you run the command, the output of "date" will be appended to the file "myfile" and the file will get larger each time the command is run.

    Linux has some "special" files, one of which is "/dev/null". Redirecting the output of an application to that basically just throws the output away. This is very useful when running commands at startup so that their output isn't accidentally being stored in memory with the potential to cause problems once too much output has built up.

    The upshot of this is using ">" or using ">>" should have little impact on what you're attempting to do. Incidentally I'm just using the single ">".

    Hope that helps.

    Cheers.

    Ian

    PS: I hope "date" is part of the standard TiVo command-set :)
     

Share This Page

spam firewall

Advertisements