Easier to use pyTivo

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

  1. jcthorne

    jcthorne Well-Known Member

    3,116
    196
    Jan 28, 2002
    Houston

    Advertisements

    Have not used that in years but worth a try.
     
  2. Mikeguy

    Mikeguy Well-Known Member

    27,636
    9,203
    Jul 28, 2005
    Just a data point: no issue with pyTivo Desktop and the latest Bolt software; on a Win10 laptop.
     
  3. J_Palmer_Cass

    J_Palmer_Cass New Member

    8
    2
    Jan 1, 2018

    The only practical way to find defects in a TiVo TS file is to use a program called TS Doctor.

    After the TiVo file is decrypted and the QSFix is applied, you use TS Doctor to find all TS file defects along with the exact time stamp of the location of each defect. Under 2 minutes of time expended to find all problem locations.

    TS Doctor only evaluates TS files.

    I always transfer 2 copies of my TiVo files. That way I can usually edit the files to make a file with no glitches at all.

    A cable transmission error will show up on all copies, so that error can never be corrected.

    It is totally impractical to watch full TiVo files to find defects. Note that TiVo files can have defective areas even when PyTiVo says there are no packet errors.
     
    Last edited: Jun 20, 2018
    Mikeguy likes this.
  4. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    51,803
    6,339
    Apr 17, 2000
    Nevada
    There is a difference between a packet error and a defect. All pyTivo does is check that every 188 bytes there is a TS packet start code (0x47). If there is a defect in one of the streams that will not be detected as it would require much more indepth code.

    VideoReDo QSF will detect more corrupt audio/video frames, but even it only checks headers, so if the frame is corrupt at a lower level it'll still make it through.
     
    ClearToLand and mlippert like this.
  5. jmyshral

    jmyshral New Member

    18
    0
    Apr 23, 2009

    Advertisements

    I am a novice on PyTivo or PyTivo desktop. I have my tivos on a 192.168.1.x subnet and my PCs on a 192.168.2.x subnet. When I run PyTivo Desktop, it says no Tivos found - presumably because it doesn't know where to look on the other subnet. Is there a setting I can make to either have it look on the other subnet or hardcode the IPs of my Tivos into a config file?
     
  6. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    51,803
    6,339
    Apr 17, 2000
    Nevada
    The auto discovery protocol TiVo uses. (Bonjour) Doesn't work across subnets. There is a setting in the network section of pyTivo Desktop where you can hard code TiVo IP addresses to look at, but I'm not even sure if that works across subnets.

    Why do you have your PCs and TiVos on different subnets in the first place? (just curious)
     
  7. FluteMusic88

    FluteMusic88 New Member

    7
    1
    Jan 26, 2011
    I've been using PyTivo successfully for years now, primarily to transfer video files to the Tivo from my PC. I just discovered PyTivo Desktop, and I LOVE it. It's brilliant and easy. I found that the tray icon and starting/stopping was much easier to manage than installing as a service was. Seriously, this is massively impressive work and very cool! :) Thank you for all the hard work this must have taken to do! I can't even imagine...

    Unfortunately, I've hit a bit of a snag... The files transfer but the time is padded, which means any attempt to skip back or ahead makes everything really screwed up. On the PyTivo forum, there is a thread about it, where it is posted that it was fixed in the May 2018 update of PyTivo, but it seems like the newer changes aren't in the streamlined install version. Any idea how to fix the issue or implement the newest updates somehow? I'd rather not uninstall PyTivo Desktop and go back to the old way, but I keep forgetting, hitting skip/back, and completely losing my place.
     
  8. mlippert

    mlippert Active Member

    311
    73
    Apr 2, 2010
    Massachusetts
    Try putting this ffmpeg_pram entry in the pytivo.conf file (I don't remember exactly how to do it for pytivo desktop, I think there's an interface, it was mentioned a while ago in this forum)
    Code:
    # parameter recommended by @lwcomp on tivocommunity that "fixes" the incorrect duration of the uploaded video
    ffmpeg_pram = -muxdelay 0
     
  9. FluteMusic88

    FluteMusic88 New Member

    7
    1
    Jan 26, 2011
    YES!!! It worked. Thank you SO MUCH! I saw the PyTivo community post about the change being -muxdelay 0, (and I initially didn't see the dash LOL) but I didn't know where to put it. I thought it was buried in code somewhere! I was able to apply it though the web browser editing. (localhost:9032) And you can add it to the PyTivo desktop settings under uploads and additional FFMPEG commands. Thank you for taking the time to reply and providing that missing information. You really helped me out. :) Many thanks! Not all heroes wear capes. ;)
     
    Last edited: Jul 10, 2018
    mlippert likes this.
  10. ZobVA

    ZobVA New Member

    8
    3
    Nov 1, 2009
     
  11. jmyshral

    jmyshral New Member

    18
    0
    Apr 23, 2009
    I have Fios and am using the Fios Actiontec router with MoCa for all of my tivos (192.168.1.x) and then have a Netgear wifi router hanging off that with my PCs and other devices in the house (192.168.2.x). I can ping the tivos from the PC network and also surf to them through a browser, but cannot get PyTivo to find them or connect to them.

    As a workaround I can disconnect my desktop from the Netgear and connect it directly to the Actiontec but that involves cable swapping and I'd rather just try to go through the routers if possible.
     
  12. Dan203

    Dan203 Super Moderator Staff Member TCF Club

    51,803
    6,339
    Apr 17, 2000
    Nevada
    The TiVo and PC have to be on the same subnet, it doesn't matter about the physical cabling. If you want the PC to see the TiVos you can just assign it a static IP in the same subnet as the TiVos. (even just temporarily) Windows 10 allows these kinds of changes without a reboot. Earlier versions I don't believe did.

    Another option is to install a second Ethernet card in the PC and connect it to the router the TiVos are connected to. Then selectively enable/disable the network device you want to use. Even a USB Ethernet adapter would work.
     
  13. reneg

    reneg Well-Known Member

    1,121
    221
    Jun 19, 2002
    Just wondering if you can configure your Netgear router as a gateway (or switch, or access point) so that all the devices are on the same subnet?
     
    Last edited: Jul 12, 2018
  14. mlippert

    mlippert Active Member

    311
    73
    Apr 2, 2010
    Massachusetts
    @jmyshral ,
    Zeroconf (aka bonjour) service discovery is how TiVos (and pytivo) discover each other. It relies on link-local addressing (see Bonjour/ZeroConf/Rendezvous/mDNS across multiple subnets/) so the broadcasts won't ever be able to cross subnets.

    I think it would be possible (with some code changes) to put a TiVo's IP address into the config and pull shows from that TiVo, but I don't think you'd be able to get shows back to that TiVo.

    Since you don't really need (or want) isolated networks you should be able to setup the Netgear router to be only a network switch and access point, and not a gateway (to another network).

    You'd do this by disabling the DHCP functionality of the Netgear router, and connecting it to the Fios actiontec router using a LAN port not the WAN port of the Netgear router. This will let all devices connecting to the Netgear and requesting an IP address via DHCP get it from the Fios router's dhcp server. At least that's how I think it should work (partly based on Can I connect an internet router to another one so I can have WI-FI in other rooms?)
     
  15. Dougmeister

    Dougmeister Member

    123
    4
    Mar 28, 2007
    Hey everyone. Thanks for making this thread.

    I switched to pyTivo a few months back and it works great... most of the time.

    The problem is that the "Tivo" folder on my Tivo Roamio Pro disappears. I can't quite nail it down, but it pretty much happens within a day or two of me installing pyTivo.

    I can get it to re-appear by stopping pyTivo and re-installing it, but that's not really a good solution.

    I am willing to provide any additional information here that I need to. Can anyone help? Thanks.
     
  16. mlippert

    mlippert Active Member

    311
    73
    Apr 2, 2010
    Massachusetts
    Switched to pyTivo from what? I'm trying to understand what you are using pytivo for, copying shows from your TiVo to your computer; copying videos from your computer to the TiVo? Both?

    What OS is pytivo installed on?

    I'm guessing that the "Tivo" folder you're talking about is a share name defined in pytivo so that you can pull shows from your desktop onto your Roamio Pro, is that correct?

    I'd like to confirm that pyTivo Desktop is not installed as a service because I've seen many cases reported here where that was an issue.

    I don't have any ideas, but Dan might, I think the answers to the above questions might help.
     
  17. Mikeguy

    Mikeguy Well-Known Member

    27,636
    9,203
    Jul 28, 2005
    Rather than stopping and re-installing, can you stop (being sure to exit both pyTivo Desktop and pyTivo) and then just re-starting, forcing the connections again?
     
  18. Dougmeister

    Dougmeister Member

    123
    4
    Mar 28, 2007
    From Tivo Desktop.

    Both.

    Windows 7.

    Correct.

    Again, correct. Not installed as a service.

    I'll try it the next time it dies and let you know.
     
    mlippert likes this.
  19. avaddict

    avaddict Member

    65
    25
    Nov 23, 2014
    Give me a shout and I can help you through grokking the abstractions in Python 2/3, as well as accomplishing things with YAML and JSON.
     
  20. ppeewang

    ppeewang New Member

    23
    1
    Aug 27, 2012
    Hi all, sorry to do this, I can't find the answer. I have two tivo's a Romio with the new interface and an old premiere. Premiere sees pytivo and is able to transfer files over. In roamio I cannot see any of the shares any where, is it supposed to be under "my shows" I can't seem to figure it out. Thanks

    EDIT: IT looks like its because in Hydra this feature is no longer there. This is thoroughly disappointing to no end.
     
    Last edited: Jul 15, 2018
    Mikeguy likes this.

Share This Page

spam firewall

Advertisements