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

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    In the Firewall settings under advanced menu, uncheck 'Block all incoming connections'.

    This worked for me after testing. Showed up right away. Alternately I suppose you could add firewall rules with the command line.
     
  2. bareyb

    bareyb Under Maintenance TCF Club

    25,954
    8
    Dec 1, 2000
    Silicon Valley
    Wow... You guys aren't going to believe this... Someone or something over at the pyTivo forum just screwed me royally... Every time I try to edit one of my posts, it deletes it now. Look at the first two posts... all that's left are the attachments... When you go into "Edit" the text is all there, but when you hit "submit" it brings up a blank post with all that text missing... Am I screwed or what???? :confused:

    I hate to say it, but I'm feeling like maybe they don't want me over there... :p

    Would anyone have a problem with me moving the thread over here. This is just such BS... I'm furious.... :mad:
     
  3. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    that's bizarre. you think they objected to the size of the screenshots?

    perhaps, if it comes down to it, we could find someone to host the link or you might even put it in a public dropbox folder and put a link in your 'needasig'.

    /guy
     
  4. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    i'm embarrassed to admit it ... [g] but i actually completely forgot about the link being right there in your .sig.

    geeeeeesh!

    and many thanks for again taking the time to explain in such detail how i can set up the push function. that will be one of my next projects in our ongoing cluster of them here.

    /guy
     
  5. Fofer

    Fofer XenForo Rocks! TCF Club

    82,147
    306
    Oct 29, 2000
    I wouldn't have a problem with it. :) The format over there was clunky and difficult to follow.

    In the meantime I've got streambaby running under Lion (thanks to this page) - and am still tinkering, trying to figure out a way to make quitting PyTiVo easy. Hopefully I can manage a double-clickable AppleScript or .command file.
     
  6. rjgibson0066

    rjgibson0066 Member

    93
    0
    Feb 12, 2007
    When I uncheck that it shows a list of three applications/processes that have file sharing permissions. When I click on the plus sign to add pyTivo it takes me to the application folder, but I don't know what to select in the pyTivo folder?
     
  7. Fofer

    Fofer XenForo Rocks! TCF Club

    82,147
    306
    Oct 29, 2000
    Probably not, otherwise they wouldn't take everything down and leave the screenshots :)

    I think there forum is funky and some text formatting screwed up the threas somehow. I don't think someone's developed a vendetta against bareyb :D
     
  8. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    did you see my comment at the bottom of that page? he responded today and said i had an old version of streambaby although i got it right off the page he links and it was at the top and said 'featured download'. now i look closer, it does say '2010', but there is no date on the download at the top which i am downloading right now.

    [later: just unzipped it, and the download at that top link has a date of '12/03/2011', so it does seem a year newer. hope it works so i can get away from pytivox although, i will admit, using the manual 'patch' or 'mdns ...' command in conjunction with pytivox is working perfectly for me right now. well, except that it won't seem to play top quality video except at a ratcheted down setting although i doubt anyone could detect any quality difference by the time it reaches the tv screen.]

    i've still got your 'quitting pytivo' project in the back of my mind as i work on these things. it's pretty easy to quit using the 'ps -ax' and then the 'kill -9' sequence. or couldn't you just bring up activity monitor and kill it that way until we find a way to automate it?

    /guy
     
  9. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    I'm no expert here because I don't normally use it. When I unchecked the box the 'python' service automatically showed up the next time I started pyTivo.

    Python is what is running the script. It lives at /usr/bin/python, but you cannot add this using the GUI. I'm certain you could find commands on google to do it manually but like I said it automatically populated for me upon running pyTivo.
     
  10. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
  11. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    i managed to get an old version (0.29) from 2010. the one you link to had a dicey description and no year date when i first examined it and the link i downloaded had the tag 'featured', so i picked the wrong one.

    btw, i went 'off script' on the streambaby install because i already have a ffmpeg in my pytivo folder so i modified the streambaby.ini file to point to that ffmpeg rather than actually copy another ffmpeg into the streambaby folder. if i continue to have problems i'll do it by the book just in case that makes a difference.

    /guy
     
  12. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    It's an updated version by moyekj here at TCF......keary is long gone and moyekj is the only other person with commit rights.

    I am using my FFmpeg build from pyTivo as well with the edits to the ini file to make it work.
     
  13. rjgibson0066

    rjgibson0066 Member

    93
    0
    Feb 12, 2007
    EDIT - NEVER MIND - TRIED IT AGAIN AND ALL IS WELL. THANK YOU


    Sorry to such a PITA here.

    I did as you suggested and sure enough pyTivo did show up in the list as allowing connections. However when I started puTivo I got this error:

    Robert-Gibsons-MacBook-Pro:pyTivo robertgibson$ cd /Applications/pyTivo
    Robert-Gibsons-MacBook-Pro:pyTivo robertgibson$ ./pyTivo.py
    ERROR:pyTivo:Exception in pyTivo
    Traceback (most recent call last):
    File "./pyTivo.py", line 80, in <module>
    while mainloop():
    File "./pyTivo.py", line 74, in mainloop
    httpd = setup()
    File "./pyTivo.py", line 29, in setup
    httpserver.TivoHTTPHandler)
    File "/Applications/pyTivo/httpserver.py", line 44, in __init__
    RequestHandlerClass)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 408, in __init__
    self.server_bind()
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/BaseHTTPServer.py", line 108, in server_bind
    SocketServer.TCPServer.server_bind(self)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/SocketServer.py", line 419, in server_bind
    self.socket.bind(self.server_address)
    File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
    error: [Errno 48] Address already in use
    Robert-Gibsons-MacBook-Pro:pyTivo robertgibson$
     
  14. bareyb

    bareyb Under Maintenance TCF Club

    25,954
    8
    Dec 1, 2000
    Silicon Valley
    Nah. They don't after all. It was some type of glitch in the post. It's all back and running again. In the mean time it prompted me to get the thread moved over here and that's probably for the best anyway. ;)
     
  15. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    yessssss! successssssss!

    i quit absolutely everything having to do with tivo such as kmttg (although that shouldn't apply), pytivo, pytivox, streambaby, and the streambaby 'mdns patch' i was having to employ. configured up the new version of streambaby and bob's your uncle it is working quite nicely.

    only quirks on a brief recon are:

    1) it still won't stream at 'same' quality, you have to bump it down to 5000kbps or 'high' quality. granted, some of the files i'm streaming are at 10000kbps to begin with and i doubt you could tell the difference by the time it hits the tv screen.

    2) wouldn't recognize some .mts video files which i was able to play before somehow. perhaps i transferred one using pytivo and played it? i can't remember. anyway, no big loss there as i usually have to convert those avchd/bluray/mts files to use nearly anywhere else except as a direct burn or in my panasonic dvd player via the sdhc card slot.

    3) to my astonishment, i had some ripped dvd files (.vob) and it actually played one of those! of course, since you're doing a single file at a time it'd be a rough way to watch a whole dvd by swapping to a new .vob file every 15 minutes!

    many many many thanks to @Iluvatar and all for the help and encouragement getting this to work. at least i knew it was working for you guys under the same circumstances, so the goal was in front of me.

    /guy
     
  16. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    Seems like you got it...but for future reference this error means the pyTivo server is already running, or some other software using the same port.
     
  17. wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    The correct way to exit pyTivo is to press Control-C in the Terminal, or to send it a SIGINT -- "kill -2", not "kill -9". This is important, because it's the only way pyTivo will Unregister its services, i.e., make them disappear from the TiVo's menus. Otherwise they'll linger there for an indefinite period after pyTivo stops running. (This is the only issue with an improper shutdown, though.)

    Or, you could use this GUI wrapper, with "Go" and "Stop" buttons. Still kind of experimental, so I haven't really announced it (although I was hoping for more than zero DLs by now, but I guess it just went unnoticed in that thread).
     
  18. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    thanks for pointing out my lack of unix skills--i warned you guys i knew exactly enough to be dangerous. [g]

    but that does explain why i saw those shares linger despite me thinking i'd killed everything. i just <ass>umed that the tivo software wasn't keeping up. does 'quit' or 'force quit' from the activity monitor stop it correctly?

    but, unless i'm missing something (again), this gui seems to be for windows.

    and a potential dumb question: what's wrong with using the 'shutdown' button from the web config page? it seems to kill it cleanly. or could someone program an http ?cgi? script that would 'push' the button?

    /guy
     
  19. wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    No.

    The GUI wrapper is cross-platform. The mention of Windows in the post is unrelated. You can read the whole thread for context.

    Nothing. It's just so new, I forgot to mention it. :eek:

    http://localhost:9032/TiVoConnect?Command=Quit&Container=Settings

    also mentioned in the above thread.
     
  20. gteague

    gteague golftango

    520
    0
    Apr 1, 2007
    dfw (euless)
    apologies for not reading thoroughly. as is obvious, i just went to the link and grabbed the download and mis-interpreted the cues to assume it was windows. it's no surprise that my questions (or some of them at least) occurred to others before me. i was hoping to not have to strain my already flagging brain with more esoteria until i got everything running and i needed specific info.

    /guy
     

Share This Page