pyTivoX

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

  1. Jul 2, 2009 #621 of 1455
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007

    Advertisements

    The new code is in the pyTivoX beta build (check the downloads tab to download the beta).

    However, if the movie is problematic (possibly causing ffmpeg to crash while transcoding) I don't think automatic resume would help.
     
  2. Jul 2, 2009 #622 of 1455
    jdubs

    jdubs New Member

    9
    0
    Oct 27, 2008
    hmm,

    It may be the file. The one thing that tells me it isn't though is that it seems to fail at different points in the transfer.

    Also, after this happened a few times, I am able to open pytivox, but while my mac says it is open, I cannot see the windown that is supposed to appear.
     
  3. Jul 2, 2009 #623 of 1455
    jdubs

    jdubs New Member

    9
    0
    Oct 27, 2008
    They are connected through my wireless network.
     
  4. Jul 2, 2009 #624 of 1455
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Well, i'm building a new beta right now, so in a about 30 minutes, perform a 'check for updates' from the menubar and see if the new pyTivoX helps.
     
  5. Jul 2, 2009 #625 of 1455
    kupe

    kupe Viva 'la Tivolution!

    381
    22
    Apr 9, 2003

    Advertisements

    Hi Yoav-

    Hadn't checked in for awhile and just wanted to say thanks again for the continuing updates and support!

    Currently running 1.3b5 under Leopard 10.5.7 and wanted to ask you about a longstanding issue I have. For some reason, my Streambaby video volume under Music, Photos, and Showcases isn't "sticky". That is, anytime I want to view a streaming video, I have to go to my Mac and open PyTivoX and click Apply to "wake up" Streambaby and get it to appear on my Tivo Showcases.

    Note that I have no such problem with the "classic" PyTivoX volumes under Now Playing.

    More puzzling is that this problem only seems to be with Video volumes. I also have a Music share under Streambaby and that particular volume always appears under Showcases, with no need to "wake it up".

    I've actually had this problem all the way back to PyTivoX 1.1b24. Anything you can think of to fix this?

    Thanks!

    Kupe
     
  6. Jul 2, 2009 #626 of 1455
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Well, I believe the Music volumes are published by pytivo, not streambaby, so that would explain why you're seeing one and not the other (pyTivoX runs both pytivo and streambaby). It sounds like streambaby or java or whatnot decide to 'go to sleep' after a while, or maybe even crashes.

    Hitting 'Apply' will kill off the old streambaby invoke and start a new one, so that would 'wake it up'.

    Next time that the volumes disappear, instead of hitting Apply, can you first look at the end of the <user>/Library/Logs/pyTivoX/streambaby.log and see if there's a useful error in there? You may also want to report this on the streambaby thread to see if anyone else has seen this issue...
     
  7. Jul 2, 2009 #627 of 1455
    gonzotek

    gonzotek tivo_xml developer

    2,538
    59
    Sep 24, 2004
    Outside...
    I'm not seeing this beta. At pytivox I see the last uploaded build dated May 15th 2009. Should I be looking elsewhere?

    wmcbrine started working on interrupted transfers with this commit, dated June 16th 2009, and pretty much finished that work around the 21st. He's done a lot of other stuff since the last pytivox build as well: http://repo.or.cz/w/pyTivo/wmcbrine.git?a=shortlog.


    /edit:
    Ah, maybe that's it :)
     
  8. Jul 2, 2009 #628 of 1455
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ok new beta compiled and available via "check for updates" (if you already have an old beta installed), or via the "Downloads tab" of the pytivoX homepage
     
  9. Jul 2, 2009 #629 of 1455
    kupe

    kupe Viva 'la Tivolution!

    381
    22
    Apr 9, 2003
    Ahhh- thanks Yoav. I guess I thought that since it appeared under "Showcases" it was automatically Streambaby.

    Will do!

    Kupe
     
  10. Jul 2, 2009 #630 of 1455
    kupe

    kupe Viva 'la Tivolution!

    381
    22
    Apr 9, 2003
    Hi Yoav-

    Okay, here it is. I didn't include the entire huge log, but just everything after the last time I successfully accessed my Streambaby volume. I watched a minute or two of Forrest Gump, then exited and went back to Now Playing. When I then checked Showcases, the Streambaby volume was not present. Hope this helps.

    Kupe

    Code:
    Thu 2009/07/02 21:27:46.165|   |Acceptor|HostContext|key=mpos:file:/Users/dave/Desktop/Tivo%20Shares/Forest%20Gump.m4v value=18393applicationId=com.unwiredappeal.tivo.streambaby.StreamBabyStream applicationGlobal=false
    Thu 2009/07/02 21:27:46.165|   |Acceptor|HostContext|applicationIdStr=com.unwiredappeal.tivo.streambaby.StreamBabyStream applicationGlobal=false
    Thu 2009/07/02 21:27:46.165|   |Acceptor|HostContext|applicationIdStr=com.unwiredappeal.tivo.streambaby.StreamBabyStream
    Thu 2009/07/02 21:27:46.165|   |Acceptor|HostContext|compKey=652000180397425-and-com.unwiredappeal.tivo.streambaby.StreamBabyStream
    Thu 2009/07/02 21:27:46.165|   |Acceptor|HostContext|compKey=652000180397425-and-com.unwiredappeal.tivo.streambaby.StreamBabyStream
    Thu 2009/07/02 21:27:46.165|   |Acceptor|HostContext|compKey=652000180397425-and-com.unwiredappeal.tivo.streambaby.StreamBabyStream
    Thu 2009/07/02 21:27:46.168|   |Acceptor|Listener|
    Thu 2009/07/02 21:27:46.168|   |Acceptor|Factory|HME receiver disconnected
    Thu 2009/07/02 21:27:48.083|   |Acceptor|NamedStream|DeRegistering named stream: e4275561-b21e-4b98-94cf-eb7b6b6f915b.stream
    Thu 2009/07/02 21:27:48.084|   |Acceptor|SocketProcessInputStream|Destroying running process...
    Thu 2009/07/02 21:27:48.088|   |Acceptor|Listener|
    Thu 2009/07/02 21:27:48.088|   |Acceptor|Listener|10.0.1.6 I/O Exception handling  HTTP GET e4275561-b21e-4b98-94cf-eb7b6b6f915b.stream: Broken pipe
    Thu 2009/07/02 21:27:48.089|   |Acceptor|Listener|ctx=HttpRequest /streambaby/e4275561-b21e-4b98-94cf-eb7b6b6f915b.stream t=java.net.SocketException: Connection reset
    Thu 2009/07/02 21:56:34.145|   |Timer-0|InfoCache$PruneTask|Pruning cache...
    Thu 2009/07/02 21:56:34.145|   |Timer-0|InfoCache$PruneTask|Pruning complete.
     
     
  11. Jul 2, 2009 #631 of 1455
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Ok I believe the 'connection reset' error is just what happens when you stop watching the movie on the tivo -- so that's not a problem.

    However, this:
    Code:
    Thu 2009/07/02 21:27:48.088|   |Acceptor|Listener|10.0.1.6 I/O Exception handling  HTTP GET e4275561-b21e-4b98-94cf-eb7b6b6f915b.stream: Broken pipe
    
    may be a problem. I can't tell what end the pipe broke on (i.e. if it's just because you quit watching, or because ffmpeg died, or what?). I don't think I've seen that particular error line, but that doesn't necessarily mean it's the bug you're seeing.

    Open up a Terminal.app and run
    Code:
    ps auxwwwww | grep -i stream
    
    After starting up pyTivoX. You should see a very long invocation of java with a lot of arguments. Tickle the bug again, and see if the java process is still running after you can no longer see volumes. It may also be worth repeating the log on the streambaby forum (that log is straight from streambaby, and the bug you're seeing is most likely an issue with streambaby and your tivo, and not something pyTivoX did -- and there are many more users following that thread).
     
  12. Jul 3, 2009 #632 of 1455
    Fofer

    Fofer Bo55man69

    93,332
    4,653
    Oct 29, 2000
    Hello, new to this thread. Forgive me for not reading every post, I just wanted to share my experience and enthusiasm.

    Previously I'd use TiVo Desktop (with the Video tab enabled,) which required me to run VisualHub ahead of time to convert to TiVo-compatible MPEG-2 files. It worked fine but was time consuming, and took up quite a bit of disk space on my Mac. The resulting MPEG-2 files also wouldn't play in QT Player (even though I have Apple's MPEG-2 plug-in.) I'd get a "this is not a movie file" error. They would, however, play in VLC. And the only reason I had to keep them around, really, was for transferring to the TiVo. It was a clunky workflow to say the least.

    Well, as a Toast 10 owner, today I just tested sending an .AVI file to the TiVo using Mac2TiVo (so no pre-conversion required) but the resulting video didn't fill my TV's 42" screen. It was in a smaller rectangle, in the center. Sort of a bummer.

    I then did the same test with the same file, using PyTiVoX, and it worked fine. Transferred over, no pre-conversion required, and it filled the TV screen. Also seemed to transfer faster, too. Wonderful!

    So even though I have Toast 10 installed, I'm going to be using PyTiVoX for all my Mac -> TiVo needs.

    Oh, and StreamBaby (beta) streams fine to my Series 3 as well... starts playing quickly, no need to even transfer the file.


    I just wanted to give BIG THANKS to Yoav for sharing his hard work on this. Between this and iTiVo, he's created a fantastic suite of tools for the Mac/TiVo community that work incredibly well. The software better than anything else out there, even stuff pushed out by a big software developer like Roxio.

    I'm really very appreciative. :up:
     
  13. Jul 3, 2009 #633 of 1455
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    You're welcome, but I really can't take the credit. The hard work was done by the pytivo people (armooo and wmcbrine especially) and the streambaby folks (kearygriffin and moyekj). I just put a pretty front-end/installer on it.
     
  14. Jul 3, 2009 #634 of 1455
    Fofer

    Fofer Bo55man69

    93,332
    4,653
    Oct 29, 2000
    Fair enough, but that's the crucial and critical step. Without that, I doubt I (and many others of us here) be using the underlying tools at all.

    Thanks to everyone that made these tools possible. :)
     
  15. Jul 7, 2009 #635 of 1455
    jdubs

    jdubs New Member

    9
    0
    Oct 27, 2008
    Thanks for all the help. One more question. When I open pytivox I am not seeing the screen where I can enter directories. i am still able to transfer shows, but i am unable to choose the directories pytivox looks at.

    Thanks,
    Jeremy
     
  16. Jul 7, 2009 #636 of 1455
    Marconi

    Marconi TiVo Junkie

    451
    0
    Sep 8, 2001
    Page, AZ USA
    Check your MenuBar for a small TiVo icon. Therein resides a menu to show/hide the config window.
     
  17. Jul 8, 2009 #637 of 1455
    Test

    Test Well-Known Member

    3,893
    58
    Dec 8, 2004
    This is a great application, it is one less thing I need to rely on my PC for. Thanks.

    Does anyone know a good meta generator for mac?
     
  18. Jul 8, 2009 #638 of 1455
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    Sadly, no. There used to be a python program that sort-of tried to do metadata generation, but I've had almost no luck with it.

    If you're pulling the show off the tivo with iTiVo or kmttg, they can generate the appropriate metadata for you. This is probably your best bet, but only works for new things you're pulling off the tivo.

    If you're using mp4 files in streambaby, then MetaX (http://www.kerstetter.net/page53/page54/page54.html ) can somewhat automate the process and insert appropriate metadata tags.

    It's my hope that the metaX author will add the ability to write out .txt files for pytivo, but so far he's been disinterested (and since he doesn't make the code available, I can't send him a patch).
     
  19. Jul 9, 2009 #639 of 1455
    dejardin

    dejardin New Member

    9
    0
    May 3, 2009
    Help, please! I've been enjoying the streambaby side of PyTivoX for a while now on my S3, but after initial success with pytivo, I can't access my recordings via the Now Playing List on either my S2 or S3 Tivos. The folder shares are there, and often display the show names inside, but if I select one and start transfer, it just stops on a blank Tivo screen or freezes completely requiring reboot. If I can go back to the folder in NPL, it will usually then say there are no recordings in the shared folder. I've created a brand new PyTivoX folder share (type=video) on the Mac with files, had it show up in NPL, and seen the same behavior. Tivo and Mac reboots and PyTivoX restarts are no help. I've attached the tail end of my pytivo.log for any clues. No luck searching the thread for similar problems. And no, I can't explain why when I first got PyTivoX working, the pytivo side was just fine. Thanks again for your help,

    Mike
     

    Attached Files:

  20. Jul 9, 2009 #640 of 1455
    Yoav

    Yoav New Member

    1,048
    0
    Jan 12, 2007
    The error in the log (time not being defined) sounds like a very old error that was fixed a while back. Can you make sure you've updated to the latest pyTivoX (or even better, try the beta from the downloads tab)?
     

Share This Page

spam firewall

Advertisements