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

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    The guide had me set it up as a Network Service.

    Switching to my username worked. I will have to check my old PC and see how I set it up originally, because I don't remember having to swap it. Then again I may have not setup the service as a Network Service.
     
  2. HerronScott

    HerronScott Well-Known Member

    2,778
    27
    Jan 1, 2002
    Staunton, VA
    On my Windows Home Server, it's been running as Local System since 2009 but that is Windows Server 2003 which doesn't have some of the security restrictions of Windows 7 or Windows 8.

    Scott
     
  3. innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    Or well I thought it worked.

    Running it as a service, I can't see my TiVos as a push option and they can't see the shares. I also can't access the webui from any other PC either using ip:port.

    If I just run PyTiVo, everything for the most part works. I can see my TiVos to push and they can see the shares. If I try to browse the shares from the TiVo, I see please wait and then the message could not be displayed because not available.

    I don't remember ever having this many issues installing this on my Win 7 PC so I have no idea what is going on. I don't know if it is just simple stuff I am missing in Windows 8. I am really thinking of just going back to my Win 7 setup for all of this since that still works.
     
  4. Jul 7, 2013 #4404 of 5683
    innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    Since I am running it with a window currently, I saw this error which I haven't seen before so I don't know if it matters or not. I figured I would post it in case since I am running the latest PyTiVo, wmcbrine's fork.

    Code:
    Traceback (most recent call last):
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 835, in run
        self.readers[socket].handle_read()
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 894, in handle_read
        self.zc.handleQuery(msg, _MDNS_ADDR, _MDNS_PORT)
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 1561, in handleQuery
        self.send(out, addr, port)
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 1565, in send
        packet = out.packet()
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 729, in packet
        self.writeRecord(answer, time)
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 713, in writeRecord
        record.write(self)
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 438, in write
        out.writeName(self.server)
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 688, in writeName
        self.writeByte(index)
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 635, in writeByte
        self.pack('!c', chr(value))
    ValueError: chr() arg not in range(256)
    Traceback (most recent call last):
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 835, in run
        self.readers[socket].handle_read()
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 894, in handle_read
        self.zc.handleQuery(msg, _MDNS_ADDR, _MDNS_PORT)
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 1561, in handleQuery
        self.send(out, addr, port)
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 1565, in send
        packet = out.packet()
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 729, in packet
        self.writeRecord(answer, time)
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 713, in writeRecord
        record.write(self)
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 438, in write
        out.writeName(self.server)
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 688, in writeName
        self.writeByte(index)
      File "C:\Pytivo\wmcbrine\Zeroconf.py", line 635, in writeByte
        self.pack('!c', chr(value))
    ValueError: chr() arg not in range(256)
    This popped up after I believe a successfull push. I haven't checked the TiVo yet to make sure it went through fine.
     
  5. Jul 8, 2013 #4405 of 5683
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Yeah, this is a new error in the Zeroconf module that showed up when I moved packet creation out of a try/except loop. It's one of those things that goes away when I try to debug it. It will come up periodically regardless of what you're doing or not doing, but only at some indeterminate time after restarting pyTivo. So far, it doesn't seem to affect anything -- not surprisingly, since really it was always happening; it was just masked. Anyway, if it bothers you too much to see it, you could disable Zeroconf for now.
     
  6. Jul 8, 2013 #4406 of 5683
    wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    OK, that should be fixed now.
     
  7. Jul 8, 2013 #4407 of 5683
    innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
  8. Thos19

    Thos19 Member

    169
    0
    Dec 31, 2002
    Rockland, MA
    Does pyTivo work with Windows 8 ?
     
  9. newsposter

    newsposter Poster of News

    34,262
    6
    Aug 18, 2002
    SE PA
    yes been using a while now
     
  10. philhu

    philhu User Since Day ONE!

    831
    0
    Apr 11, 2001
    Funcity, MA
    Yes, but it works better on CENTOS6! Solid, fast, amazing!
     
  11. cracker17

    cracker17 New Member

    3
    0
    Jun 8, 2002
    Would appreciate some assistance. The following error has sarted appearing when I try and push a file to my tivo:

    ERROR : pyTivo.video.video:unsupported.operand.type(s) for :/ 'str' and 'int'

    Never had this issue before. Can someone with more programaming skill than I point me in the right direction?

    Thanks.

    C
     
  12. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    The reported error in this case is a bit misleading. I'd have to see more of the log to nail it down, but generally -- assuming that you had it working before, and have made no changes to your configuration -- push errors are due to problems with mind.tivo.com, which arise every so often. And there's nothing we can do about those, except to be patient, and wait for TiVo Inc. to fix their servers. Or switch to pulls.
     
  13. cracker17

    cracker17 New Member

    3
    0
    Jun 8, 2002
    I guess I'll just wait it out. I thought it was some transient error but need someone with more knowledge of the program to confirm that was the case.

    Thanks.

    C
     
  14. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Well like I say, I'd need to see more of the log to be sure.
     
  15. lpwcomp

    lpwcomp Active Member

    8,077
    2
    May 6, 2002
    John's...
    Is there any way to get pyTivo to stop issuing the beacon messages every minute? I need to see the status of my pushes to a remote TiVo and things get scrolled off so quickly that I have no idea what happened.
     
  16. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    The beacons aren't logged. Can you explain more about what you're seeing?
     
  17. lpwcomp

    lpwcomp Active Member

    8,077
    2
    May 6, 2002
    John's...
    This:
    Code:
    INFO:pyTivo:192.168.1.103 [11/Aug/2013 18:24:26] "GET /TiVoConnect?Command=Query
    Container&Container=%2F HTTP/1.0" 200 -
    INFO:pyTivo:192.168.1.102 [11/Aug/2013 18:24:26] "GET /TiVoConnect?Command=Query
    Container&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
    INFO:pyTivo:192.168.1.105 [11/Aug/2013 18:24:26] "GET /TiVoConnect?Command=Query
    Container&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
    INFO:pyTivo:192.168.1.104 [11/Aug/2013 18:24:26] "GET /TiVoConnect?Command=Query
    Container&Container=%2F HTTP/1.0" 200 -
    Repeated every minute.

    But I have worked it out. Looks likes has something to do with having no valid shares for a TiVo. I run two copies of pyTiVo, one on port 9032 which I use strictly for kmttg pushes to a remote TiVo and I had set it up with Share=none for all of the TiVos. The other copy is on port 9034, which I use for everything else. I do that because any other transfer activity on the one doing the push can cause the push to fail.
     
  18. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    I've never heard of anything like that. :confused:

    Anyway, yeah, in this situation, you might as well disable the beacon altogether. You can set zeroconf = off and beacon = listen.
     
  19. lpwcomp

    lpwcomp Active Member

    8,077
    2
    May 6, 2002
    John's...
    Pushes to the remote TiVo are very...sensitive.

    Zeroconf is off anyway since I specify the shares. I tried setting beacon to listen and got an error. Will work with it some more tomorrow. Its in the process of transferring a movie that is @2h11m. Been at it for @1h17m. At current rate, at will be another 11 to 12 hours.
     
  20. Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    That must be one high, high, high definition show. How large is the file?
     

Share This Page