1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

New program for 1 step TTG downloads, decryption, encoding - kmttg

Discussion in 'TiVo Home Media Features & TiVoToGo' started by moyekj, Mar 15, 2008.

  1. Mar 20, 2017 #10661 of 10673
    lpwcomp

    lpwcomp Well-Known Member

    8,387
    56
    May 6, 2002
    John's...
    Did you actually change the names on the TiVos? What does your account at tivo.com show?
     
  2. Mar 20, 2017 #10662 of 10673
    moyekj

    moyekj Well-Known Member

    11,302
    100
    Jan 23, 2006
    Mission...
    If you recently renamed TiVos you MUST reboot the TiVos in order for them to properly advertise the new names - that is an age old TiVo bug. Also under kmttg config--Tivos tab you can turn off "Look for TiVos on network" to disable discovery in case the above is not the issue.
     
  3. Mar 21, 2017 #10663 of 10673
    tluxon

    tluxon Member

    287
    2
    Feb 28, 2002
    Kirkland, WA
    Yes, the TiVos and the PC have each been rebooted since editing the names under MyAccount on tivo.com. It seems the only way I can get the old names to NOT appear is to turn off "Look for TiVos on network", but I wasn't sure if that was the most desirable setting.
     
  4. Mar 21, 2017 #10664 of 10673
    ThAbtO

    ThAbtO TiVoholic by the bay

    7,064
    33
    Apr 6, 2000
    SF Bay Area
    Normally, when you change the Tivo Name on tivo.com, DVR Preferences, you need to force the Tivo Connections, and when complete, reboot.
     
  5. Mar 21, 2017 #10665 of 10673
    tluxon

    tluxon Member

    287
    2
    Feb 28, 2002
    Kirkland, WA
    Okay, I believe I got to the bottom of it. It could be merely a function of a certain number of connects and reboots and time lapsed. However, it also correlates to correcting an issue with the Netgear router I use. This router steers toward "reserving" IP addresses to devices that connect via DHCP rather than the classic technique of setting up static IPs. I actually like the reservation method better, but I had forgotten to reserve the IP address the new Bolt was using, and it changed to another available IP upon a recent reboot. I'm not completely certain, but locking in a reserved IP address for the new Bolt seems to have permitted all the other TiVo naming issues to be resolved.

    Thanks for the helpful suggestions.
     
  6. Mar 21, 2017 #10666 of 10673
    Dex1138

    Dex1138 New Member

    3
    0
    Mar 2, 2005
    Lynn, MA...
    Hiya! I just discovered kmttg and am excited to get crackin with it.
    This may be a case of RTFM (I hope not) but no matter what profile I select, it will download to .Tivo and then convert to .ts
    Any ideas what I might be missing?
    TIYA!
     
  7. Mar 21, 2017 #10667 of 10673
    lpwcomp

    lpwcomp Well-Known Member

    8,387
    56
    May 6, 2002
    John's...
    The decrypt step converts a .tivo file downloaded as transport stream to a .ts file. It's the encode step that will transcode it according to the profile.
     
  8. Mar 21, 2017 #10668 of 10673
    Dex1138

    Dex1138 New Member

    3
    0
    Mar 2, 2005
    Lynn, MA...
    Thank you!
     
  9. Mar 21, 2017 #10669 of 10673
    ThAbtO

    ThAbtO TiVoholic by the bay

    7,064
    33
    Apr 6, 2000
    SF Bay Area
    If you have "Download in Transport Stream" checked in options, then the downloads will decrypt to .TS. Unchecking that, will download in Program Stream and decrypted will yield .MPG MPEG2 video. However, if the recording is from a h.264/MPEG4 source, then the only option is to use TS.
     
  10. badams888

    badams888 New Member

    20
    2
    Jun 6, 2016
    Is the autoskip pad being used to decide when to skip?

    First let me say that I actually want it to skip a bit more so it doesn’t show as much of the ads (I’d prefer to miss a few seconds than see an ad for a few seconds), so I chose a value of –2 for the autoskip pad. This should mean it would skip 2 seconds early, and skip to 2 seconds beyond the skiptable end value.

    Here’s what I’m finding. I turned on the debug log (-d) and set the pad to a value of –6, (so I could more easily see if it was doing it). I was expecting this to both start the skipping 6 seconds early, and skip to 6 seconds plus the value in the skip table.

    While it did indeed skip to +6 seconds, the log showed that the time it would do the jump was equal to the time in the skip table, thus ignoring the pad on the front end of the skip.

    Am I misunderstanding how this works?

    By the way, it would be handy if one could specify separate values for the pad (i.e. 2 pad values, one for when to jump, and another for where to jump to).
     
  11. moyekj

    moyekj Well-Known Member

    11,302
    100
    Jan 23, 2006
    Mission...
    Without looking at code, and just going by the tooltip, the expected behavior is:
    new start point = start point - padding
    new stop point = stop point + padding

    i.e. A positive value should make you see more commercials by starting a little earlier for show start points and skipping a little later for stop points.

    So a negative value should theoretically be the opposite: start later for show start points and end sooner for show end points. But I haven't looked at code in a while and I don't use the padding myself so haven't tested it in a while.
     
  12. badams888

    badams888 New Member

    20
    2
    Jun 6, 2016
    I believe that for negative pad values to work, the routine getClosest needs to check for the pad adjustment as well. Otherwise, it returns -1 and won't trigger the skip until the position is inside the skip-table range.

    The following works for me, though I didn't check all possible situations and only tested with one show.

    Code:
          int pad = config.autoskip_padding*1000; // <<<<<  added pad variable
          // If current pos is within any start-end range then no skip necessary
          for (Hashtable<String,Long> h : skipData) {
             if (pos >= h.get("start") && pos <= (h.get("end")+pad)) {  // <<<<< +pad added here
                return -1;
             }
          }
    
    One reason this works is that most shows do a fade to black before the first ad begins. By skipping a few seconds early, one doesn't tend to lose any of the show and makes for a near perfect effect. But I guess it depends on how accurate Tivo makes the skip data.
     
  13. moyekj

    moyekj Well-Known Member

    11,302
    100
    Jan 23, 2006
    Mission...
    OK, thanks for pinpointing. Though in your code adjustment the pad for start time is missing, so should be:
    Code:
    if (pos >= (h.get("start")-pad) && pos <= (h.get("end")+pad))
    
     

Share This Page