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. Jul 2, 2014 #4841 of 5682
    lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    No idea. I don't use TD. pyTivo reports the size of "Mimi wo sumaseba" as 13.4GB. I just started a transfer to my THD. The length in the info for the entry in the NPL is 14.08GB.

    edit: I'll report back when the xfer completes. Ir's gonna be a while.
    edit2: Transfer complete. Reported size is 5.56GB. Sort of irrelevant. The TiVo has to create enough free space to hold the calculated maximum.

    There might be an entry in "Recording History".
     
  2. Jul 2, 2014 #4842 of 5682
    wmcbrine

    wmcbrine Ziphead

    10,363
    22
    Aug 2, 2003
    You're not out of space, but the TiVo thinks you are -- or will be, when taking into account upcoming recordings. (It gets really bad if you use KUID as a default setting for season passes, for instance.)

    I recommend that you use KUID very sparingly, or not at all. Clear it from your existing recordings, and I feel confident your transfers will start working again. It's not a pyTivo thing, just a TiVo thing.
     
  3. Jul 3, 2014 #4843 of 5682
    jcthorne

    jcthorne Active Member

    2,718
    2
    Jan 28, 2002
    Houston
    Got a quick question that has nagged me a bit. pyTivo is working fine on my systems. I can push or pull. but...

    When going to MyShows on the Roamio and scroll down the list to where the pytivo shares are, they all show up but are grayed out. Selecting one still brings up the list of shows in the share, folders even work but why are they grayed out? Also, the list of shares show up with a DVR appended to each share name and old Tivo's that are no longer on my network and long gone show up in the list grayed out.

    Any ideas how to fix some of these issues?
     
  4. Jul 3, 2014 #4844 of 5682
    moyekj

    moyekj Well-Known Member

    11,134
    27
    Jan 23, 2006
    Mission...
    To get rid of an older TiVo entry put the cursor over it and then use "clear" button to remove it.
     
  5. Jul 3, 2014 #4845 of 5682
    wmcbrine

    wmcbrine Ziphead

    10,363
    22
    Aug 2, 2003
  6. Jul 4, 2014 #4846 of 5682
    mickrussom

    mickrussom Member

    36
    0
    Dec 21, 2007
    Freeing up space and KUID tuning worked, thanks.

    I keep seeing this traceback ;

    Traceback (most recent call last):
    File "/opt/pytivo/zeroconf.py", line 773, in run
    self.readers[socket].handle_read()
    File "/opt/pytivo/zeroconf.py", line 827, in handle_read
    msg = DNSIncoming(data)
    File "/opt/pytivo/zeroconf.py", line 407, in __init__
    self.readOthers()
    File "/opt/pytivo/zeroconf.py", line 454, in readOthers
    domain = self.readName()
    File "/opt/pytivo/zeroconf.py", line 518, in readName
    raise "Bad domain name at " + str(off)
    TypeError: exceptions must be old-style classes or derived from BaseException, not str

    Everything is working though. thanks.
     
  7. Jul 4, 2014 #4847 of 5682
    mickrussom

    mickrussom Member

    36
    0
    Dec 21, 2007
    Cleaning up old shows and tuning KUID helped.

    Time to upgrade the Tivo, as 1TB seems like its very constrained.
     
  8. Jul 6, 2014 #4848 of 5682
    innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    I am seeing the same error. I saw it multiple times after a successful push. I also saw the message below after it.

    File "C:\pyTiVo\wmcbrine\zeroconf.py", line 773, in run
    self.readers[socket].handle_read()
    File "C:\pyTiVo\wmcbrine\zeroconf.py", line 827, in handle_read
    msg = DNSIncoming(data)
    File "C:\pyTiVo\wmcbrine\zeroconf.py", line 407, in __init__
    self.readOthers()
    File "C:\pyTiVo\wmcbrine\zeroconf.py", line 454, in readOthers
    domain = self.readName()
    File "C:\pyTiVo\wmcbrine\zeroconf.py", line 502, in readName
    length = ord(self.data[off])
    IndexError: string index out of range
     
  9. Jul 6, 2014 #4849 of 5682
    lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    I also saw this set. Absolutely nothing going on at the time. No transfers in either direction.
     
  10. Jul 7, 2014 #4850 of 5682
    wmcbrine

    wmcbrine Ziphead

    10,363
    22
    Aug 2, 2003
    Something on your LANs is generating (what zeroconf.py considers to be) malformed zeroconf packets. But that probably has nothing to do with either pyTivo or any TiVo. I'd use something like Bonjour Browser or Avahi to try to figure out what was going on.
     
  11. Jul 7, 2014 #4851 of 5682
    innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    I will have to look into it tonight then. The only thing I have changed was to pull the latest PyTiVo update since I hadn't updated recently, and I haven't seen the error before now.
     
  12. Jul 7, 2014 #4852 of 5682
    aaronwt

    aaronwt UHD Addict

    19,162
    21
    Jan 31, 2002
    Northern...
    How often should we update pyTiVo? I was having some kind of errors pop up from the version I was using that was months old. It had been fine and then the errors started happening last week. So I deleted everything and installed the newest version. So far things have been fine.
     
  13. lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    Seeing something odd. Not bad, just odd.

    I run two copies of pyTivo on the same machine, one on 9032 and the other on 9036.

    I sometimes use a browser on my phone to access them. The odd thing I'm seeing is when I access the one running on 9032, looks just like it does on my PC. However, when I access the one on 9036, it appears to be formatted for a mobile device:

    [​IMG]
     

    Attached Files:

  14. innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    One fork has a mobile interface. I don't remember whose fork though.
     
  15. lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    That would explain it. I'm running the lucansz fork on one the one that gets the mobile display.
     
  16. wmcbrine

    wmcbrine Ziphead

    10,363
    22
    Aug 2, 2003
    @mickrussom, innocentfreak, and lpwcomp: Please see this thread.
     
  17. lpwcomp

    lpwcomp Active Member

    8,075
    2
    May 6, 2002
    John's...
    Attempt to run with this version results in the following:

    Code:
    C:\pyTivo>pytivo.py
    Traceback (most recent call last):
      File "C:\pyTivo\pyTivo.py", line 13, in <module>
        import beacon
      File "C:\pyTivo\beacon.py", line 9, in <module>
        import Zeroconf
    ImportError: No module named Zeroconf
    Fixed this by renaming the extracted file. Changed "z" to "Z".

    Then got the following:

    Code:
    C:\pyTivo>pytivo.py
    INFO:pyTivo:Last modified: Wed Jul 16 00:06:38 2014
    INFO:pyTivo:Python: 2.7.6
    INFO:pyTivo:System: Windows-8-6.2.9200
    INFO:pyTivo.beacon:Scanning for TiVos...
    INFO:pyTivo.beacon:BR Premiere
    INFO:pyTivo.beacon:JLS HD
    INFO:pyTivo.beacon:Sandies Room
    INFO:pyTivo.beacon:JLS Roamio
    INFO:pyTivo.beacon:Announcing shares...
    INFO:pyTivo.beacon:Registering: Nimitz Downloads
    INFO:pyTivo.beacon:Registering: Nimitz Offload
    INFO:pyTivo:pyTivo is ready.
    INFO:pyTivo:192.168.1.104 [16/Jul/2014 00:07:42] "GET /TiVoConnect?Command=Query
    Container&Container=%2F HTTP/1.0" 200 -
    INFO:pyTivo:192.168.1.103 [16/Jul/2014 00:07:42] "GET /TiVoConnect?Command=Query
    Container&Container=%2F HTTP/1.0" 200 -
    INFO:pyTivo:192.168.1.105 [16/Jul/2014 00:07:42] "GET /TiVoConnect?Command=Query
    Container&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
    INFO:pyTivo:192.168.1.107 [16/Jul/2014 00:07:42] "GET /TiVoConnect?Command=Query
    Container&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
    INFO:pyTivo:192.168.1.107 [16/Jul/2014 00:07:42] "GET /TiVoConnect?Command=Query
    Container&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
    INFO:pyTivo:192.168.1.105 [16/Jul/2014 00:07:42] "GET /TiVoConnect?Command=Query
    Container&Container=Nimitz%20Downloads&ItemCount=0&SerialNum=74600119055800F HTT
    P/1.1" 200 -
    INFO:pyTivo:192.168.1.105 [16/Jul/2014 00:07:42] "GET /TiVoConnect?Command=Query
    Container&Container=Nimitz%20Offload&ItemCount=0&SerialNum=74600119055800F HTTP/
    1.1" 200 -
    INFO:pyTivo:192.168.1.107 [16/Jul/2014 00:07:42] "GET /TiVoConnect?Command=Query
    Container&Container=Nimitz%20Offload&ItemCount=0&SerialNum=846000190304FA2 HTTP/
    1.1" 200 -
    INFO:pyTivo:192.168.1.107 [16/Jul/2014 00:07:42] "GET /TiVoConnect?Command=Query
    Container&Container=Nimitz%20Downloads&ItemCount=0&SerialNum=846000190304FA2 HTT
    P/1.1" 200 -
    INFO:pyTivo:192.168.1.105 [16/Jul/2014 00:07:42] "GET /TiVoConnect?Command=Query
    Container&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
    INFO:pyTivo:192.168.1.107 [16/Jul/2014 00:07:42] "GET /TiVoConnect?Command=Query
    Container&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
    INFO:pyTivo:192.168.1.105 [16/Jul/2014 00:07:42] "GET /TiVoConnect?Command=Query
    Container&Container=%2F&DoGenres=1 HTTP/1.0" 200 -
    Traceback (most recent call last):
      File "C:\pyTivo\Zeroconf.py", line 772, in run
        self.readers[socket].handle_read()
      File "C:\pyTivo\Zeroconf.py", line 826, in handle_read
        msg = DNSIncoming(data)
      File "C:\pyTivo\Zeroconf.py", line 406, in __init__
        self.readOthers()
      File "C:\pyTivo\Zeroconf.py", line 453, in readOthers
        domain = self.readName()
      File "C:\pyTivo\Zeroconf.py", line 501, in readName
        length = ord(self.data[off])
    IndexError: string index out of range
    Traceback (most recent call last):
      File "C:\pyTivo\Zeroconf.py", line 772, in run
        self.readers[socket].handle_read()
      File "C:\pyTivo\Zeroconf.py", line 826, in handle_read
        msg = DNSIncoming(data)
      File "C:\pyTivo\Zeroconf.py", line 406, in __init__
        self.readOthers()
      File "C:\pyTivo\Zeroconf.py", line 453, in readOthers
        domain = self.readName()
      File "C:\pyTivo\Zeroconf.py", line 517, in readName
        raise "Bad domain name at " + str(off)
    TypeError: exceptions must be old-style classes or derived from BaseException, n
    ot str
    Traceback (most recent call last):
      File "C:\pyTivo\Zeroconf.py", line 772, in run
        self.readers[socket].handle_read()
      File "C:\pyTivo\Zeroconf.py", line 826, in handle_read
        msg = DNSIncoming(data)
      File "C:\pyTivo\Zeroconf.py", line 406, in __init__
        self.readOthers()
      File "C:\pyTivo\Zeroconf.py", line 453, in readOthers
        domain = self.readName()
      File "C:\pyTivo\Zeroconf.py", line 501, in readName
        length = ord(self.data[off])
    IndexError: string index out of range
    Traceback (most recent call last):
      File "C:\pyTivo\Zeroconf.py", line 772, in run
        self.readers[socket].handle_read()
      File "C:\pyTivo\Zeroconf.py", line 826, in handle_read
        msg = DNSIncoming(data)
      File "C:\pyTivo\Zeroconf.py", line 406, in __init__
        self.readOthers()
      File "C:\pyTivo\Zeroconf.py", line 453, in readOthers
        domain = self.readName()
      File "C:\pyTivo\Zeroconf.py", line 501, in readName
        length = ord(self.data[off])
    IndexError: string index out of range
    Traceback (most recent call last):
      File "C:\pyTivo\Zeroconf.py", line 772, in run
        self.readers[socket].handle_read()
      File "C:\pyTivo\Zeroconf.py", line 826, in handle_read
        msg = DNSIncoming(data)
      File "C:\pyTivo\Zeroconf.py", line 406, in __init__
        self.readOthers()
      File "C:\pyTivo\Zeroconf.py", line 453, in readOthers
        domain = self.readName()
      File "C:\pyTivo\Zeroconf.py", line 501, in readName
        length = ord(self.data[off])
    IndexError: string index out of range
    Traceback (most recent call last):
      File "C:\pyTivo\Zeroconf.py", line 772, in run
        self.readers[socket].handle_read()
      File "C:\pyTivo\Zeroconf.py", line 826, in handle_read
        msg = DNSIncoming(data)
      File "C:\pyTivo\Zeroconf.py", line 406, in __init__
        self.readOthers()
      File "C:\pyTivo\Zeroconf.py", line 453, in readOthers
        domain = self.readName()
      File "C:\pyTivo\Zeroconf.py", line 501, in readName
        length = ord(self.data[off])
    IndexError: string index out of range
    Both errors occurring multiple times, particularly the IndexError. pyTivo doesn't crash but it isn't actually working either.
     
  18. wmcbrine

    wmcbrine Ziphead

    10,363
    22
    Aug 2, 2003
    Um, you're not running my latest version of pyTivo, then. No matter, I got what I needed here, thanks. zc2 coming...

    (BTW, I'd rather you responded in the pyTivo Forum thread. This thread is cluttered enough.)
     
  19. aaronwt

    aaronwt UHD Addict

    19,162
    21
    Jan 31, 2002
    Northern...
    So is there a newer version that came out within the last two weeks?
     
  20. wmcbrine

    wmcbrine Ziphead

    10,363
    22
    Aug 2, 2003
    June 19th is the latest. It does not use an uppercase zeroconf.py.
     

Share This Page