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

pyTivoX

Discussion in 'TiVo Home Media Features & TiVoToGo' started by Yoav, Dec 10, 2008.

  1. Dec 13, 2008 #61 of 1437
    raianoat

    raianoat TiVoBlog.com

    229
    0
    Jan 27, 2004
    Thanks a lot! I'll try it out later today/early tomorrow.
     
  2. Dec 13, 2008 #62 of 1437
    raianoat

    raianoat TiVoBlog.com

    229
    0
    Jan 27, 2004
    I tried a couple of videos and it seems to be working. Thanks again! I'll be sure to mention this version on my blog.
     
  3. Dec 13, 2008 #63 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ok I made an 'interface-type' change and bumped up the version to 1.0 (since it seems to be stable enough to tell others to go ahead and use it).

    the interface change is a little odd due to apple's behavior:

    When you install the app, it will assume you want to run it as a program (serving when it's running, and not serving when you quit). It will have a dock icon and a menu bar, and will generally act the way most programs work. If you close the window with the red X, it will remain running, and you can always pop the window back by clicking on the dock icon.

    IF you select 'startup at launch', it will still have an icon/menubar until you restart the application. When you do, it will launch and only show you the little menulet at the top, from which you can open the config window. There will be no dock icon or menubar.

    If you un-select 'startup', you'll still need to quit and restart before the dock icon appears again...

    Anyways, long blah blah for something that is probably not relevant to most, but figured I'd explain the odd behavior :). Just choose whether you want it always running in the background, or whether you prefer to run it when you want to download only, and leave it that way...


    Oh yeah.. main point: 1.0 is out...
     
  4. Dec 14, 2008 #64 of 1437
    bedelman

    bedelman Call me Bob

    3,564
    0
    Feb 26, 2001
    Crystal...
    Yoav -- thanks so much for doing this. I've been wanting to change to using pyTiVo for a while now -- and even more so now that it looks like version 11 of the TiVo software now locks up when I try to pull from a Mac running TiVoDotNet.

    This might be obvious for some others -- but if you're still using TiVoDotNet (like I was), you need to stop TiVoDotNet from running before pyTiVoX will work

    It does look like the aspect settings may need to be tweaked a tiny bit in ffmpegX. I have a widescreen AVI file that's 640 x 272 and it's cutting of about 10 pixels on the left and right -- although I suppose it could be my HDTV that's doing this as well.
     
  5. Dec 14, 2008 #65 of 1437
    raianoat

    raianoat TiVoBlog.com

    229
    0
    Jan 27, 2004
    Thanks again for all your hard work. it really is appreciated!
     
  6. Dec 14, 2008 #66 of 1437
    gsr1

    gsr1 New Member

    11
    0
    Dec 6, 2008
    I downloaded and installed pyTivoX v 1.0.
    I added a shared folder containing a bunch of MP4 files, set the type as Video, gave it a shared name, and then clicked restart.
    I don't see anything on my Tivo.
    Was I supposed to download/install anyting else, like pyTivo, or is pyTivoX all I need?
     
  7. Dec 14, 2008 #67 of 1437
    fatespawn

    fatespawn New Member

    139
    0
    Oct 14, 2007
    Chicagoish, IL
    intel? ppc? 10.5? 10.4?
     
  8. Dec 14, 2008 #68 of 1437
    gsr1

    gsr1 New Member

    11
    0
    Dec 6, 2008
    Intel, 10.5.5, IMac 2.16GHZ, circa 6/07, Tivo HD
    I do have Parallels running - I'm not sure if this is an issue, per earlier in the thread.
     
  9. Dec 14, 2008 #69 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    pyTivoX is all you need. Except you've obviously stumbled on a bug :).

    Questions:
    is your tivo on the same subnet as your mac? If so, do you know what the broadcast address for that subnet is?

    Can you make sure pyTivo and parallels are both running, and then open up a Terminal.app and type the following commands, and send the full output here?
    Code:
    route get default
    ifconfig -a
    ps auxwww  | grep Python
    One other thing: are you running any other copies of pyTivo? or do you have any program running that might be using port 9032?
     
  10. Dec 14, 2008 #70 of 1437
    gsr1

    gsr1 New Member

    11
    0
    Dec 6, 2008
    1. My Tivo and Mac are on the same subnet. I have the Tivo connected via a wireless connection and I see both the Mac and Tivo connected when I examine the DHCP clients table.

    2. Both pyTivoX and Parallels are running - I'm still confused as to pyTivo vs pyTivoX, as I only downloaded and installed pyTivoX.

    3. Here is the full output:

    Last login: Sun Dec 14 14:47:15 on ttys000
    GSR1-MAC:~ GSR$ route get default
    route to: default
    destination: default
    mask: default
    gateway: 192.168.1.1
    interface: en0
    flags: <UP,GATEWAY,DONE,STATIC,PRCLONING>
    recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
    0 0 0 0 0 0 1500 0
    GSR1-MAC:~ GSR$ ifconfig -a
    lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
    inet6 fe80::1&#37;lo0 prefixlen 64 scopeid 0x1
    inet 127.0.0.1 netmask 0xff000000
    inet6 ::1 prefixlen 128
    gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
    stf0: flags=0<> mtu 1280
    en0: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
    inet6 fe80::21b:63ff:fe1d:e4fd%en0 prefixlen 64 scopeid 0x4
    inet 192.168.1.103 netmask 0xffffff00 broadcast 192.168.1.255
    ether 00:1b:63:1d:e4:fd
    media: autoselect (100baseTX <full-duplex,flow-control>) status: active
    supported media: autoselect 10baseT/UTP <half-duplex> 10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,hw-loopback> 10baseT/UTP <full-duplex,flow-control> 100baseTX <half-duplex> 100baseTX <full-duplex> 100baseTX <full-duplex,hw-loopback> 100baseTX <full-duplex,flow-control> 1000baseT <full-duplex> 1000baseT <full-duplex,hw-loopback> 1000baseT <full-duplex,flow-control> none
    fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 2030
    lladdr 00:1b:63:ff:fe:0b:01:f2
    media: autoselect <full-duplex> status: inactive
    supported media: autoselect <full-duplex>
    en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    ether 00:1b:63:15:05:82
    media: autoselect (<unknown type>) status: inactive
    supported media: autoselect
    en4: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
    inet6 fe80::21c:42ff:fe00:8%en4 prefixlen 64 scopeid 0x7
    inet 10.211.55.2 netmask 0xffffff00 broadcast 10.211.55.255
    ether 00:1c:42:00:00:08
    media: autoselect status: active
    supported media: autoselect
    en5: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
    inet6 fe80::21c:42ff:fe00:9%en5 prefixlen 64 scopeid 0x8
    inet 10.37.129.2 netmask 0xffffff00 broadcast 10.37.129.255
    ether 00:1c:42:00:00:09
    media: autoselect status: active
    supported media: autoselect
    GSR1-MAC:~ GSR$ ps auxwww | grep Python
    GSR 59535 0.0 0.0 599820 460 s000 R+ 2:47PM 0:00.00 grep Python
    GSR 59474 0.0 1.0 113656 21072 ?? Ss 2:41PM 0:01.08 /System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python /Applications/pyTivoX.app/Contents/Resources/pyTivo-wgw/pyTivo.py
    GSR1-MAC:~ GSR$
     
  11. Dec 14, 2008 #71 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007

    Short version: pyTivo is a python program which does the stuff. It requires you configure it and install ffmpeg.
    pyTivoX is an application bundle that comes with pyTivo, ffmpeg, and a configurator for pyTivo, and lets you auto-launch it at login. It's aimed at people who don't want to have to bother with building applications or installing fink/darwinports or whatever...

    Ok now to the problem we're seeing:
    It looks like it's configured correctly to use the right broadcast address (you can look at ~/Library/Application Support/pyTivoX/pyTivo.conf for the beacon value, it should be set to your broadcast address). So this is not an issue with parallel's shadow network getting priority.

    So now we get to wonder why your tivo is not seeing pyTivo. One thing to look at is the output in /tmp/pyTivoX.log .. is there anything interesting in there (or just cut/paste the last 100 lines or so here)?
     
  12. Dec 14, 2008 #72 of 1437
    gsr1

    gsr1 New Member

    11
    0
    Dec 6, 2008
    Bare with my - I'm a MAC newbie.
    Where do I find the /tmp/pyTivox.log?
     
  13. Dec 14, 2008 #73 of 1437
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Sorry your last response made it seem like you're familiar with the workings :)

    Ok, open up a Terminal.app program (you can't access /tmp from the Finder).

    in the Terminal.app program, type
    Code:
     less /tmp/pyTivoX.log
    hit 'q' when you're done. or use
    Code:
     tail -100 /tmp/pyTivoX.log
    to just see the last 100 lines.
     
  14. Dec 14, 2008 #74 of 1437
    bedelman

    bedelman Call me Bob

    3,564
    0
    Feb 26, 2001
    Crystal...
    Actually, you can -- it's just not obvious. Under the "Go" menu in Finder is a "Go to Folder..." option. Chose that and type in /tmp and hit the "Go" button -- and you'll be taken there

    - Bob
     
  15. Dec 14, 2008 #75 of 1437
    gsr1

    gsr1 New Member

    11
    0
    Dec 6, 2008
    Thanks. I tried both ways of getting the /temp file and got the same result. The entire log is just:

    INFO: pyTivo: pyTivo is ready.

    There aren't actually any spaces after the ":" I put them there to avoid getting the :p character.
     
  16. Dec 14, 2008 #76 of 1437
    bedelman

    bedelman Call me Bob

    3,564
    0
    Feb 26, 2001
    Crystal...
    Do you have a Shared Directory setup as shown in the pyTiVoX configuration screen? If so, are there any video files in that directory?

    If there is an entry, you might also try using the same "Go to Folder" screen to check to see if that directory location is the right one -- or is valid
     
  17. Dec 14, 2008 #77 of 1437
    gsr1

    gsr1 New Member

    11
    0
    Dec 6, 2008
    I have my iTunes..Movies folder set as the shared folder. It does have a bunch of MP4 movies.
    I double checked...the folder selected is shared. I changed the folder above it to be shared as well, in case that makes a difference.
    I still don't get it to show up.
    I have TivoDeskTop On -- I did buy Toast. Does this need to be off? Apparently not, as I just turned it off and it still didn't work. So, I turned TivoDeskTop back on.
     
  18. Dec 14, 2008 #78 of 1437
    bedelman

    bedelman Call me Bob

    3,564
    0
    Feb 26, 2001
    Crystal...
    Neither Toast or TiVo Desktop for Mac OSX should interfere (I have both and TiVo Desktop is on)

    Are these videos from the iTunes Music Store? If so, they're protected with Apple's DRM and nothing other than Apple's software or hardware knows how to unlock them.

    - Bob
     
  19. Dec 14, 2008 #79 of 1437
    gsr1

    gsr1 New Member

    11
    0
    Dec 6, 2008
    No - they are not protected.
     
  20. Dec 14, 2008 #80 of 1437
    bedelman

    bedelman Call me Bob

    3,564
    0
    Feb 26, 2001
    Crystal...
    Thanks -- I'd suggest putting them somewhere else though if you can. Depending on your setup, there can be other protected movies and/or music in the iTunes folder structure. If not, I suppose it's possible for iTunes to also have some of those files in use when iTunes is running. This is all conjecture on my part -- but I'm keeping my pyTiVo movies in a completely separate folder (just like I used to do with TiVoDotNet) and then setting up the share for that folder and don't include the iTunes folder structure at all.

    - Bob
     

Share This Page