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. jcthorne

    jcthorne Active Member

    2,721
    3
    Jan 28, 2002
    Houston
    Try these instructions to walk you through:

    http://scottsoapbox.com/2010/04/20/pytivo-install-instructions/

    There is no up to date windows installer or exe file. Its a Python program that runs on multiple operating systems. You install the python interpreter for windows and then the pyTivo system runs in a command line window.
     
  2. stlarenas

    stlarenas Active Member

    2,219
    0
    Sep 16, 2005
    near St...
    I have been using pytivo for a couple of years with no issues. I have been able to transfer all sorts of files to both of my s2 tivos at about real time speed (sometimes slightly longer by 5 or 10 minutes).

    Both tivos are connected to the network via Ethernet cables, and the transfers speeds have been the same whether I push or pull the files.

    Recently anytime I try and transfer a file it is very slow...close to 4 hours for a 45 min file.

    I reset my tivo's and upgraded my pytivo to the most recent build but nothing has helped.

    Any idea where to go next to troubleshoot this issue?

    Thanks
    diane
     
  3. Phantom Gremlin

    Phantom Gremlin New Member

    1,555
    0
    Jun 20, 2002
    Tualatin,...
    Try power cycling your Ethernet switch and/or router.

    Are there lights on your Ethernet switch? Do they indicate 100 Mbit full duplex?

    Do you have any other Ethernet cables you could try?

    Do you have any way of monitoring traffic on you Ethernet network? If nothing else, look at all the blinky lights on the switch when things should be relatively quiet. Are the lights flashing madly? If so, your transfers might be fighting with a lot of other network traffic. Maybe some Windoze exploit just made you part of a botnet. If so, replace all your Windoze machines with Macs.
     
  4. MikeAndrews

    MikeAndrews Registered abuser

    14,222
    1
    Jan 17, 2002
    Northern...
    I know I'm repeating a discussion from here:
    http://www.tivocommunity.com/tivo-vb/showthread.php?t=418958&page= but I'm looking for the latest information and the downloads from last year have gone into hiding.

    I'm trying to install pyTiVo on a G4 Mac Mini running OS X 10.4.11 Tiger. I have kmttg working for file transfers.

    First where is the latest version of pyTivo that isn't pyTiVoX and OS X 10.5 specific? The download page on Sourceforge only offers me pyTivoX and Google isn't being too helpful other than pointing here.

    It's looking like the version of ffmeg packaged with kmttg_v0p71 doesn't run on 10.4. I get a bus error and decodes aren't working in kmttg. Where can I find the latest version of ffmeg that will run on 10.4?

    EDIT: tivodecode gives a bus error, too. ARGGH!


    Thanks for any pointers!
     
  5. wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
  6. Aug 1, 2010 #2866 of 5684
    MikeAndrews

    MikeAndrews Registered abuser

    14,222
    1
    Jan 17, 2002
    Northern...
    THANKS, Bill!

    Just to show I'm not as clueless as it appears I managed to compile and install from source a working copy of tivodecode-0.2pre4!

    configure in the ffmpeg0.6 package makes a corrupt Makefile? make keeps telling me there's mismatched parens on line 28 of common.mak but I sure don't see it. I found an old download of ffmpeg on my Macbook so I have hope. Oh. It's on the Wiki. Same version.

    Code:
    netringer-Mac-mini:/Applications/local/pyTiVo netringer$ cat pyTivo.conf
    [MyMovies]
    type = video
    path = /Volumes/WDC20two/Movies/TiVo
    
    [Server]
    port = 9032
    ffmpeg = /usr/local/bin/ffmpeg
    netringer-Mac-mini:/Applications/local/pyTiVo netringer$ ./pyTivo.py
    ERROR: pyTivo.conf does not exist.
    You must create this file before running pyTivo.
    netringer-Mac-mini:/Applications/local/pyTiVo netringer$ cat /etc/pyTivo.conf
    [MyMovies]
    type = video
    path = /Volumes/WDC20two/Movies/TiVo
    
    [Server]
    port = 9032
    ffmpeg = /usr/local/bin/ffmpeg
    netringer-Mac-mini:/Applications/local/pyTiVo netringer$ 
    
    *sigh*
    How much more exist does pyTivo.conf have to be?

    I give up. I'll upgrade to OS X 10.5 as soon as I can. Event that is looking to be an adventure.
     
  7. Aug 1, 2010 #2867 of 5684
    wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    That is odd. I can't account for it. I can only tell you that I have no problem running pyTivo on my own Mini with 10.4.

    Oh -- you do need at least Python 2.4 to run pyTivo. OS X 10.4 comes with Python 2.3.5, which won't cut it. I installed 2.5, and later 2.6, on my Mini. /usr/bin/python is still 2.3.5, so it doesn't mess anything up.

    Edit: Confirmed -- this is the error I get if I try to run pyTivo with 2.3.5 on my Mini. I'll see about making it give a more appropriate error message.
     
  8. Aug 2, 2010 #2868 of 5684
    stlarenas

    stlarenas Active Member

    2,219
    0
    Sep 16, 2005
    near St...
    Thanks for the reply.

    I have determined that the speed of transfer is fine from tivo to tivo. Just not from my external hard drive to tivo....

    So I think it may be an issue with my external hard drive where my media is stored. I am going to run a check disk on the drive and cross my fingers that it is not a failing hard drive....

    If you have any further thoughts let me know....

    thanks
     
  9. Aug 5, 2010 #2869 of 5684
    Neenahboy

    Neenahboy Statistical outlier TCF Club

    16,496
    2
    Apr 7, 2004
    Arlington, VA
    I'm having an issue with transferring certain .mkv files using pyTivoX v1.3 on OS X 10.6.4 using a TiVo HD. I queued up a transfer list of 24 files; the first nine completed successfully, while the others registered as 0:00 partials in Now Playing. Thinking this was an aberration, I queued them up again to no avail.

    Currently, I can only transfer the .mkv files that are already completed, as well as any other file formats that could be done previously. The failed .mkv files are not corrupt, and I can think of no reason why they're not transferring. I've uninstalled pyTivoX a couple times and rebooted both the Mac and TiVo, but am still coming up empty.

    Thoughts?
     
  10. psywzrd

    psywzrd New Member

    219
    0
    Mar 25, 2003
    Funny you should mention this because I'm experiencing the same exact problem. I'm on a Mac as well and I'm unable to transfer an mkv file from my Mac to my S3. The transfer starts but it stops after a couple of seconds or so and I'm left with just a partial on my Tivo. I even tried it on my other S3 and the same thing happens. Not sure what's going on because I was able to transfer 2 avi files without a problem.
     
  11. innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    I just want to make sure I am not missing it. There isn't a tool for automated metadata for existing files?

    I saw the one that does it during current transfers and the one that does one file at a time, but I was hoping there was one similar to the various metadata tools out there.
     
  12. sdzc

    sdzc New Member

    101
    0
    Sep 3, 2005
    OK, I have both Python and PyTivo running and PyTivo can see my tivos in the To Go section.

    What I cannot get right now is for my Tivo's to see the My Videos folder where I have set up the path. In other words, it is not showing up in my Now Playing list


    Any thoughts? Hopefully tonight (to get an answer)
     
  13. windracer

    windracer joined the 10k club

    11,580
    3
    Jan 3, 2003
    St. Pete, FL
    Post your pytivo.conf file ... that might help.
     
  14. steinbch

    steinbch Member

    136
    4
    Nov 23, 2007
    Is it possible to run PyTivoX and not have it show up in the dock? That's my only reason for not keeping it running 24/7. I like to have a minimalist dock. I didn't see anything in the config file for it.
     
  15. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    You need to upgrade to rdian06's latest FFmpeg 1.01 release from here or if you are using macports upgrade to the latest FFmpeg-devel package. This more than likely will fix your MKV transfer issues.
     
  16. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    Create a new file calling it "pyTivo.plist" with the following code

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>KeepAlive</key>
        <true/>
        <key>Label</key>
        <string>pyTivo</string>
        <key>ProgramArguments</key>
        <array>
            <string>python</string>
            <string>/Applications/pyTivo/pyTivo.py</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
    </dict>
    </plist>
    
    Modify the string with the file location of your pyTivo folder then save this plist file and place it in "/Library/LaunchDaemons" folder. Restart the computer and after login you will have an invisible pyTivo process. It is a KeepAlive process so if it crashes it automatically restarts. If you need to restart the pyTivo process then kill the python process running under 'All Processes' using the Activity Monitor app (or using the pyTivo web access page)



    Edit: I read your post wrong and thought you were talking just about pyTivo. So using the above works only if you decide to run pyTivo standalone without pyTivoX. Sorry :eek:
     
  17. psywzrd

    psywzrd New Member

    219
    0
    Mar 25, 2003
    What exactly do I need to do? I downloaded the zip file and opened it up and it's a folder with a bunch of files in it. Do I need to copy those files somewhere?
     
  18. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    Those are all the current files necessary to make FFmpeg work. You copy all the files over to where FFmpeg is stored currently by pyTivo or pyTivoX and your config file points to ffmpeg.bin. It should just be drag and drop replacement.

    If you tell me whether you have the pyTivoX app or just the regular pyTivo scripts I can help you more specifically on where to place the files.
     
  19. psywzrd

    psywzrd New Member

    219
    0
    Mar 25, 2003
    I believe I just have the pytivox app (1.3) but I'm not 100% sure. How I can I definitively tell if I have the app or the scripts?
     
  20. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    If you are running pyTivoX to access your media files on the TiVo then thats what you have. pyTivoX is just a frontend that allows easy configuration and access to both pyTivo and StreamBaby which are normally separate programs.


    To replace the FFmpeg that pyTivoX uses:

    -Make sure pyTivoX is no longer running
    -Download rdian06's latest OS X FFmpeg binaries (for x86 or PPC) here
    -Extract the files from the updated FFmpeg file you downloaded.
    -Navigate to the location your pyTivoX app is stored
    -Right click on the application and select "Show Package Contents", an new window will open showing the files that make up pyTivoX
    -In the window that opened navigate to /Contents/Resources/
    -Drag and drop the new FFmpeg files onto this window. It will ask you if you want to replace the existing files, say yes.

    That's all it takes to upgrade your FFmpeg. If you have any new issues after this post here. Since pyTivoX is no longer updated I am uncertain what version of pyTivo the app is running and it may need to have those files updated as well to run the latest FFmpeg.
     

Share This Page