Easier to use pyTivo - pyTivo Desktop

Discussion in 'TiVo Coffee House - TiVo Discussion' started by Dan203, Jan 23, 2017.

  1. Apr 6, 2017 #181 of 2506
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    55,193
    7,901
    Apr 17, 2000
    Nevada

    Advertisements

    The jar I included is actually TivoDecoder.jar, I just renamed it because I didn't want to cause any confusion with tivodecode.

    I'm packaging up a new version now that uses the exe method instead. Will have it posted in a few minutes.
     
  2. Apr 6, 2017 #182 of 2506
    wmcbrine

    wmcbrine Well-Known Mumbler

    11,967
    982
    Aug 2, 2003
    To be clear, AFAIK, there is never a situation in which tivodecode-ng is worse than tivodecode 2.4, and it's 100% on program streams, just not on transport streams.
     
  3. Apr 6, 2017 #183 of 2506
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    55,193
    7,901
    Apr 17, 2000
    Nevada
    New version posted
     
    Mikeguy likes this.
  4. Apr 6, 2017 #184 of 2506
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    55,193
    7,901
    Apr 17, 2000
    Nevada
    I meant with TS streams. According to Kevin, developer of kmttg, tivolibre is much more reliable when decrypting ts files. Although it still has some issues, so this option should still be used with caution.
     
  5. Apr 6, 2017 #185 of 2506
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    55,193
    7,901
    Apr 17, 2000
    Nevada

    Advertisements

    Can you try the new build I posted and let me know if it fixes the issue for you?
     
  6. Apr 6, 2017 #186 of 2506
    webminster

    webminster Member TCF Club

    68
    9
    Dec 12, 2016
    Does this write a log anywhere? Tried the new version and saw a .tmp file download, but all disappeared... assume the conversion went bad but not sure if there's a log.

    And just a favor... would you entertain naming the .exe download something other than setup.exe, more like pytivodesktop_setup.exe or something (maybe with version) so it's named sanely in a download?

    EDIT: Turned on TS download, then the decrypt worked.
    EDIT2: Maybe I do need the log. Tried a second download of a 5+ GB ABC recording and it disappeared during decrypt. Tried both TS and non-TS download option.
     
    Last edited: Apr 6, 2017
  7. Apr 6, 2017 #187 of 2506
    bradleys

    bradleys It'll be fine....

    4,157
    246
    Oct 31, 2007
    Works great, looks great!
     
    krkaufman likes this.
  8. Apr 7, 2017 #188 of 2506
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    55,193
    7,901
    Apr 17, 2000
    Nevada
    Hmm... if the decrypt fails it deletes the downloaded tmp file, which is a .tivo file really. Maybe instead of deleting it I should rename it to .tivo so that you at least don't have to download it again.

    As for a log... as far as I can tell tivolibre doesn't output any information when it fails, it just stops. So all I could write to the log is "decryption failed".

    I wonder what's causing the intermittent failure on your files? Do you have enough space?
     
  9. Apr 7, 2017 #189 of 2506
    eherberg

    eherberg Active Member

    396
    225
    Feb 16, 2011
    For me --- nothing changed. Tried both TS and PS download. It downloads the temp file, but then fails on decrypt. If I'm looking at the download queue, I can see a failed message briefly before it vanishes - otherwise no indicator of success. Located the conf file and deleted - and then re-entered my info, but no change.

    If I try the same files using the same output location with kmttg - everything is a success. File is downloaded and then decrypted. And, of course, if I just download and do a manual decryption from the command-line - that also works.

    kmttg leaves the decrypted file with the .ts extension -- tivodecode from the tivolibre library leaves the decrypted file as a .mpeg extension.

    No worries if this isn't much help to you -- and if it works great for others, no need to spend too much time on it as i have the manual method of decrypting that works fine, and kmttg as well. Not sure what the difference is on my system (or why the other methods succeed).
     
  10. Apr 7, 2017 #190 of 2506
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    55,193
    7,901
    Apr 17, 2000
    Nevada
    Can you try running the tivolibre.exe in the pyTivo install folder just to see if that works correctly for you. The commandline options are identical to TivoDecoder.jar, you just don't need the extra java bits.* I just want yo make sure that is not the culprit. Also can you copy the complete path of both the pyTivo install directory and the path of the location you're saving the files too. I want to see if maybe there are some special characters or anything in the path that might be causing a string issue in python.

    * So something like this...

    tivolibre.exe -i "path to tivo file" -o "path to output file” -m MAK
     
  11. Apr 7, 2017 #191 of 2506
    eherberg

    eherberg Active Member

    396
    225
    Feb 16, 2011
    Confirmed that running tivolibre from the bin folder via command-line works.

    Install folder is the default: C:\Program Files (x86)\pyTivo
    Path to input file: "C:\Users\eherb_000\Videos\File Name 12345 (TS).Tivo"
    Path to output file: "C:\Users\eherb_000\Videos\New File Name"
     
  12. Apr 7, 2017 #192 of 2506
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    55,193
    7,901
    Apr 17, 2000
    Nevada
    None of that should be an issue. Are you low on space on C?
     
  13. Apr 7, 2017 #193 of 2506
    lpwcomp

    lpwcomp Well-Known Member

    9,461
    298
    May 6, 2002
    John's...
    Windows can get very picky when it comes to access to the system drive.
     
  14. Apr 7, 2017 #194 of 2506
    eherberg

    eherberg Active Member

    396
    225
    Feb 16, 2011
    Nope -- over 100 GB free.

    I'll try later today again. It fails immediately on transfer (where other methods work fine) like it has problems even starting it. Maybe it does have something to do with only having 64-bit java. I only have 64-bit because I have 64-bit versions of mediainfo and filebot. My seed utilities are pretty garden-basic java, though - and they work fine when I call them.

    I'm not too worried about it, though. Maybe it's something weird with Windows 10 -- who knows? As long as kmttg is working and/or the command-line tivodecode/tivolibre is working, it's not too big a deal.
     
  15. Apr 7, 2017 #195 of 2506
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    55,193
    7,901
    Apr 17, 2000
    Nevada
    The exe version uses the java version I included in the jre folder with the install. It doesn't require java to be installed on your machine at all, nor does it care which version is installed if you do. And the fact that the exe version works from the command line also proves that because it does require 32bit java and if you only have 64bit on your system the only way it would work at all is if were picking up the jre from that folder.

    I also use Windows 10 and only have 64bit java installed at the system level and it still works for me, so I know that's not the issue either.

    It could be some sort of permissions issue I guess. Are you running an admin account or a limited user account?
     
  16. Apr 7, 2017 #196 of 2506
    eherberg

    eherberg Active Member

    396
    225
    Feb 16, 2011
    It's running on an admin account.
     
  17. Apr 7, 2017 #197 of 2506
    krkaufman

    krkaufman TDL shepherd

    16,744
    3,189
    Nov 25, 2003
    Compare installation folder locations?
     
  18. Apr 7, 2017 #198 of 2506
    ADG

    ADG Allan

    2,621
    267
    Aug 19, 2003
    New Jersey, USA
    No it doesn't. Windows doesn't differentiate among drives when it comes to allowing access - only certain locations (folders) on those drives.
     
  19. Apr 7, 2017 #199 of 2506
    Dan203

    Dan203 Super Moderator Staff Member TCF Club

    55,193
    7,901
    Apr 17, 2000
    Nevada
    Hmmm... I wonder if there is some conflict in the options file. I know you've gone through a few versions with me, maybe there is some incompatibility with some option I used in an older version.

    Do you know how to enable hidden folders? If so go to C:\Users\<YouName>\AppData\Roaming\pyTivo and open the pytivo.conf file and copy/paste the data here. (you can replace your MAK with Xs)
     
  20. Apr 7, 2017 #200 of 2506
    eherberg

    eherberg Active Member

    396
    225
    Feb 16, 2011
    I thought the same thing. So yesterday (and again today) I went into that location and deleted the file so the program prompted for my info on next startup. Current contents of the file are below. It's pretty basic. Note that the togo_ts_format current setting of 'false' is simply because my last change was unchecking transport stream. There was no difference with it checked or not.

    I also tried manually putting the path for tivolibre in the options and checked that it was written in the conf file also.

    Contents:

    [Server]
    togo_ts_format = false
    togo_path = C:\Users\eherb_000\Videos
    togo_decode = true
    togo_save_txt = true
    tivo_mak = 1234567890

    [_tivo_SD]

    [_tivo_HD]

    [_tivo_4K]
     

Share This Page

spam firewall

Advertisements