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. Sep 14, 2009 #1321 of 10411
    jsjames

    jsjames New Member

    47
    0
    Sep 25, 2007
    Chicago Area
    Is there a specific encoding profile that is closest to the default tivo file? I don't need to reduce file size or resolution.
    I see one says ff_tivohd and is 5mb and there is another that is 8mb. I would assume the higher one is what I want to use?
    I guess I can always try them both :eek:
     
  2. Sep 14, 2009 #1322 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    If you don't want any change in quality then don't use "encode" at all. That will leave the file in it's original mpeg format with no loss of quality. i.e. Simply enable "decrypt" task (and optionally "metadata" task) and leave everything else disabled.
     
  3. Sep 14, 2009 #1323 of 10411
    jsjames

    jsjames New Member

    47
    0
    Sep 25, 2007
    Chicago Area
    Thanks for the help!
    I was not completely understanding how it worked until I just noticed the encode button. I'm just decrypting the file, not encoding.
     
  4. Sep 15, 2009 #1324 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    No the new comskip still works fine with arguments as given by kmttg.
    I think your are using wine to make a comskip wrapper script which looks something like:
    wine /usr/local/bin/comskip/comskip.exe "$1"
    The $1 means first argument only which means none of the arguments would make it through. You need to change it to be following instead so as to pass along all arguments:
    wine /usr/local/bin/comskip/comskip.exe "$@"
     
  5. Sep 17, 2009 #1325 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Some pretty big changes/enhancements for this one based on requests:
    release_notes

    v0p7a (09/16/2009)
    ==================

    ENHANCEMENTS
    * Added "Show Folders" option for each Tivo tab to display Now Playing List using folders instead of flat structure. Can easily toggle between folder and non folder display modes.

    * Added auto transfer Date Filter capability so can filter entries by less than or greater than specified number of hours old.

    * Added auto transfer statistics printing to log file (total number of auto matches vs # shows checked for each Tivo).

    * Added icon for identification of TiVo suggestions.

    * Added icon for identification of copy protected shows (in addition to color coding).

    * Tivo discovery updated so as to be able to handle cases when Tivo IP assignments change dynamically.

    * TiVo discovery (Bonjour) now turned on as long as kmttg is running if "Look for Tivos on network" option is enabled (previously it would time out after 5 minutes). This is so that if there are any changes in Tivo IPs (for DHCP assigments that may be changing while kmttg is running) that kmttg can discover and automatically change the IPs appropriately. IP changes are automatically saved to config file.

    FIXES
    * Applied user-supplied fix for Atomic Parsley call so that TV Episode & Episode Num show up correctly in iTunes.

    * Better exception handling if reading of .kmttg_settings file fails (perhaps because file is corrupted).
     
  6. Sep 18, 2009 #1326 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    A couple of quick bug fixes:

    v0p7b (09/17/2009)
    ==================

    FIXES
    * Fix for new exception issue introduced in v0p7a when clicking on any entry in FILES tab.

    * Changed Now Playing List XML parser to read in characters in UTF8 encoding format so that all special characters including foreign language characters are properly preserved. Previously special characters in Spanish & French language for example were being mangled.
     
  7. Sep 18, 2009 #1327 of 10411
    Steve Palo

    Steve Palo New Member

    20
    0
    Jan 18, 2002
    northern cal
    I've downloaded/installed your tool and it sees my newest Tivo (series 3), but not my series 1. I imagine that I need to install a server of some kind on the series 1. I had tivoweb on there once, but it isn't there now. Do you have additional instructions or warnings on the use of series 1 machines?

    I should mention that I have a turbonet card on my series 1 machine and the Tivo uses this card to get internet access for guide data.
     
  8. Sep 18, 2009 #1328 of 10411
    innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    Thanks for the update.

    I don't know if it has been asked before, is there any way to add it so that it flags shows on the NPL that are on our auto transfer list? I have a habit of adding the most recent shows again just in case I missed one with all the new shows starting up. Obviously not a huge deal, I just do it as a double check, but would be nice if something flagged the shows so I knew at a glance what was on my list.
     
  9. Sep 18, 2009 #1329 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    I don't know much about series 1 Tivos, but I don't think you can pull Now Playing list etc. using the conventional approach so I think tools such as kmttg are for Series 2 or later models.
     
  10. Sep 18, 2009 #1330 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Perhaps, but that would probably mean another small column would be needed to identify something like that. May be useful to use that same new column to identify programs that are currently being processed by the GUI as well... Or instead of a new table column perhaps just some markers added in front of text in the "SHOW" column to identify such things. Does Tivo Desktop identify such things and if so, how?
     
  11. Sep 19, 2009 #1331 of 10411
    Steve Palo

    Steve Palo New Member

    20
    0
    Jan 18, 2002
    northern cal
    I can see the Now Showing list on my TivoWeb browser screen (I have TivoWeb 1.9.4-TCL running on the Series 1). What is the "convention approach" you are speaking of?
     
  12. Sep 19, 2009 #1332 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    It has to respond to HMO protocol queries such as:
    https://<tivoip>/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes&AnchorOffset=0
    (which I don't think series 1 Tivos support).
     
  13. Sep 25, 2009 #1333 of 10411
    innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    I was curious since I ran into this issue last night.

    Is it possible for KMTTG to somehow generate the file as it transfers so that the required hard drive space is already allotted? I know programs like Vuze for torrents have an option where you can do this, but wasn't sure if there was anyway to implement it with Tivo.

    The reason I ask is I have the check for hard drive space enabled with a limit of 8gb so just enough for about one 1 hour HD show. The problem I am having is that with all the new shows my transfer drive is low on space. As a result I usually have about 9gb free right now. If I initiate the transfers with the service or Run in GUI, it checks for drive space and then starts three transfers since I have three Tivos. As a result none of the shows complete since the drive fills.

    If KMTTG could automatically allot the space for a show as it initiates the transfer, when it goes to perform the check for the second transfer it wouldn't start since the drive would now be below the limit.
     
  14. Sep 26, 2009 #1334 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    innocentfreak, I'll have to look into it some more but my first take on it is perhaps the routine that checks for available space can also account for estimated size requirements of any queued or ongoing jobs. That still won't be perfect as there are some jobs such as encoding jobs where there is no size estimate available, but perhaps at least as a first step potentially consider size estimates for download jobs.
     
  15. Sep 27, 2009 #1335 of 10411
    robbroy

    robbroy New Member

    26
    0
    Feb 21, 2002
    I need help. I am getting the following error when I run kmttg:

     
  16. Sep 27, 2009 #1336 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    robbroy, that huge number is supposedly a file size for a show on one of your TiVos. The number is 1.8e19 which Java is trying to evaluate as a long and obviously number is too big for a long.
    So that is something like 18000000 Terabyte file which obviously can't be.
    I'd be curious to see if a huge file size is reported when you run following in a browser:
    https://<ip>/nowplaying/index.html?Recurse=Yes
    (Replace <ip> with your Tivo IP and use login=tivo password=10 digit MAK)
     
  17. Sep 27, 2009 #1337 of 10411
    robbroy

    robbroy New Member

    26
    0
    Feb 21, 2002
    The largest file in my queue is about 10 gig.

    I rebooted the tivo, the network and my pc and by magic it all worked again.

    I should have rebooted before bothering you. My apologies.

    PS: Ever consider drag and drop for the Files tab.
     
  18. Sep 27, 2009 #1338 of 10411
    innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    Thanks it would be appreciated. I am more worried about the initial transfer over any encoding since that is all I am doing right now.

    Also I just got this error tonight during a transfer. It stopped transferring and just showed everything in queue.

    java.lang.ArrayIndexOutOfBoundsException: -1
    at com.tivo.kmttg.util.file.freeSpace(file.java:63)
    at com.tivo.kmttg.main.jobMonitor.checkDiskSpace(jobMonitor.java:225)
    at com.tivo.kmttg.main.jobMonitor.createSubFolders(jobMonitor.java:210)
    at com.tivo.kmttg.task.metadata.launchJob(metadata.java:55)
    at com.tivo.kmttg.main.jobData.launch(jobData.java:314)
    at com.tivo.kmttg.main.jobMonitor.monitor(jobMonitor.java:153)
    at com.tivo.kmttg.main.kmttg$3.actionPerformed(kmttg.java:65)
    at javax.swing.Timer.fireActionPerformed(Unknown Source)
    at javax.swing.Timer$DoPostEvent.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
     
  19. Sep 27, 2009 #1339 of 10411
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    What do you mean? Drag & Drop currently works fine.
     
  20. Sep 27, 2009 #1340 of 10411
    moyekj

    moyekj Well-Known Member

    11,140
    29
    Jan 23, 2006
    Mission...
    Yeah, the free space checker is not very robust as it relies on system calls ("cmd /c dir <path>" in the case of Windows). Java 6 has its own function for free space which works a lot more reliably but in order to stay compatible with Mac systems I have to stay on Java 5 which means my own home grown functions for checking free space. I've added a couple of extra checks to prevent exceptions in development code in case you keep getting above problem and want to try it.

    For now since you are so low on space instead of using auto transfers why not just run GUI and pick and choose 1 at a time what you want to transfer?
     

Share This Page