PyTivo - Talk to me like I'm in Kindergarten

Discussion in 'TiVo Home Media Features & TiVoToGo' started by sptnut, May 9, 2011.

  1. May 27, 2011 #61 of 103
    jcthorne

    jcthorne Well-Known Member

    3,116
    196
    Jan 28, 2002
    Houston

    Advertisements

    If you want to store the video on your server and yet have it available from the tivo, head over to the HME developers thread and check out vidmgr. Its a very nice addition to running pytivo that presents your server stored vids to the user and then uses pytivo to send them to tivo. You can start watching as soon as the transfer begins. Pretty much everything streaming offers but with none of the downsides.
     
  2. May 27, 2011 #62 of 103
    jcthorne

    jcthorne Well-Known Member

    3,116
    196
    Jan 28, 2002
    Houston
    Could you elaborate on why I would want to do this? What advantages am I missing?
     
  3. May 27, 2011 #63 of 103
    jcthorne

    jcthorne Well-Known Member

    3,116
    196
    Jan 28, 2002
    Houston
    If someone would be so kind as to recreate those screen shots from a windows installation and send them to me, I'd be happy to update the wiki. I could try and do it but would take me a while since not that handy with the graphics tools.
     
  4. May 27, 2011 #64 of 103
    KLINK

    KLINK Member

    160
    2
    Aug 17, 2004
    Thanks for the info.


    It loos like the ffmpeg thing. I get a Tivo Please Wait message when this happens.
     
  5. May 27, 2011 #65 of 103
    WestTx

    WestTx Member

    47
    0
    Dec 5, 2005
    West Texas

    Advertisements

    PM sent
     
  6. May 27, 2011 #66 of 103
    jcthorne

    jcthorne Well-Known Member

    3,116
    196
    Jan 28, 2002
    Houston
    Thanks for the prepared image. wiki updated.
     
  7. May 27, 2011 #67 of 103
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,089
    0
    Apr 19, 2004
    East Moline, IL
    There may be a couple advantages. With a Service, pyTivo will run without needing someone to log on, or be logged on. Also, it ensures only one instance is ever run at a time. For example, I can log on at the computer's console, and have my Startup folder programs execute without issue. Walking away and logging in via Remote Desktop on my laptop, those same Startup folder programs attempt to execute, and fail with being unable to bind to a specific required port. Having an open or minimized window for me offers an opportunity to accidentally close it, if I'm not paying attention.

    ETA: I tried the SC command, and initially got a 193 error indicating that the program (pytivo.py) was not a valid Win32 application. So I specified python.exe followed by the path to pytivo.py, and got a 1053 error, indicating that the Service didn't start "in a timely fashion".
     
  8. May 27, 2011 #68 of 103
    langsbr

    langsbr New Member

    25
    0
    Jan 19, 2008
    Columbia, SC
    OK, I need the kindergarten lesson now - I've been using pytivo for years and love it. I never messed with the push feature and I don't believe I have it in my install.

    Ive searched and searched and find people having issues, but nothing on HOW to get Push working. I really want to use push with vidmgr. When I went to the vidmgr install, it says it needs pyhme - is that simply a part of the newest build of pytivo? Im using an older version of wmcbrine's fork.

    What am I missing? Is it as simple as installing the newest version of pytivo and then push will be installed, along with the pyhme?

    Thanks
     
  9. May 27, 2011 #69 of 103
    langsbr

    langsbr New Member

    25
    0
    Jan 19, 2008
    Columbia, SC
    OK, I found the hme for python that wmcbrine created - loaded and good. I think Im onto the right path for vidmgr.

    However, using the quick start method to launch it keeps it running in a command window on Windows. Is there a way to have it run as a service, the way pytivo does?

    Also - has anyone seen a pytivo pull video completely disappear after transfer? I just got a premiere and Ive transferred the same video 4 times and its gone as soon as its done. I can begin playing it while its transferring, but I usually kick off the transfer and come back so it doesnt catch up to the transfer.
     
  10. May 27, 2011 #70 of 103
    Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    Transfers (push) that error out and are not completed do this. If you pull the content normally you can cancel the recording at any point and the video up to the canceled point will stay on your TiVo. If you push the file, any error or cancellation of the transfer will result in the file disappearing from the recording list, even if you have all but the last 5 minutes of a video transferred.

    As to why it is happening to you it could be a number of things. An error output would be helpful.
     
  11. May 27, 2011 #71 of 103
    jcthorne

    jcthorne Well-Known Member

    3,116
    196
    Jan 28, 2002
    Houston
    Did you upgrade to a current pytivo build to support the premiere?

    vidmgr requires 3 things. pytivo, hme for python and vidmgr.
     
  12. May 27, 2011 #72 of 103
    jcthorne

    jcthorne Well-Known Member

    3,116
    196
    Jan 28, 2002
    Houston
    Thanks for the explaination. I learned something.
     
  13. May 27, 2011 #73 of 103
    langsbr

    langsbr New Member

    25
    0
    Jan 19, 2008
    Columbia, SC
    That fixed it - I was running a build of pytivo that wmcbrine did in 2009!

    I've got pytivo working beautifully, as well as vidmgr working now!

    Strange - iluvatar said that push transfers disappear if they fail - it was occuring on mine with pulls. I wonder if it was due to the old version of pytivo and the premiere?
     
  14. May 27, 2011 #74 of 103
    Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    Ah I misread that. I have not seen pulls disappear typically unless you are having ffmpeg errors. If you updated you were running 2009 pyTivo you are probably running 2009 ffmpeg as well. I would recommend updating this as well. There is a thread over on the official pyTivo forums by rDian06 that offers prebuild ffmpeg binaries v.1.02 is the latest from them. Or you can compile your own.

    edit: link for windows. http://pytivo.sourceforge.net/forum/download.php?id=323
     
  15. May 29, 2011 #75 of 103
    lrhorer

    lrhorer Active Member

    6,933
    10
    Aug 31, 2003
    San...
    Not necessarily. The process employed by the TiVo for the push function calculates the size of the transfer and the bit rate, and prohibits playing of the program until enough has buffered to prevent pauses. This may mean a delay of several minutes, depending on the model of the TiVo, the LAN performance, the encoding, the size of the video, and the video resolution.

    'Not true. Trick-play features in particular suffer significant limitations when pushing. For many users, however, these limitations may not be of great concern.
     
  16. May 29, 2011 #76 of 103
    lrhorer

    lrhorer Active Member

    6,933
    10
    Aug 31, 2003
    San...
    Not just ffmpeg errors. Any error during a pull transfer will cause the video to disappear unless the user is actively playing the video.
     
  17. May 29, 2011 #77 of 103
    jcthorne

    jcthorne Well-Known Member

    3,116
    196
    Jan 28, 2002
    Houston


    Just to provide a complete answer, If the files on the server are in mp4 format and configured for native playback on a tivo Premiere, transfer will take place far faster than real time, even over most wireless networks and trick play funcitons will be fully available (ff, rew, skip ahead and pause) for the portion of the video already recieved.

    In real world use (my network) HD 1080p video is available to play in the time it takes to request it and go to the now playing list, select it and press play. Within 10 minutes the entire 2 hr movie has transferred while I am watching. THere is no rebuffering, no hickups, no pauses for data traffic etc. It truly CAN be everything local streaming wants to be with none of the down sides. But much like streaming, incorrectly formatted files, network limitations etc can lead to difficulties. The thread I pointed to will steer the user in the right direction to avoid this. Help is also available here in the forum for most of this detail.

    With vidmgr it also presents the tivo premiere user with a very nice HD menu of the titles available complete with cover art for each.
     
  18. May 29, 2011 #78 of 103
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,089
    0
    Apr 19, 2004
    East Moline, IL
    Kind of going against the "kindergarten" level, I have installed a user defined Service using Windows Resource Kit tools "Instsrv.exe" and "Srvany.exe", and Regedit.exe. The Service I installed was for HME for Python (hosting the pyTivo Video Manager app), but the process for installing pyTivo as a Service should be the same. I have instructions on how I did it in this thread.
     
  19. May 29, 2011 #79 of 103
    lrhorer

    lrhorer Active Member

    6,933
    10
    Aug 31, 2003
    San...
    Correct. The downside here is any MPEG2 files - which means all files transferred via TTG from a TiVo (in my case, virtually 100% of the files on the server) must be transcoded prior to transfer in order to enjoy the benefits. This involves a small amount of trouble for the user, although the process can be automated. For some users, the more important consideration is the inevitable loss of PQ when transcoding from MPEG2 to MPEG4.

    I don't have a Premier, so 1080i is the maximum resolution on anything I have on the server. Even some 1080i MPEG2 material, however, can have trouble with the speed of transfer, and my system has generally very good transfer rates. Watching some of the Planet Earth or Life episodes, for example, one will encounter pauses if one does not allow a few minutes of buffer.

    If one goes to the trouble of creating cover art. It's definitely not worth it, to me. 'Not for a couple of thousand titles.
     
  20. May 29, 2011 #80 of 103
    lrhorer

    lrhorer Active Member

    6,933
    10
    Aug 31, 2003
    San...
    That, or just run the servers under Linux and create a simple startup script under whatever directory your distro uses for its default run level.
     

Share This Page

spam firewall

Advertisements