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 11, 2010 #2201 of 10412
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    Are you running auto transfers in the GUI mode? If so, don't have a suggestion. If you're not in the GUI, what is the command line that you're using to start the auto transfers?
     
  2. Apr 11, 2010 #2202 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Try running java version on Windows. Ultimately both perl & java version are using curl for downloads so it shouldn't make a difference for the same OS. The Mac curl vs Windows curl may make a difference.
     
  3. Apr 11, 2010 #2203 of 10412
    citivolus

    citivolus New Member

    93
    0
    Jul 3, 2002
    ok, I am running the java version in Fusion on my Mac and it is working fine. I am not using the AutoTransfer, just picking a bunch of videos from the Now Playing list of my TivoHD.

    does this mean that there is something wrong with the Mac version of curl?
     
  4. Apr 11, 2010 #2204 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Possibly. Run "curl --version" to get information about it. Windows version:
    curl 7.18.0 (i586-pc-mingw32msvc) libcurl/7.18.0 OpenSSL/0.9.7c zlib/1.2.3
    Protocols: tftp ftp telnet dict ldap http file https ftps
    Features: Largefile NTLM SSL libz
     
  5. Apr 12, 2010 #2205 of 10412
    AudioNutz

    AudioNutz New Member

    318
    0
    Nov 9, 2008
    Try using the auto-transfer. This needs to be a same for same test if it's to have meaningful results. I honestly doubt that there is something with the Mac version of curl, since it works on all of my Macs, but I suppose there's a first for everything.
     
  6. Apr 12, 2010 #2206 of 10412
    Phantom Gremlin

    Phantom Gremlin New Member

    1,555
    0
    Jun 20, 2002
    Tualatin,...
    Interesting. I've had some "server busy" problems, and haven't chased them down yet. But for the record, here are the versions of curl on the Mac:

    OS X 10.5.8 Leopard:
    curl 7.16.4 (i386-apple-darwin9.0) libcurl/7.16.4 OpenSSL/0.9.7l zlib/1.2.3
    Protocols: tftp ftp telnet dict ldap http file https ftps
    Features: GSS-Negotiate IPv6 Largefile NTLM SSL libz

    OS X 10.6.3 Snow Leopard:
    curl 7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
    Protocols: tftp ftp telnet dict ldap http file https ftps
    Features: GSS-Negotiate IPv6 Largefile NTLM SSL libz

    I will try to find some time to experiment with the newer version to see if it solves/minimizes my problems.
     
  7. Apr 12, 2010 #2207 of 10412
    cweb

    cweb New Member

    106
    0
    May 29, 2004
    I'm making the jump to Windows 7 64-bit. I trying to figure out whether to use 32-bit or 64-bit java with kmttg.

    Thought it was addressed earlier in the thread, but can't find where. Is it ok to go 64-bit?
     
  8. Apr 12, 2010 #2208 of 10412
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    Just load whatever java is the suggested download from http://www.java.com/getjava/

    I'm running kmttg with win7 64-bit, and I didn't give it a thought.

    -David
     
  9. Apr 12, 2010 #2209 of 10412
    asteinmetz

    asteinmetz New Member

    5
    0
    May 2, 2008
    I have only recently tried to get content moving back and forth between my series 3 and my windows 7 PC. The "forth" part is working pretty well and I have had great success with Streambaby. The "back" part, not so much. I have tried Galleon and kmttg and am perplexed.

    In the case of kmttg I get this when I start up:
    Code:
    Refreshing encoding profiles
    Adding detected tivo: TIVOHD 1
    MAK not specified or not correct
    Refreshing encoding profiles
    >> Getting Now Playing List from TIVOHD 1 ...
    C:\Users\Art\Downloads\kmttg_v0p7j\curl\curl.exe --retry 3 --anyauth --globoff --user tivo:MAK --insecure --cookie-jar C:\Users\Art\AppData\Local\Temp\cookie8029831860704255788.tmp --url https://192.168.2.28/TiVoConnect?Command=QueryContainer&Container=/NowPlaying&Recurse=Yes&AnchorOffset=0 --output C:\Users\Art\AppData\Local\Temp\NPL3234788775097119653.tmp 
    Failed to obtain data for TiVo: TIVOHD 1
    Failed to retrieve Now Playing List from TIVOHD 1
    Exit code: 35
    Check YOUR MAK & IP settings
    
    curl: (35) Unknown SSL protocol error in connection to 192.168.2.28:443 
    Failed to obtain data for TiVo: TIVOHD 1
    
    So the Tivo, TIVOHD1, is discovered, the IP address is correct, and I've tripled checked the MAK code. When I try to directly access the url referenced in the curl command with a browser it times out.

    FYI, Galleon is similarly perplexing. The ToGo app sees the Tivo but waits forever to not get the recorded programs. The Galleon apps appear on the Tivo Showcases menu but get stuck at "Please Wait" when I access them.

    I get the strange feeling I am missing something obvious. I'd appreciate any ideas. thanks.
     
  10. Apr 12, 2010 #2210 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Use the 32-bit installation as detailed in the windows_installation Wiki.
     
  11. Apr 12, 2010 #2211 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Until you get a login response for https://192.168.2.28 in a browser none of the To Go apps will work.
    First thing to check is if your TiVo is authorized for To Go. Log into tivo.com and under "My TiVo"->Change DVR Preferences make sure that "Allow Transfers" is enabled for your DVR. If it is disabled then that is your problem. If it is enabled then disable it, do a couple of net connects, re-enable and do a couple of net connects again.
    Then test https://192.168.2.28/ to see if it prompts for login. Once it does you are good to go.

    And of course never forget the old standby: reboot your TiVo.
     
  12. Apr 13, 2010 #2212 of 10412
    cweb

    cweb New Member

    106
    0
    May 29, 2004
    I'm not a developer, so I know little of such things. Is it hard or time consuming (maybe both) to compile a 32-bit and a 64-bit version?
     
  13. Apr 13, 2010 #2213 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    It's not hard, but the only real advantage of 64-bit would be higher RAM capacity. I believe the 32-bit Java memory limit is ~1.5GB. For this particular application RAM use is pretty low and in fact most people are launching the jar file with default heap size settings which means 128MB, so exceeding 128MB of RAM would result in memory out of bounds errors. Of course you can change the Java launch to increase heap size but that should not be necessary for most people. i.e. 64 bit executable is not really necessary. 32-bit ensures compatibility across all Windows platforms as well as Linux & Mac systems (new and old) and given the low memory requirements is the most logical choice for maximum compatibility.

    As a side note in previous kmttg releases I wasn't restricting the amount of text in the message pane window, so if you ran kmttg in GUI mode for a long time eventually with a lot of text displayed it was possible to exceed the 128MB default heap size. For next release since I am implementing "Loop in GUI" to be able to run auto transfers in loop in GUI there is good potential for a lot of text messages so now I have implemented a 10MB limit for the message pane (earlier text truncated as needed), so that should not be an issue.
     
  14. Apr 14, 2010 #2214 of 10412
    ayman86

    ayman86 New Member

    24
    0
    Mar 10, 2010
    Chicago, IL
    i didnt think the filename of the tmp file matter but i finally had a chance to download something again

    [​IMG]
     
  15. Apr 14, 2010 #2215 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    ayman86, those files are definitely not created by kmttg or curl. After some Googling it looks like those files are created by firewall or anti-virus software, see last post in:
    http://board.jdownloader.org/showthread.php?t=13048
    So try adding adding full path to javaw.exe and the kmttg curl.exe to your firewall or anti-virus program exclusion list. It's likely it's also slowing down your downloads...
     
  16. Apr 14, 2010 #2216 of 10412
    ayman86

    ayman86 New Member

    24
    0
    Mar 10, 2010
    Chicago, IL
    ohhh. maybe i should have googled that before troubling you. thanks ill do that
     
  17. Apr 15, 2010 #2217 of 10412
    markmarz

    markmarz Member

    94
    0
    Feb 3, 2002
    Chicago, IL
    Hi,

    I'm a new user of kmttg. I don't see 'originalAirDate' as an available keyword. Am I missing something?

    If not available, any chance of adding it in? If yes, then formatting or breakout ability would be nice. Like originalAirDateMonth, originalAirDateYear, originalAirDateDay as examples.

    Thanks,
    Mark M.
     
  18. Apr 15, 2010 #2218 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    TiVo does not include originalAirDate for every show so having file naming based on that keyword would be unreliable (you end up with a blank string for shows that don't have it).
    EpisodeNumber is another example of another entry that is not always available either even though it is an available keyword by popular demand. Personally I try and avoid using keywords that are not always available for File Naming purposes since otherwise you end up with inconsistent file naming.
     
  19. Apr 16, 2010 #2219 of 10412
    Icarus

    Icarus New Member

    360
    0
    Jun 15, 2002
    Upcountry...
    any idea when you are going to issue the next release with the ipad encoding profiles included? Also, is there any reason not to update to the latest t4s4 build 600?

    BTW, most people probably want both 32-bit and 64-bit versions of java on their windows 64-bit systems. I'm pretty sure that's what I have.

    http://www.java.com/en/download/faq/java_win64bit.xml

    ok, according to that page the default might depend on which browser you are running when you go to download it. so IE 64-bit users probably need to install both.

    -David
     
  20. Apr 16, 2010 #2220 of 10412
    moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Still some things to test before next release. You can download checked in ipad profile from here (just stick the ff_ipad.enc file in kmttg encode folder):
    http://kmttg.googlecode.com/svn/trunk/release/encode/ff_ipad.enc
    I'm running 600 and it's working fine with kmttg.
     

Share This Page