Results 1 to 4 of 4

Thread: Automatically skip start padding with an added bookmark.

  1. #1
    Join Date
    Apr 2004
    Location
    Perth, Western Australia
    Posts
    3,037

    Automatically skip start padding with an added bookmark.

    drnull at DealDatabase has just added a cool feature to endpadplus, which automatically adds a bookmark to the place where a show is meant to start (skipping any start padding).

    I find that I am fast forwarding just about every show to get to the start, but start padding does come in handy sometimes.

    So with this feature when you press play the show is already lined up at it's scheduled start time, but for the few that started early you may need to rewind a little.

    I have modified the code to work with our endpad.tcl, and it works for me. I have not tested it with negative endpadding, as I don't use it but would like to hear if it works.

    As usual with these things no guarantees and if you break something, you own all the pieces.

    Here is the diff between the current release and what has been added.
    Code:
    1380,1383d1379
    <                   # Add Bookmark for this showing to start at the original time
    <                   set nbm [db $db createsub Bookmark $rec]
    <                   dbobj $nbm set TimeMs [expr $startpadtoset * 1000]
    <                   dbobj $rec set Bookmark $nbm
    This is what it looks like in the code.
    Code:
              if {$startpadtoset > 0} {
                RetryTransaction {
                  # Alter the database record to add the padding
                  set db [dbopen $dbPoolSize]
                  set rec [db $db openid $nextrecfsid]
                  dbobj $rec set StartPadding $startpadtoset
                      # Add Bookmark for this showing to start at the original time
                      set nbm [db $db createsub Bookmark $rec]
                      dbobj $nbm set TimeMs [expr $startpadtoset * 1000]
                      dbobj $rec set Bookmark $nbm
                  dbclose $db
                }
                msg " Added $startpadtoset seconds start padding to $ntitle on $ncallsign $ntypestring"
              } else {
                log " Can't add start padding to $ntitle"
              }
    Note that those people on very old OzTiVo images may still be using endpadplus, this version will not work on endpadplus. Use the version on DealDatabase instead.

    Peter.

    I have attached a copy of the pached endpad.tcl, this is based on the current 1.5.4 version which is newer than most peoples 1.5.1, but is a direct replacement.
    _______________________________________________
    Attached Files Attached Files
    Last edited by petestrash; 23-07-2008 at 02:42 PM. Reason: Added v1.5.4 based attachment
    Please search this forum and our Website for your TiVo questions before starting a new thread. Thanks!

  2. #2
    Join Date
    Feb 2007
    Location
    NSW
    Posts
    108
    Is this really based on 1.5.4? The new file still says 1.5.1
    Anyway, I'm going to give it a try. Could be a useful feature - thanks

    Matt

  3. #3
    Join Date
    Apr 2004
    Location
    Perth, Western Australia
    Posts
    3,037
    Good catch, I uploaded the wrong one. It has the fix, but is based on the 1.5.1 version same as the OzTiVo distribution.

    I'll put the right one up soon.

    Peter
    Please search this forum and our Website for your TiVo questions before starting a new thread. Thanks!

  4. #4
    Join Date
    Apr 2004
    Location
    Perth, Western Australia
    Posts
    3,037
    Attachment has been fixed.

    Peter.
    Please search this forum and our Website for your TiVo questions before starting a new thread. Thanks!

Similar Threads

  1. Can't automatically transfer videos from PC to Tivo
    By stephg in forum Australian TiVoHD
    Replies: 6
    Last Post: 19-10-2012, 10:03 AM
  2. 'Show already being recorded' end padding bug.
    By Skolink in forum NZ TiVoHD
    Replies: 0
    Last Post: 11-10-2010, 10:47 AM
  3. automatically set 30 second skip
    By Phred in forum Question and Answer Forum
    Replies: 3
    Last Post: 28-01-2007, 11:51 PM
  4. Negative padding hack
    By tonys in forum Software Upgrades/Mods
    Replies: 1
    Last Post: 27-08-2005, 12:24 AM
  5. Saturn support added to the Emulator
    By ehintz in forum New Zealand General Forum
    Replies: 0
    Last Post: 01-10-2004, 06:22 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •