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. Apr 27, 2013 #5141 of 10413
    reneg

    reneg Member

    699
    0
    Jun 19, 2002
    Thanks for adding [season] & [episode] keywords.
     
  2. Apr 27, 2013 #5142 of 10413
    howards

    howards Member

    77
    1
    Oct 31, 2007
    Thanks as always for the new version and your continued support of a program that far exceeds anything Tivo provides.
     
  3. Apr 27, 2013 #5143 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    For next release I'm adding a "SPS backdoor" button to remote along with a pulldown to select SPS code to run (replacing the 2 SPS buttons currently there). I'd like to add all known SPS codes that still work on series 3 & 4 TiVos so I can include them. Listed below are the ones I'm aware of. If anyone has any others please let me know:
    SPS-Pause-S Toggle 'clear trickplay banner quickly' setting
    SPS-9-S Toggle on screen clock
    SPS-3-0-S Toggle 30 sec skip binding of advance button (survives reboot)
    SPS-Replay-S Toggle display of some video information on the screen
    SPS-7-S (Series 3 TiVos only) Toggle display of calibration map for centering and overscan
    SPS-8-8-S (Series 4 TiVos only) Toggle '4th FF press returns to play speed' setting
     
  4. Apr 28, 2013 #5144 of 10413
    wuzznuubi

    wuzznuubi New Member

    118
    0
    Jan 16, 2013
    Thanks for the continuing work on kmttg. I can't imagine life without it!

    Question on series & episode...

    Am I correct in assuming that all three of these keywords are derived from the TiVo's metatdata `episodeNumber` and that without it they will be null?
    [episode]
    [season]
    [SeriesEpNumber]

    per RELEASE NOTES
    Code:
    v0p9q (4/27/2013)
      ENHANCEMENTS
       Added [season] and [episode] keywords as options for File Naming setting.
    
    v0p9p (3/30/2013)
      ENHANCEMENTS
       By request [SeriesEpNumber] field was added as an option for TiVo File Naming which is Episode number in Plex Media Manager format: s#e# Note that it is assumed the episode number is 2 digits which is not always the case for every series.
     
  5. Apr 28, 2013 #5145 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    Yes. Plus if the original XML listings pulled from TiVos don't have episodeNumber information (which is the case for many series) then kmttg also tries to get the data using supplemental mindrpc data instead (either directly from TiVos for series 4 TiVos or from tivo.com if your TiVo login + password is available for series 3 TiVos). The supplemental data is typically much more complete than the XML data. Also obviously for non-episodic shows the data won't be available, so if downloading non-episodic shows as well you may want to use conditional keywords (see the Wiki on that).
     
  6. Apr 28, 2013 #5146 of 10413
    wuzznuubi

    wuzznuubi New Member

    118
    0
    Jan 16, 2013
    Would this "supplemental mindrpc data" be visible if I press the "j" key on an item (row) in kmttg's NPL of one of my S4 TiVo's?
     
  7. Apr 29, 2013 #5147 of 10413
    RedMan8

    RedMan8 Member

    195
    0
    Sep 30, 2005
    I've been using KMTTG for years without any issues (amazing program)... but recently my computer crashed and I set up a brand new one. Everything installed and started working from scratch very easily!
    (again... amazing program!)

    The only issue I've found is that ProjectX can't handle some shows. They are "mpg" files, but I get an error in the log when ProjectX tries to cut their commercials:
    2013_04_22_16:49:52 ERROR: xcl file not found: C:\Users\RedMan\Documents\Current\00KMTTG\Family Feud (04_22_2013)(15_00).mpg.Xcl
    2013_04_22_16:49:55 ERROR: input video=eia-608: projectxcut only supports mpeg2 video

    It "feels" like I'm missing a codec or something??

    Thanks again for the continued development and support of this!!
    :)

    -RedMan
     
  8. Apr 29, 2013 #5148 of 10413
    mlippert

    mlippert New Member

    59
    0
    Apr 2, 2010
    Massachusetts
    I didn't know that you had implemented conditional keywords. Cool.

    So I just went and checked them out and I've got an enhancement request for your queue :).

    You mentioned that non-episodic shows obviously won't have episode numbers, and that made me realize that I would like my shows named like so:

    Episodic shows:
    Code:
    [mainTitle] ["- s" season]["e" episode " - "][episodeTitle " "] ([month]_[mday]_[year], [channel])
    produces:
    Doctor Who - s7e08 - Cold War (Apr_13_2013, BBCAHD)

    Non-episodic shows:
    Code:
    [mainTitle] ["(" movieYear ") "]([month]_[mday]_[year], [channel])
    produces:
    Holiday in Handcuffs (2007) (Dec_21_2012, ABCFHD)

    Hmm, as I write this out it looks more complicated to implement than I originally thought.
    What I think I'm describing is to get either [" -s" season]["e" episode " -"] [episodeTitle] in the middle for episodic shows or ["(" movieYear ")"] for non-episodic shows. But I don't see a neat way to specify that.

    Well maybe you (moyekj) or someone else has some thoughts on a clean syntax that could accomplish this. Currently I just perform the minor edits by hand when I move the files to my NAS. The naming convention I describe above works well for media used by a Plex server. I have it set up for use both by Plex and by pyTivo.

    Anyway thanks for listening :)
    Mike
     
  9. Apr 29, 2013 #5149 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    Except for the fact that [movieYear] keyword is not available something like the following would work:
    Code:
    [mainTitle] ["- s" season]["e" episode " - "][episodeTitle " "][" (" movieYear ") "] ([month]_[mday]_[year], [channel])
    
    season, episode, episodeTitle would all be null for movies, movieYear null for episodic shows. I'll look into adding [movieYear] keyword for next release (movieYear is a pretty recent addition and only available from supplemental data). Also note that [SeriesEpNumber] can be used to get the syntax you want for season + episode.
     
  10. Apr 29, 2013 #5150 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    I don't add all the supplemental data, but simply the extra data I'm looking for if not already available from XML:
    recordingId
    originalAirdate
    EpisodeNumber (derived from seasonNumber & episodeNum)
    movieYear

    So the above would be visible if available when pressing 'j'.
     
  11. Apr 29, 2013 #5151 of 10413
    mlippert

    mlippert New Member

    59
    0
    Apr 2, 2010
    Massachusetts
    Awesome, thanks!
     
  12. May 1, 2013 #5152 of 10413
    merrickw

    merrickw Member

    46
    0
    Jul 29, 2002
    Manhattan
    Years ago, a tech from VideoRedo told me that when VideoRedo saves as .tivo, it is saving a decrypted mpeg2 with the tivo header attached.

    Assuming this is true, my question is when QS FIX runs, does it also save a .tivo as .mpeg2 with the TiVo header attached? And if yes, can Auto Transfer qs fix be configured to output a .tivo file in that format?
     
  13. May 1, 2013 #5153 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    No setting for that. The only point in preserving as .TiVo is if you are going to send it back to a TiVo, and for that QS Fix is not necessary.
     
  14. May 1, 2013 #5154 of 10413
    merrickw

    merrickw Member

    46
    0
    Jul 29, 2002
    Manhattan
    Thanks. I like to keep my options open. Since, QS fix does fix sync issues, I was hoping to keep it in tivo format and cleaned up with QS fix.
     
  15. May 1, 2013 #5155 of 10413
    Beven

    Beven New Member

    10
    0
    Sep 6, 2011
    Very odd - I haven't changed anything myself, but lately kmttg has been unable to delete anything from my TiVo after encoding - any ideas?

    ---DONE--- job=decrypt output=D:\from_tivo\Worlds Wildest Police Videos (05_01_2013).mpg
    (Deleted file: D:\from_tivo\Worlds Wildest Police Videos (05_01_2013).TiVo)
    recordingId not available for this entry
    iPad Delete got null recordingId
    Failed to delete show on TiVo
    >> ENCODING WITH PROFILE 'hb_ipod' TO FILE D:\tivo_encoded\Worlds Wildest Police Videos (05_01_2013).m4v ...
    C:\kmttg\handbrake\HandBrakeCLI.exe -i "D:\from_tivo\Worlds Wildest Police Videos (05_01_2013).mpg" -t 1 -c 1 -f mp4 -I -X 320 -e x264 -b 700 -a 1 -E faac -B 160 -R 48 -6 dpl2 -D 0.0 -x level=30:bframes=0:cabac=0:ref=2:vbv-maxrate=768:vbv-bufsize=2000:analyse=all:me=umh:no-fast-pskip=1:subq=6:8x8dct=0:trellis=0:weightb=0:mixed-refs=0 -v 1 -o "D:\tivo_encoded\Worlds Wildest Police Videos (05_01_2013).m4v"
    encoding job completed: 0:20:49
    ---DONE--- job=encode output=D:\tivo_encoded\Worlds Wildest Police Videos (05_01_2013).m4v
    (Deleted file: D:\from_tivo\Worlds Wildest Police Videos (05_01_2013).mpg)
     
  16. May 1, 2013 #5156 of 10413
    merrickw

    merrickw Member

    46
    0
    Jul 29, 2002
    Manhattan
    One other issue I hit when I setup my first auto-transfer, the files were being written to c:\kmttg instead of the network location set in the config. This doesn't happen in GUI mode. Any idea why that happens?
     
  17. May 1, 2013 #5157 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    You have to run service using your username, not the default system user which doesn't have access to network shares by default. Consult the auto_transfers Wiki.
     
  18. May 2, 2013 #5158 of 10413
    jcthorne

    jcthorne Active Member

    2,726
    3
    Jan 28, 2002
    Houston
    I have a request I've been mulling over for a while. Thought I would throw this out there in case anyone else uses kmttg in a similar fashion as me.

    Across the top of the window are a row of check boxes to select the functions for each job. Trouble is, while the set of functions for download, decrypt etc from a TiVo are consistent for all 3 of my tivos, the files tab is used for processing and pushing TO a TiVo and the functions needed for that tab are always the same but different from those used for downloading.

    Could the function check boxes be remembered for EACH tab?
     
  19. May 2, 2013 #5159 of 10413
    moyekj

    moyekj Well-Known Member

    11,150
    33
    Jan 23, 2006
    Mission...
    Personally I think I would find that somewhat annoying, but maybe that's just me. Set up a set of tasks and then switch to another TiVo or FILES mode and find that settings reset to something else. Not sure if it would be worth the added coding complications to implement.
     
  20. May 2, 2013 #5160 of 10413
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,739
    9
    Apr 6, 2000
    SF Bay Area
    Although it may not be worthwhile when switching between TIVos, but to Files might be, because I tend to do some other job while in FILES such as push. BTW, shouldn't Push be disable while you are under a Tivo tab? I find it annoying to have my regular jobs, Meta, decrypt, QSF and I forgot push was also enabled and that job was appended to my job list.
     

Share This Page