1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

pyTivo - Transcoding server

Discussion in 'TiVo Home Media Features & TiVoToGo' started by armooo, Nov 25, 2006.

  1. innocentfreak

    innocentfreak Active Member

    Aug 25, 2001
    That's what it is. I need to just dump this POS actiontec router. I had an older FiOS router which blocks it by default and the page is hidden so I have to dig up the link to stop it from filtering multicast. When I got the new FiOS router I had to reset up the Actiontec, and forgot about the setting.
  2. mlippert

    mlippert Member

    Apr 2, 2010
    I just wanted to let users of pytivo know that I've made changes for myself that others might find useful.

    Upfront disclaimer: I've been the only one using the version w/ my changes so only my use cases have seen any testing.
    In particular this means:
    • it's never been tried on the Mac
    • I have no idea if running as a service on MS Windows still works
    • I've mostly been downloading TS files and not decoding them (I do that later w/ VRD)

    My major personal impetus for making the changes was to get better information about the sync errors when downloading using transport stream (TS) from my tivos and to do that I used @Dan203's changes from his fork. I was also hoping to make finding TiVos on my LAN more reliable (I'm not sure if I succeeded in that or not).

    To that end my fork at GitHub - mlippert/pytivo: pyTivo is both an HMO and GoBack server. Similar to TiVo Desktop pyTivo loads many standard video compression codecs and outputs mpeg2 video to the TiVo. However, pyTivo is able to load MANY more file types than TiVo Desktop.:
    • Converts the existing @wmcbrine codebase from Python 2 to Python 3
    • removes copied python packages and uses the latest version from the environment (pip)
    • moves some settings in the pytivo.conf file into a new [togo] section
    • TS downloads always create a *.syncerr.yaml file detailing the results of the download attempts
    • I've added an option 'all' to the 'ignore', 'reject', 'best' options created by @Dan203
    • You can customize the name of downloaded files w/ 2 new conf settings episode_fn & movie_fn
    • I've tweaked the logging a fair bit in order to get more debug information, but have regular logging be more discerning.

    Here's the changelog:
    # Change Log
    ## [2.5.1] - 2018-02-13
    ### Fixed
    - fix crash getting NPL of a different TiVo than the one with active downloads.
    ## [2.5.0] - 2018-02-01
    ### Changed
    - add new _ts_error_mode_ value **all** that saves all togo download attempts
    - refactor the pyTivo version references in the code and add the version to
      the info page
    - Update dependecies
        - mutagen (1.40)
    ## [2.4.0] - 2018-01-26
    ### Changed
    - config fields for customized togo file naming; _episode_fn_ &  _movie_fn_,
      see [togo/fn_fields.md](./plugins/togo/fn_fields.md) for more info
    - change logging priority of httpserver requests from info to debug to reduce
      noise when sending info priority messages to the console
    ## [2.3.0] - 2018-01-09
    Some testing on Windows 7 in addition to Linux
    ### Changed
    - Write a yaml sync error log file for every togo download
    - Default to using transport stream downloads
    - Update dependecies
        - mutagen (1.39)
        - pytz (2017.3)
        - tzlocal (1.5.1)
    - Add a section to the Readme about installing on MS Windows
    ### Added
    - Add some TiVo documentation so it's available in the future if needed.
    - Add some development features like a Makefile to help running pylint and
      other development tasks
    ## [2.2.1] - 2017-07-30
    ### Fixed
    - fix exception putting attempt number in filename
    - improve logging
    ## [2.2.0] - 2017-07-29
    ### Changed
    - Improve the logging during togo downloads
    - Implement new ShowInfo class to encapsulate most of the show metadata
    - Refactor download thread functionality
    - Update dependecies, add tzlocal
        - mutagen (1.38)
        - zeroconf (0.19.1)
        - tzlocal (1.4)
    ## [2.1.0] - 2017-07-18
    ### Changed
    - Incorporate Dan203's changes for his version PyTivo up through 1.6.7 except the
      pyInstaller and pyTivoTray which were more specifically for PyTivoDesktop and
      Windows & Mac not Linux.
        - Check transport stream (ts) downloads for sync errors
        - TivoDesktop togo file naming
        - support using tivolibre to decode the downloaded .tivo file
    - moved togo settings to their own section in pytivo.conf ([togo])
    ### Fixed
    - Implement thread safety for the togo download threads
    - Log not finding a binary (e.g. tivodecode) only once per run
    ### Added
    - new dependency
        - pytz (2017.2)
    ## [2.0.0] - 2017-06-20 (forked to https://github.com/mlippert/pytivo)
    Tested only on Linux
    ### Changed
    - Converted from Python 2 to **Python 3**
    - Remove local copies of packages, use latest versions from pip
        - zeroconf (0.19.0)
        - mutagen (1.37)
        - cheetah3 (3.0.0)
    - Format README with markdown
    - Various info added to the README
    - Prefix the episode title w/ the episode number when shown in a folder on the TiVo
    ### Added
    - requirements.txt file for use w/ pip to install dependencies
    ## [1.6.0] - prior to 2017-01-01 (from https://github.com/wmcbrine/pytivo)
    ### Added
    - All functionality of pyTivo up until this time. (I am not aware of any distinct
      versions or releases prior to this time. -mjl)
    If you try to use this fork and run into issues, let me know and I'll try to resolve them (no guarantees :))
    aaronwt likes this.
  3. kbgators

    kbgators New Member

    Dec 28, 2012
    Thank you for the work.
    I haven’t use pyTivo in a long time, since the ability auto-push to the TiVo was removed. Anyone ever get that working?
  4. fyodor

    fyodor Member

    Sep 19, 2006
    My understanding is that it is dependent on functionality in the Tivo/Tivo servers that doesn't exist anymore
  5. lpwcomp

    lpwcomp Well-Known Member

    May 6, 2002
    Yes, it used the TiVo servers to send the request to the TiVo. It was disabled (without notice) in August 2016.
  6. mlippert

    mlippert Member

    Apr 2, 2010
    You're welcome.

    As for push I was about to say exactly what @fyodor said, and @lpwcomp added even more details that I didn't know. (Thanks for that)

Share This Page