Easier to use pyTivo

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

  1. foghorn2

    foghorn2 Well-Known Member

    1,313
    321
    May 4, 2004
    Las Vegas
    ^ I dont think Tivo wants to fix it, if anything, I think/bet they intentionally "broke" it.

    Pytivo is excellent and well coded. Really came in handy this month.
     
    osu1991 likes this.
  2. jhhyde

    jhhyde Member

    68
    11
    Dec 31, 2001
    Sammamish, WA
    Also, make sure your new computer has an MPEG2 codec installed. Microsoft no longer supplies it with Windows.
     
  3. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    49,128
    5,178
    Apr 17, 2000
    Nevada
    K-lite is popular for this.

    I wonder why MS no longer supplies MPEG-2 codec? The patents expired earlier this year, as did the ones for AC3 (Dolby) and DTS, so they're free now.
     
    mlippert likes this.
  4. KevTech

    KevTech Active Member

    346
    172
    Apr 15, 2014
    Mikeguy likes this.
  5. foghorn2

    foghorn2 Well-Known Member

    1,313
    321
    May 4, 2004
    Las Vegas
    I use VLC or Kodi for mpeg2.

    The latest windows updated killed my spectacular 4K upscaling/deinterlacing of MPEG2 video on my HTPC with Kodi with a Radeon RX card. Man does it look good watching old stuff this way.

    The update killed the communication between Kodi DXVA settings and the video card. Everything looked software rendered, which was ok, but the DXVA feature really made the video smooth and the colors pop out, no jaggedy jumpy lines either, just crisp sharp picture.

    I had to reinstall 10 and turn off Windows updates to get that all back. They want you to buy digital stuff off the sites. They dont like people like me that buy dvd's for like 1-3 bucks a pop and squeeze PQ out with good hardware.
     
    Last edited: Jan 22, 2020
    mlippert likes this.
  6. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    49,128
    5,178
    Apr 17, 2000
    Nevada
    All the gray area decoders of the past for MPEG-2, AC3 and DTS are completely legal now. MP3 as well. It still had one patent holding on to it until next year I believe but Fraunhofer released it and opened it all up to the public. So all those old formats used for DVDs and internet bootlegs are completely license free now.
     
  7. UCLABB

    UCLABB Well-Known Member

    4,514
    1,103
    May 29, 2012
    Riverside, CA
    Dan, I'm trying to put some TS recordings on a USB stick to put in my LG television. Works fine after I figured out what format to use on the stick (EXFat, no go; Fat32, files too big; NTFS, voila). However, I'm looking for a way to have CC. My TV doesn't seem to recognize any CC with the file. Area where I would have option is greyed out.
     
  8. mlippert

    mlippert Active Member

    289
    58
    Apr 2, 2010
    Massachusetts
    Try using ccextractor ccextractor to extract the closed captions from the downloaded file to a .srt file. Maybe that would work. Not really sure what your LG TV supports.
     
    UCLABB likes this.
  9. UCLABB

    UCLABB Well-Known Member

    4,514
    1,103
    May 29, 2012
    Riverside, CA
    Worked like a charm. Muchas gracias. Simply put the .srt file on the stick with the video file and the LG played the vid with CC. The LG had a tool/screen to sync the CC and that worked well.
     
    mlippert likes this.
  10. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    49,128
    5,178
    Apr 17, 2000
    Nevada
    Have you tried running them through VideoReDo?

    It all depends on how your TV expects the CCs to be stored. For TS they're typically stored in the video frames, but in the US there are two versions of CCs 608 and 708 and it's possible your TV only supports the older 608 captions while most modern HD broadcasts use 708 captions instead. The newer TiVos have caption rendering build into the TiVo itself, so it's doing the decoding and overlay. So there is really no way to know what formats your TV supports when using a USB stick. It may simply not support captions at all. Or it may only support the types of captions in MP4 or MKV files which are completely different formats. (MP4 uses a text track similar to 608 captions, MKV uses SRT which is just plain text with timecodes next to each line)
     
  11. UCLABB

    UCLABB Well-Known Member

    4,514
    1,103
    May 29, 2012
    Riverside, CA
    I converted one file to mkv and that didn’t work. I’m satisfied with extracting the CCs and putting them on the stick separately. I’m not doing a lot of this right now, but in the future I may set up an HDD connected to the USB port on the TV as program storage site.
     
  12. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    49,128
    5,178
    Apr 17, 2000
    Nevada
    Why not just use Plex?
     
  13. pshovest

    pshovest New Member

    14
    1
    Oct 1, 2019
    Hello,
    New user struggling to get pyTivo running on Windows 8.1 desktop.
    Screen shot of log and conf files are below.
    MAK is correct, Log files show correct IP address for Tivo, and Zeroconf failure.
    I can see my Tivo shows via browser at http://localhost:9032/
    pyTivo Destop hangs at "Finding Tivos"

    Any suggestions?

    [Server]
    togo_ts_format = select
    togo_path = E:\pyTivo
    togo_ts_error_mode = ignore
    togo_sortable_names = true
    tivolibre_upload = true
    free_space_check = true
    debug = true
    tivo_mak = abcdefghijk

    [_tivo_SD]

    [_tivo_HD]

    [_tivo_4K]

    [pyTivo]
    path = E:\pyTivo
    type = video

    Log File:
    Code:
    INFO:pyTivo:Last modified: Wed Jan  8 14:46:58 2020
    INFO:pyTivo:python: 2.7.16
    INFO:pyTivo:System: Windows-8.1-6.3.9600-SP0
    DEBUG:comtypes:CoInitializeEx(None, 2)
    INFO:comtypes.client._code_cache:Imported existing <module 'comtypes.gen' from 'C:\Users\ADMIRA~1\AppData\Local\Temp\_MEI37202\comtypes\gen\__init__.pyc'>
    DEBUG:comtypes.client._code_cache:path is unwriteable: [Errno 2] No such file or directory: 'C:\\Users\\ADMIRA~1\\AppData\\Local\\Temp\\_MEI37202\\comtypes\\gen\\tmplyavjp'
    INFO:comtypes.client._code_cache:Using writeable comtypes cache directory: 'c:\users\admira~1\appdata\local\temp\comtypes_cache\pyTivo-27'
    ERROR:pyTivo.beacon:Zeroconf failure
    INFO:pyTivo:pyTivo is ready.
    INFO:pyTivo:192.168.1.215 [14/Feb/2020 13:37:46] "GET /TiVoConnect?Command=QueryContainer&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
    INFO:pyTivo:192.168.1.215 [14/Feb/2020 13:37:46] "GET /TiVoConnect?Command=QueryContainer&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
    INFO:pyTivo:127.0.0.1 [14/Feb/2020 13:39:02] "GET /TiVoConnect?Command=GetOSName&Container=Settings HTTP/1.1" 200 -
    INFO:pyTivo:127.0.0.1 [14/Feb/2020 13:39:02] "GET /TiVoConnect?Command=QueryServer HTTP/1.1" 200 -
    DEBUG:comtypes:CoInitializeEx(None, 2)
    INFO:pyTivo:127.0.0.1 [14/Feb/2020 13:39:02] "GET /TiVoConnect?Command=GetSettings&Container=Settings HTTP/1.1" 200 -
    INFO:pyTivo:127.0.0.1 [14/Feb/2020 13:39:02] "GET /TiVoConnect?Command=GetVersion&Container=VRD HTTP/1.1" 200 -
    DEBUG:comtypes:CoUninitialize()
    DEBUG:comtypes:CoInitializeEx(None, 2)
    INFO:pyTivo:127.0.0.1 [14/Feb/2020 13:39:02] "GET /TiVoConnect?Command=GetVersion&Container=VRD HTTP/1.1" 200 -
    DEBUG:comtypes:CoUninitialize()
    INFO:pyTivo:'port'
    INFO:pyTivo:'port'
    INFO:pyTivo:'port'
    INFO:pyTivo:'port'
    INFO:pyTivo:127.0.0.1 [14/Feb/2020 13:39:03] "GET /TiVoConnect?Command=GetSettings&Container=Settings HTTP/1.1" 200 -
    INFO:pyTivo:'port'
    INFO:pyTivo:'port'
    INFO:pyTivo:127.0.0.1 [14/Feb/2020 13:39:03] "GET /TiVoConnect?Command=GetDiskUsage&Container=Settings&Path=E:\pyTivo HTTP/1.1" 200 -
    INFO:pyTivo:127.0.0.1 [14/Feb/2020 13:39:03] "GET /TiVoConnect?Command=GetDiskUsage&Container=Settings&Path=E:\pyTivo HTTP/1.1" 200 -
    INFO:pyTivo:127.0.0.1 [14/Feb/2020 13:39:18] "GET /TiVoConnect?Command=GetLogText&Container=Settings HTTP/1.1" 200 -
    INFO:pyTivo:127.0.0.1 [14/Feb/2020 13:42:03] Request timed out: timeout('timed out',)
     
    Last edited: Feb 14, 2020
  14. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    49,128
    5,178
    Apr 17, 2000
    Nevada
    This is odd, because desktop talks to pyTivo on the same port. Has to be a firewall issue.

    Try going to...

    http://localhost:9032/Desktop

    does that work?

    If so then that means your browser is getting through the firewall but pyTivo Desktop exe is not.

    It depends on the firewall how to fix it. If it's windows firewall it should have prompted you the first time you launched pyTivo and that should have done it all automatically. Doing it manually can be a bit of a PITA so it might be easier to uninstall, reboot, and then reinstall to see if that re-triggers the prompt. If not then you'll have to do it manually.
     
  15. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    49,128
    5,178
    Apr 17, 2000
    Nevada
    Here is a screen shot of my firewall settings pertaining to pyTivo...

    Firewall.jpg
     
    bcrider and mlippert like this.
  16. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    49,128
    5,178
    Apr 17, 2000
    Nevada
    Hey I just noticed that I'm no longer getting the "protected your computer" prompt when I run a newly downloaded installer. So the reputation on my certificate must have caught up in MS so they no longer think I'm a threat. (time to add the malware! ;) :D)
     
    Riblet2000, UCLABB and mlippert like this.
  17. pshovest

    pshovest New Member

    14
    1
    Oct 1, 2019
    Same "Finding Tivos" thing when I browse to http://localhost:9032/Desktop
    My firewall settings seem comparable. I'm on private network only, haven't allowed access on public. Do you think this matters?

    upload_2020-2-14_15-28-8.png

    upload_2020-2-14_15-33-52.png
     
  18. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    49,128
    5,178
    Apr 17, 2000
    Nevada
  19. pshovest

    pshovest New Member

    14
    1
    Oct 1, 2019
    Rebooted, uninstalled, rebooted, reinstalled and the same thing.
    Interesting that on reinstall pyTivo knew the MAK no without me having to provide.
    On pyTivo initial restart, screen said "No Tivos found!" On refresh, "finding Tivos" returns.

    upload_2020-2-14_16-15-7.png

    Firewall turned off with no effect.
    MAK reentered with no effect.

    I saw mention somewhere that Win 8.1 was an issue with pyTivo, but I can't get back to that post. Is Win 8/8.1 a known problem?
     
  20. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    49,128
    5,178
    Apr 17, 2000
    Nevada
    You say if you just go to http://localhost:9032/ it shows your TiVo? But Desktop does not? That seems impossible. Can you send me a screen shot of that?
     

Share This Page