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

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    that's a bummer. not worth it then as long as the tivo desktop prefpane is iphoto savvy. of course, no telling how long that prefpane will continue to work, godz only knows how old it is.

    /guy
     
  2. bareyb

    bareyb Under Maintenance TCF Club

    25,942
    5
    Dec 1, 2000
    Silicon Valley
    I have a feeling someone will figure it out and post how to do it at some point. It can't be THAT hard. We may just need someone who knows how to compile this stuff, do the heavy lifting and then provide a link to the finished product like Iluvatar did for his custom ffmpeg build. I have no idea, but for what it's worth I have an email in to Technical Support. We'll see if it pans out. ;)
     
  3. bareyb

    bareyb Under Maintenance TCF Club

    25,942
    5
    Dec 1, 2000
    Silicon Valley
    Iluvatar just shot me a PM with the start up file for pyTivo (.plist). It's pretty simple once you see it done. :up:

    Do you guys think I should just replace the post where I show how to use Terminal to autolaunch pyTivo? Seems like Fofer's script is better and the Autolaunch version by Iluvatar is probably the most elegant solution if you want to run it full time without having it lock up your Terminal. What do you think? Replace it?
     
  4. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    yeah, the terminal autolaunch is sort of a hack. nothing against you in that--such hacks used to be how we all operated--we all do what we have to at the time to get things running.

    /guy
     
  5. bareyb

    bareyb Under Maintenance TCF Club

    25,942
    5
    Dec 1, 2000
    Silicon Valley
    Precisely. I thought it was a pretty cool find at the time. Now it just seems... lame. I'm gonna dump it like a bad habit. We have far better ways now... :cool:
     
  6. bareyb

    bareyb Under Maintenance TCF Club

    25,942
    5
    Dec 1, 2000
    Silicon Valley
    UPDATE: Here's the finished product from Iluvatar! Note the Path Change. ;)

    There it is ready to use on a Mac. I installed it in my Launch Agents folder and it's working perfectly. Just copy and paste the text below into a "Plain text Document" (TextEdit) and save the file into the Launch Agents Folder. After that, it should launch pyTivo in the background and leave the Terminal free. If you want to turn it off just remove the file from the Launch Agents folder. Big thanks to Iluvatar for putting it all together.

    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>Label</key>
    	<string>pyTivo</string>
    	<key>ProgramArguments</key>
    	<array>
    		<string>python</string>
    		<string>/Applications/pyTivo/pyTivo.py</string>
    	</array>
    </dict>
    </plist>
    ETA:
    Pretty cool eh? Seems to me if one could create an AppleScript for those too if one was so inclined. :)
     
  7. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    for sure need to fire that marketing department! [g]

    /guy
     
  8. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    i've never used the launchagents method. i just create apps using applescript and then drag them into the system prefs / users & groups / logins items list. that way seems more manageable to me if you need to manipulate them at all.

    /guy
     
  9. bareyb

    bareyb Under Maintenance TCF Club

    25,942
    5
    Dec 1, 2000
    Silicon Valley
    Alright it's gone like a bad penny. :p

    Got the replacement page up here: http://pytivo.sourceforge.net/forum/post13160.html#13160

    I'm working on cleaning up some of the other pages too, also added a few more pics and some important links I had left out. I still have some other corrections to make, but I'm getting them done a little at a time... Is it a little sick that I'm enjoying my vacation more because I have this to work on while I'm here? :D

    Meh. I think it's fun and isn't the point of vacation??? Besides, I like to have something to do while I'm watching TV at night. Skiing always kicks my butt the first couple of days...
     
  10. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    sounds like me! anyway, your first draft was more than adequate to get me up and running and the screenshots were the icing on the cake, but i had done most of the steps on my own research a few weeks back. i'm sure we'll find a newbie guinea pig eventually to give it a good, thorough evaluation.

    /guy
     
  11. bareyb

    bareyb Under Maintenance TCF Club

    25,942
    5
    Dec 1, 2000
    Silicon Valley
    Hey that's great! Thank you for trying it out. It's gonna get better...

    I just added added YOUR section with the little Applescript App you created too. I think people are going to love it. I really do. Anything that saves time is a good thing. ;)
     
  12. bareyb

    bareyb Under Maintenance TCF Club

    25,942
    5
    Dec 1, 2000
    Silicon Valley
    Too late. We uncovered one loophole already. I just added a line warning folks to change the prefs in TextEdit to save in Plain Text Format. We got bit by that one earlier today.
     
  13. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    never noticed that one because i avoid textedit like the plague. i have at least 6 other editors that would have to quit working before i'd use that one.

    /guy
     
  14. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    gteague. Getting pyTivo to remux and provide faster speeds is the 'next' level up in pyTivo use. Its called pushing a file. If you have downloaded wmcbrines fork, like I said earlier the file must contain compatible codecs (h264/vc1 video, AC-3/AAC audio) to be able to be remuxed or already be in a MP4 format.

    Pushing a file happens from the WebAdmin interface. You don't request the file from your TiVo.

    You need to add your tivo.com username and password to the settings.

    Using the WebAdmin go to --> Web Configuration --> Global Server Settings
    and add your tivo.com user name (email usually) to the 'tivo_username' box. Add your tivo.com password to the 'tivo_password' box.

    After saving and resetting pyTivo you should see your local video shares show up in the WebAdmin interface. To test pushing a file, open one of your video shares listed and place a check mark in the box next to the video you want. Then at the very bottom of that page select your TiVo from the dropdown box and press 'Send to TiVo'.

    Pushing a file does not instantly show up on your TiVo. It has to be either remuxed or transcoded first, then pyTivo has to communicate with the Tivo servers to say 'hey I have a file here that needs to go on this particular TiVo box'. You will eventually see the blue light on your TiVo come on meaning the transfer has started.

    -----
    To test a remux: Just select a file that has h264 video and AC-3 or AAC audio. Typically these will be MKV or similar files. You will see your log output from pyTivo and FFmpeg going much faster.....like 1000 FPS or more which should complete in a couple minutes. After completing the remux, then pyTivo sends the request to have the file transferred.
     
  15. rjgibson0066

    rjgibson0066 Member

    93
    0
    Feb 12, 2007
    Did the Beacon but wasn't sure in the router settings what to change.

    I wanted to allow pyTivo connections through the firewall but don't know what application to specify. In the pyTivo folder there is no specific application - how can I identify the pyTivo application in the Firewall settings? Lion doesn't allow you to specify connections by port, only application (unless I am missing how to).
     
  16. pmiranda

    pmiranda New Member

    669
    0
    Feb 12, 2003
    Austin, TX
    One thing that's not clear to me, and I probably just need to try it... can a S3 or S4 accept VC-1 video with a multi-channel audio track (I don't care too much which, just more than 2-channel WMA)?
    I have some bluray that are VC-1 with DTS, and transcoding the audio to AC-3 is pretty fast, but if I have to transcode the video to H.264 I'll just keep watching the physical media even though I hate how clunky Cyberlink is compared to TiVo :-(
     
  17. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    The only surround channel audio codecs that are native TiVo compatible is AC-3 up to 5.1.

    It also supports 2 ch wma and 2 ch AAC LC (technically will play 5.1 AAC but sounds messed up). I believe pyTivo only sends the file as is for VC-1 if it is in a wmv container. I don't have any VC-1 samples so I can't say for sure.
     
  18. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    It is a page that lists my recent changes. Use the link in my sig to go to my pyTivo fork page. The top of the 'shortlog' list half way down the page is what you are looking for. The most recent change is always at the top of that list. Look all the way to the right and choose the link to download. Either tar.gz or zip format, doesn't matter.

    My last commit was updating to a patch wmcbrine made.......so RIGHT NOW the most recent development in my fork is "24 hours ago William McBrine Allow pushing (again) of MPEG-2 without ffmpeg." However this will change as I continue to add new changes.
     
  19. pmiranda

    pmiranda New Member

    669
    0
    Feb 12, 2003
    Austin, TX
    Is there a legal container for VC-1 video with AC-3 audio? It's easy enough to build a .mkv with this, but I'm not sure that's something legal to push to TiVo...
     
  20. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    I believe TiVo will only accept VC-1 video in a .wmv container. pyTivo requires wmav2 format audio to push file without transcoding. It does not currently remux VC-1 video from a non wmv container. It could though. Putting VC-1 and AC-3 together would be useful. I'll look into doing it, as long as FFmpeg is capable.
     

Share This Page