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

    SameerUCLA New Member

    16
    0
    Jul 15, 2009
    As requested:

    Traceback (most recent call last):
    File "C:\Program Files\Python27\lib\logging\__init__.py", line 866, in emit
    self.flush()
    File "C:\Program Files\Python27\lib\logging\__init__.py", line 828, in flush
    self.stream.flush()
    IOError: [Errno 9] Bad file descriptor
    Logged from file beacon.py, line 88
    Traceback (most recent call last):
    File "C:\Program Files\Python27\lib\logging\__init__.py", line 866, in emit
    self.flush()
    File "C:\Program Files\Python27\lib\logging\__init__.py", line 828, in flush
    self.stream.flush()
    IOError: [Errno 9] Bad file descriptor
    Logged from file beacon.py, line 39
    Traceback (most recent call last):
    File "C:\Program Files\Python27\lib\logging\__init__.py", line 866, in emit
    self.flush()
    File "C:\Program Files\Python27\lib\logging\__init__.py", line 828, in flush
    self.stream.flush()
    IOError: [Errno 9] Bad file descriptor
    Logged from file beacon.py, line 39
    Traceback (most recent call last):
    File "C:\Program Files\Python27\lib\logging\__init__.py", line 866, in emit
    self.flush()
    File "C:\Program Files\Python27\lib\logging\__init__.py", line 828, in flush
    self.stream.flush()
    IOError: [Errno 9] Bad file descriptor
    Logged from file beacon.py, line 94
    Traceback (most recent call last):
    File "C:\Program Files\Python27\lib\logging\__init__.py", line 866, in emit
    self.flush()
    File "C:\Program Files\Python27\lib\logging\__init__.py", line 828, in flush
    self.stream.flush()
    IOError: [Errno 9] Bad file descriptor
    Logged from file beacon.py, line 69
    Traceback (most recent call last):
    File "C:\Program Files\Python27\lib\logging\__init__.py", line 866, in emit
    self.flush()
    File "C:\Program Files\Python27\lib\logging\__init__.py", line 828, in flush
    self.stream.flush()
    IOError: [Errno 9] Bad file descriptor
    Logged from file beacon.py, line 69
     
  2. SameerUCLA

    SameerUCLA New Member

    16
    0
    Jul 15, 2009
    Oh, and BTW, I can pull files from the Tivo, just can't push. Obviously it seems there's a problem in my 'file descriptor', just not sure what that means.

    Perchance it be related to my PC LOAD LETTER? ;)

    - Sameer
     
  3. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Ugh. That's saying it can't log. I'd assume it was a problem with the way logging was set up in your .conf file, but from what you posted, you don't have anything set up there...
     
  4. reneg

    reneg Member

    699
    0
    Jun 19, 2002
    Are you running pyTivo as a service? If so, try running it from a command prompt window. The error may be related to access permissions as service vs user.
     
  5. moyekj

    moyekj Well-Known Member

    11,141
    31
    Jan 23, 2006
    Mission...
    Win7 and Vista lock down write permissions pretty tight under c:\Program Files (and c:\Program Files (x86)). Install it elsewhere and you can avoid some headaches...
     
  6. caddyroger

    caddyroger New Member

    1,730
    0
    Mar 14, 2005
    Some where...
    I am running a Windows pro 7 64 bit computer.
    What would causing this in my auto push log.

    2011_06_28_17:44:58 ERROR: Received unexpected response for: http://localhost:9032/TiVoConnect?Command=Push&Container=My+Videos&File=/PART+1++++Hawaii+Five-0+-+Oiaio+%2805_16_2011%29.mpg&tsn=CAREBEAR[/url]
    2011_06_28_17:44:58 ERROR: Internal Server Error

    My config file looks like this

    [My Videos]
    type = video
    path = G:\FOR THE TIVO

    [Server]
    tivo_password = xxxxxxx
    tivo_mak = xxxxxxxxxxx
    tivo_username = xxxxxxxxxxxx
    ffmpeg = C:\Program Files\pyTivo\bin\ffmpeg.exe
    tivodecode = C:\Program Files\pyTivo\bin\TIVODECODE.EXE
    tdcat = C:\Program Files\pyTivo\bin\tdcat.exe
    beacon = 192.168.0.106 192.168.0.105
    togo_path = G:\FROM THE TIVO
    port = 9032
     
  7. SameerUCLA

    SameerUCLA New Member

    16
    0
    Jul 15, 2009
    OK, turned off pyTivo as a service and moved the pyTivo directory to C:\pyTivo. Works beautifully!!
    Now just need to see if I can get it running as a service again.

    THANKS!!
    - Sameer
     
  8. MrJedi

    MrJedi New Member

    62
    0
    Apr 13, 2011
    Question about meta data. Is the file read differently based on whether you do a pull on the TiVo vs a push from the web? I ask because when I do a push I can get files to go in a folder and have a brief description, but not air date, actor info, or a series specific thumbnail (HDUI). When I pull via the TiVo, the descriptions, original air date, actors, series thumbnail image all appear.

    This isn't a huge deal and I don't really need a resolution, just wondering if this was an issue with others.
     
  9. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    The push metadata is passed to the TiVo in a totally different way, yes, and we only know a few of the possible keywords to use. It's frustrating, too, because if you look at (say) an Amazon movie, which uses the same mechanism, there are clearly more fields available, but we haven't been able to find the keywords.

    Description, title, subtitle (i.e. episode title), and TV rating are the only fields that we know how to push. You would not believe how long it took me to find TV rating.

    I had high hopes that the iPad remote mechanism, which seems to use the same basic format to report metadata (the only difference being that it's JSON-encoded instead of HME-style), would reveal some new pushable keywords. But so far, nothing I've tried from that works, either.
     
  10. innocentfreak

    innocentfreak Active Member

    8,950
    3
    Aug 25, 2001
    Florida
    Wonder who we need to try to bribe so they can release some of the necessary codes.
     
  11. MrJedi

    MrJedi New Member

    62
    0
    Apr 13, 2011
    Thanks for clarifying that. :)
     
  12. Jul 2, 2011 #3052 of 5683
    AZrob

    AZrob Member

    244
    0
    Mar 31, 2002
    Phoenix, AZ
    Hi everyone,
    I don't know if this has anything to do with the latest version of Tivo, but I have a .mp4 file that starts out as HD on my PC, but ends up looking like mediocre SD on my Premiere XL after a pytivo transfer. Funny thing is, it works fine to my Tivo HD. Also if I use Tivo Desktop to my Premiere it transfers perfectly as well.

    So do I need to tweak/update my pytivo?

    The .mp4 was created using mkvtomp4.

    Thanks in advance,

    Rob from AZ
     
  13. Jul 2, 2011 #3053 of 5683
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,083
    0
    Apr 19, 2004
    East Moline, IL
    It's probable that you are running an old version of pyTivo that doesn't know about the Premiere, and pyTivo is transcoding to Series 2 compatible mpeg2.
     
  14. Jul 2, 2011 #3054 of 5683
    AZrob

    AZrob Member

    244
    0
    Mar 31, 2002
    Phoenix, AZ
    Sorry to be dumb about this, but it's been so long since I installed pytivo (I think I used the Windows executable) that I don't know where to start. Do I just find a Windows executable somewhere and if so, where, please?

    thanks,

    Rob
     
  15. Jul 2, 2011 #3055 of 5683
    jcthorne

    jcthorne Active Member

    2,720
    2
    Jan 28, 2002
    Houston
    The windows installer is very outdated and no longer needed.

    Please see the link in my signature for full install instructions for windows.
     
  16. Jul 2, 2011 #3056 of 5683
    lrhorer

    lrhorer New Member

    6,922
    0
    Aug 31, 2003
    San...
    I take it, then, they are not clear text? Some sort of binary? Sniffing for expected text doesn't lend a clue?
     
  17. Jul 6, 2011 #3057 of 5683
    johnjay829

    johnjay829 New Member

    41
    0
    Jan 2, 2007
    Hello all i have been around a few years using pytivo and it is a wonderful tool for the tivo. I was wondering if it would be possible to have one folder on the tivo share mapped to more than on folder on my pc and nas. Instead having separate folders
     
  18. Jul 6, 2011 #3058 of 5683
    jcthorne

    jcthorne Active Member

    2,720
    2
    Jan 28, 2002
    Houston
    Yes. You need to create symlinks in your share to point to the other direcrtories, then only share the one folder with all the symlinks in it.
     
  19. Jul 7, 2011 #3059 of 5683
    johnjay829

    johnjay829 New Member

    41
    0
    Jan 2, 2007
    thanks i was able to find a little program to make the symlinks but i was wondering where the files are actually saved or are they in both locations
     
  20. Jul 7, 2011 #3060 of 5683
    johnjay829

    johnjay829 New Member

    41
    0
    Jan 2, 2007
    Anyone have a setup that will auto extract the video and audio folders from a iso or img file instead of me using magic disk to mount then dvd shrink to copy the files
     

Share This Page