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. Jan 2, 2011 #2941 of 10411
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    Don't know anything about Mac platform but on Windows platform the File Browser gives access to all volumes and in Linux I can get to all automounts as well.
     
  2. Jan 5, 2011 #2942 of 10411
    mattack

    mattack Active Member

    20,734
    4
    Apr 9, 2001
    sunnyvale
    Another bug.. Toggling "Show Folders" while it's getting the now playing list gets another exception...



    java.lang.NullPointerException
    at com.tivo.kmttg.gui.nplTable.displayFlatStructure(nplTable.java:544)
    at com.tivo.kmttg.gui.nplTable.RefreshNowPlaying(nplTable.java:517)
    at com.tivo.kmttg.gui.tivoTab$7.actionPerformed(tivoTab.java:197)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:269)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:5602)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3129)
    at java.awt.Component.processEvent(Component.java:5367)
    at java.awt.Container.processEvent(Container.java:2010)
    at java.awt.Component.dispatchEventImpl(Component.java:4068)
    at java.awt.Container.dispatchEventImpl(Container.java:2068)
    at java.awt.Component.dispatchEvent(Component.java:3903)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
    at java.awt.Container.dispatchEventImpl(Container.java:2054)
    at java.awt.Window.dispatchEventImpl(Window.java:1801)
    at java.awt.Component.dispatchEvent(Component.java:3903)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


    and ok, I see now that it *beeps* when it gets the error getting now playing list.. I wish I could turn off that beep.... (and I wish it would use the portion of the now playing list that it had successfully gotten...)
     
  3. Jan 6, 2011 #2943 of 10411
    trstno141

    trstno141 New Member

    3
    0
    Jan 25, 2006
    I just upgraded my TiVo HD to a new 1 TB hard drive and kmttg no longer shows how much free space I have. It just says 0 GB FREE. I've got the latest version v0p7r and it doesn't show any error messages.
     
  4. Jan 6, 2011 #2944 of 10411
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,719
    7
    Apr 6, 2000
    SF Bay Area
    You have to input the space yourself. A 1TB drive will have 915 Mb of total space.
     
  5. Jan 7, 2011 #2945 of 10411
    trstno141

    trstno141 New Member

    3
    0
    Jan 25, 2006
    I don't see where to add that. 915 GB not Mb. :)
     
  6. Jan 7, 2011 #2946 of 10411
    innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    After you enter 915, hit enter. It doesn't update until you hit enter.

    It is at the top of the disk usage screen.
     
  7. Jan 7, 2011 #2947 of 10411
    ThAbtO

    ThAbtO TiVoholic by the bay

    6,719
    7
    Apr 6, 2000
    SF Bay Area
    You should see the 'Disk Usage' button, press that, then enter 907.0 and press enter. I now say 907 gb because that is what I have mine set for my 1 Tb.
     
  8. Jan 7, 2011 #2948 of 10411
    trstno141

    trstno141 New Member

    3
    0
    Jan 25, 2006
  9. Jan 9, 2011 #2949 of 10411
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    i am working with an evaluation version of video redo and playing with the integration with kmttg. I want the cut files to come out in the cut directory but without the _cut tag on them. I have looked and looked thru the setting and the forum and cannot find out how to do this. Is there no user setting to remove this. I know if I manually do the editing and saving, then I can rename them or rename them afterward, but kmttg is so friendly that I figured there is a way to change this but cannot find it. If not, can anyone suggest a good file renamer program so that I could strip that off my completed files when done.

    Question 2/suggestion if it doesnt exist. I have a bunch of files I downloaded earlier and they all have metadata. When I load them into kmttg to process like editing with videoredo, it doesn't pick up the tag info, so I have to manually copy the tag once the files are processed. Is there any way to have this happened and if not, it seems like a great suggestion going forward.

    Thanks in advance for your help. I did really try and find the answers but couldnt and I know there are people who do this everyday who know how to do it.
     
  10. Jan 9, 2011 #2950 of 10411
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    There's no way currently around it as that convention was in place before option to define .mpg Cut output dir was available and thus the suffix was necessary since cut file always ended up in same dir as mpg file.
    I've checked in an update for next release related to _cut suffix which will help you in future:
    If .mpg Cut Dir is defined as a different directory than .mpg Output Dir then the _cut suffix is no longer used for the output mpeg file name for the Ad Cut task.

    Something like the following batch script for windows can remove _cut string from all file names in a given directory.

    file_rename.bat
    Code:
    @echo off
    rem Script to remove _cut from file names in a specified folder
    
    setlocal
    set workDir=.
    if not "%~1"=="" set workDir=%~1
    if not exist "%workDir%" echo %~1 does not exist&goto :EOF
    
    pushd "%workDir%"
    for /f "tokens=*" %%a in ('dir /b /a-d "*" 2^>NUL') do call :PROCESS "%%a"
    popd
    
    goto :EOF
    
    :PROCESS
    set fileName=%~1
    set orig=%~s1
    set basename=%~nx1
    set dirname=%~dp1
    set new_basename=%basename:_cut=%
    set new=%dirname%%new_basename%
    if not "%orig%" == "%new%" (
       rem Move operation changed to echo for testing purposes
       echo move "%orig%" "%new%"
    )
    
    NOTE: Obviously remove the "echo" on 2nd last line to actually do it - currently the script will just show what it's going to do.
     
  11. Jan 9, 2011 #2951 of 10411
    sanjonny

    sanjonny New Member

    202
    0
    Nov 2, 2008
    Awesome, thanks for the help on both questions!
     
  12. Jan 10, 2011 #2952 of 10411
    cweb

    cweb New Member

    106
    0
    May 29, 2004
    I just did a clean install of my kmttg & video redo setup to a new multi-core machine. I use qsfix (in kmttg) to do both decoding & qsfixing.

    If I remember correctly qsfix use to take some 30+min to complete. Now it takes only around three minutes. Its such a improvement, I worry I forgot to configure some setting. The resulting encodes seem ok.

    Any thoughts? Thanks in advance.
     
  13. Jan 11, 2011 #2953 of 10411
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    3 minutes is much more like it. On my 3 year old core 2 duo laptop it takes ~ 5 mins per 1 hour of HD recording to run qsfix (combined decrypt + qsfix).
     
  14. Jan 11, 2011 #2954 of 10411
    bwall23

    bwall23 New Member

    73
    0
    Jun 8, 2009
    Anyone notice when downloading from 2+ TiVo's that things download / process out of order?

    I'm doing this in the GUI on Win7-64 using v0p7r.

    It appears to finish downloading / processing everything, but things appear to run out of order.

    i.e. you would think if you started processing a show on TiVo-1, then a show on TiVo-2, that it would download & process everything for TiVo-1 first, then TiVo-2. But it appears to be atomizing things in some unknown order and jumping from one TiVo to the next and back.

    Guess maybe it's time to add more information about the settings, as I can't figure out this behavior from the WiKi?

    example:
    OPTIONS: metadata, download(implied), custom (post-process)
    ACTION1: TIVO1_show started (TiVo [3] HD, me fast)
    ACTION2: TIVO2_show started (TiVo [4] Premiere, me faster)
    RESULT1: TIVO1_show metadata generated
    RESULT2: TIVO2_show metadata generated
    RESULT3: TIVO2_show download
    RESULT4: TIVO1_show download
    RESULT5: TIVO1_show post-process
    RESULT6: TIVO2_show post-process

    RESULT7: Operator confused and shrugs?!?
     
  15. Jan 11, 2011 #2955 of 10411
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    I don't really see anything odd there. For 2 different TiVos the tasks for 1 TiVo have no bearing/influence on the other and kmttg scheduler runs tasks in parallel whenever possible unless limited by your "active job limit" setting (which only influences non-download CPU intensive jobs such as decrypt/encode).

    In this example:
    Obtaining TIVO1 metadata may have taken a little longer than obtaining TIVO2 metadata which would explain why TIVO2 download started first.
    If TIVO1 post-process started first that just means that download completed before the TIVO2 download did.
     
  16. Jan 11, 2011 #2956 of 10411
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    This sometimes comes back to bite me. :(

    I use the loop in GUI option (thanks for this!). Occasionally, I'll stop kmttg to clear the log. Upon restart, I've had occasion where loop in GUI wasn't checked and has gone unnoticed for several hours. When I finally do enable the option, I get quite a few items in the job queue. With downloading unhindered, I've at times run out of disk space which then causes a bunch of other problems:

    ERROR: curl: (23) Failed writing body
    ERROR: tivodecode failed (exit code: 6 )
    QSFix failures writing to disk
    ERROR: source file not found
    ERROR: vprj file not found
    ERROR: mpeg file not found
    ERROR: This is not a valid video file to be pushed

    I have a custom command that deletes successfully pushed files which normally keeps my disk relatively clean, but there are times when the number of downloads exceeds the free space available before the custom command has a chance to execute.

    Can there be an option to serialize downloads?
     
  17. Jan 11, 2011 #2957 of 10411
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    If using GUI instead of service mode then you can always dedicate a separate kmttg to each TiVo which then limits downloads to 1 at a time automatically. i.e. kmttg1 tied to only TiVo1, kmttg2 tied to only TiVo2, etc. That way you can also have different target folders potentially on different volumes for each TiVo as well to help manage disk space. Not quite what you are asking for I know but just an idea.
     
  18. Jan 11, 2011 #2958 of 10411
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    FYI, in latest SVN there is now a new config option under Program Options tab called Allow only 1 download at a time which I think implements what you were looking for. Pretty easy to implement so I threw it in there.
     
  19. Jan 11, 2011 #2959 of 10411
    mattack

    mattack Active Member

    20,734
    4
    Apr 9, 2001
    sunnyvale
    No, it's not out of order, I don't think.

    The program is being SMART (IMHO). It can talk to EACH Tivo at one time (i.e. each tivo can only do one thing at a time).. But it is speeding up the whole process by being able to do ONE thing on each Tivo simultaneously.
     
  20. Jan 11, 2011 #2960 of 10411
    mattack

    mattack Active Member

    20,734
    4
    Apr 9, 2001
    sunnyvale
    I realize this is a VERY minor issue, and probably nobody else cares.

    I used to be confused about why some things would show a percentage in the list, and why some would show a time. I realized that the topmost item being worked on shows the percentage *in the title bar* and shows the progress bar in the middle of the window. Other items being worked on (see previous reply) show percentage.

    IMHO, it would be great if all of them showed percentage, since then I (the user) wouldn't have to look around to random places to figure out where the info about how complete it is was. (If it showed it in the titlebar TOO, I wouldn't mind.)

    That way, I could always look at the list, and see percentage done.
     

Share This Page