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

    ObiWanJenkins New Member

    151
    0
    Dec 31, 2004
    I finally got pytivo to install, but now I'm having trouble accessing sub-folders on the Tivo. I can go one folder deep, but the system just shows the same sub-folders when I try to access the content inside them.
     
  2. Kershek

    Kershek New Member

    125
    0
    Oct 10, 2002
    Mesa, AZ
    Yep, that's a current limitation. I think they explain on the pyTiVo forums the reason why you can only go one directory level deep.
     
  3. Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    You will want to set the Server setting 'hack83 = true' and then restart pyTivo.

    This more or less allows you to perform multi level folder search.

    I thought TiVo had fixed this bug in a software release but maybe that is just for Series 3/HD models, i'm not sure.
     
  4. wmcbrine

    wmcbrine Ziphead

    10,362
    22
    Aug 2, 2003
    Yeah, the fix is in 9.4, which means the Series 2 hasn't gotten it yet.
     
  5. djithm

    djithm She's a Maneater

    680
    0
    Sep 10, 2004
    Simple question..Ive searched and havent found my answer. If my Tivo box is not active with Tivo, can this pyTivo program still work? I ask because I believe I have set everything up properly and I get one response from the Tivo via the Console window, but not every minute as the instructions mention. Again, this is a Tivo Series 2 that hasnt been active with Tivo in a while. I was just hoping to use the DVR for viewing my own content from a PC.
     
  6. Aflat

    Aflat New Member

    114
    0
    Aug 29, 2005
    I'm a release engineer by trade, so I deal with installs all day. I'll see what I can do, it should be an easy fix. Unfortunately I'm not at all familiar with git, so that may take more time then actually fixing the installer.
     
  7. Aflat

    Aflat New Member

    114
    0
    Aug 29, 2005
    So the fix is easy, just change the function in pytivo.nsi to look like this

    Code:
    Function nsPythonCheck
      !insertmacro MUI_HEADER_TEXT $(nsPythonCheck_PAGE_TITLE) $(nsPythonCheck_PAGE_SUBTITLE)
      ReadRegStr $python HKLM SOFTWARE\Python\PythonCore\2.6\InstallPath ""
      ${If} '$python' == ''
    	ReadRegStr $python HKLM SOFTWARE\Python\PythonCore\2.5\InstallPath ""
    	${If} '$python' == ''
    	  ReadRegStr $python HKLM SOFTWARE\Python\PythonCore\2.4\InstallPath ""
    	  ${If} '$python' == ''
    	    ReadRegStr $python HKCU SOFTWARE\Python\PythonCore\2.5\InstallPath ""
    	    ${If} '$python' == ''
    	      ReadRegStr $python HKCU SOFTWARE\Python\PythonCore\2.4\InstallPath ""
    	      ${If} '$python' == ''
    		    ReadRegStr $python HKLM SOFTWARE\Wow6432Node\Python\PythonCore\2.6\InstallPath ""
    			${If} '$python' == ''
    			    ReadRegStr $python HKLM SOFTWARE\Wow6432Node\Python\PythonCore\2.5\InstallPath ""
    			    ${If} '$python' == ''
    				  Push ${TEMP1}
    				  InstallOptions::dialog "$PLUGINSDIR\nopython.ini"
    				  Pop ${TEMP1}
    				  Pop ${TEMP1}
    		        ${EndIf}
    			  ${EndIf} 
    	        ${EndIf}
    	      ${EndIf}
    	    ${EndIf}
    	  ${EndIf}
    	${EndIf}
    FunctionEnd
    I added 2.6 python, and a check for 2.5 and 2.6 32 bit versions installed on a 64 bit system. This change won't be picked up until a new install is built, sorry folks, nothing oyu can change to make your current install just work.

    Now I need to figure out Git, I can only seem to browse the trunk, but not the branches. This may all be better to put on the pytivo boards, but I'll throw it here for now. Once I figure it out, if someone hasn't submitted the change, I'll try to add it myself.
     
  8. Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    Inspired by Aflat's patch, I've figured out how to generate new Windows installers with krkeegan's old code.

    I've created two new installers, one each for the latest snapshots from wgw and wmcbrine. (krkeegan's code hasn't been maintained in a long time and is best not used at this time, so I didn't bother to create a new installer for it.)

    They're here:

    http://pytivo.krkeegan.com/updated-windows-installer-betas-t512.html

    I've done very light testing on these, so please report back your results on the pyTivo forum. Especially if you run into problems.
     
  9. rambler

    rambler Member

    488
    0
    Dec 3, 2005
    Aspect ratio help needed!

    I rip dvd's to my PC then use Pocketdivx encoder to make an avi. I can pull them to the Tivo fine, but when played, the widescreen dvd fills my entire 4:3 tv. The Tivo itself can be set for 4:3 or widescreen, either way it looks the same. The Tivo is an S2 540 model.

    Here's my entire pytivo.conf file; I know I have to mess with this but don't know where to begin, thanks for any help:

    [Server]
    port=9032
    ffmpeg=C:\pyTivo\plugins\video\ffmpeg_mp2.exe

    [My Videos]
    type=video
    path=C:\Documents and Settings\Compaq_Owner\My Documents\My TiVo Recordings

    [Admin]
    type=admin
     
  10. Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    rambler, what version of pyTivo are you using?

    if it's an older one, switch to wgw's fork as I think he was doing some work on similar problems recently.
     
  11. rambler

    rambler Member

    488
    0
    Dec 3, 2005
    I just DL'd and installed it a month ago. Not sure where I got it from, I think from a link in the first post of this thread.
     
  12. Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    If you installed via the Windows installer a month ago, you definitely got a very old version. The official Windows installer hasn't been updated since early May.

    Try uninstalling what you have and installed my new wgw based windows installer form here:

    http://pytivo.krkeegan.com/updated-windows-installer-betas-t512.html
     
  13. wgw

    wgw New Member

    217
    0
    May 16, 2007
    Yes, you might have a really old version. I believe that the latest versions will default the output for 4:3 display if the tivo is a 540. You might try using the aspect button on the remote to adjust the display.
     
  14. captainDlp

    captainDlp New Member

    8
    0
    Mar 20, 2008
    Thanks for the great SW. I just resolved a network conflict to get my XP box serving vids. Does pyTivo (or one of its derivatives) offer streaming capabilities or just transcoding and transfers?
     
  15. wmcbrine

    wmcbrine Ziphead

    10,362
    22
    Aug 2, 2003
    pyTivo will always be transfers, not streaming. However, you should explain why you want streaming -- what you think the benefits would be.

    HME/VLC and tivostream offer streaming. The main advantage, at the moment, is that they can send MPEG-4 (h.264) without reencoding. HME/VLC also supports Internet streams, rather than just local files.
     
  16. rambler

    rambler Member

    488
    0
    Dec 3, 2005
    Bad to worse. Installed as service, no go. Removed. Installed as console, no go. Console says: pytivo is stopped. NameError: name 'logging' is not defined.

    Also it never asked for MAK - am I imagining it or was that part of the install from the old windows installer version?
     
  17. Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    The MAK isn't needed unless you want to pull video off your Tivo onto your PC. pyTivo can do this, but primarily it's for sending video to the Tivo which doesn't need the MAK.

    The newer pyTivo's depend on the Python logging module which I thought was auto installed with the Python Windows installer. How did you install Python? Maybe upgrade to Python 2.6 from www.python.org
     
  18. wmcbrine

    wmcbrine Ziphead

    10,362
    22
    Aug 2, 2003
    The logging package is part of the standard library, since Python 2.3.
     
  19. rambler

    rambler Member

    488
    0
    Dec 3, 2005
    All set now, thanks guys. Deleted several versions of Python and pyTivo, did fresh install of both and all looks good now.
     
  20. SMWinnie

    SMWinnie Dis Member

    233
    0
    Aug 17, 2002
    Peninsulam...
    For WAF (more pertinently, 7-year-oldAF), the pyTivo server sitting in the NPL works well. What doesn't work well with pyTivo is HD programming going:
    TiVoHD > PC for edit with VideoReDo and archive > 24/7 HTPC serving the archive and running pyTivo > back to the TiVoHD via pyTivo as a TTCB substitute​
    It works, but even on our end-to-end wired network it doesn't quite stream in real time. We essentially have SD on demand but not HD.

    Assuming that the smaller h.264 files will stream in real time, I'd be happy to have Handbrake grind out the files. Saved server space would be a small but appreciated bonus.

    To be clear, this is completely driven by ease-of-use. Since the TiVoHD in question needs to be operated by a seven-year-old (and by TiVo-naive grandparents, babysitters and so forth), I'm trying to avoid solutions that involve leaving the NPL and digging through Music, Photos & More. Leaving the list of shows to go get more shows doesn't faze me, but it does seem to get that non-intuitive frown from the intermittent TiVo users.

    Final note: I do appreciate all the work from the current and former pyTivo and HME developers. I know there's always a tension between exciting new capabilities and packing up the existing capabilities so that idiots like me can use them. I hope folks join me in supporting William and others so they can afford to devote more time (or afford a development S2) to our TiVo enjoyment.
     

Share This Page