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. May 7, 2013 #4241 of 5683
    wuzznuubi

    wuzznuubi New Member

    118
    0
    Jan 16, 2013
    Only other thing I can think of is that I'm using the Feb 18, 2013 version of pyTivo. You may want to try that one as I said I always use the commandline but that version installed and worked fine as a service. I have it set to run as a Local System account (which I think is the default since I didn't mod anything after installing the service). Win7 Home Premiun-64bit, Python 2.7.3 AMD-64bit installed in C:\Python27, pywin32-218.win-amd64-py2.7.exe, pyTivo v2013-02-18 installed in my user directory, shares are on local external eSata drives available to everyone.

    If your shares are on a NAS/Network drive, then have the service run as the Network Service account and use the UNC path to the shares.

    AND don't install pyTivo in "C:\Program Files" or "C:\Program Files (x86)" on Windows7
     
  2. May 7, 2013 #4242 of 5683
    gonzotek

    gonzotek tivo_xml developer

    2,402
    3
    Sep 24, 2004
    Outside...
    Scooterboy, sorry you're having so much trouble. I got the service working, with the latest versions of pytivo, python 2.7, and pywin32 build 218 for amd64, on a machine that had never run it before, using the basic wiki instructions. It did indeed have the missing files problem at first. I was able to get it working by setting the service 'Log on as' permissions correctly and then restarting the service. My "My Videos" folder (located at c:\users\Cassidy\Videos) only has permissions for the owner (myself - full permissions) and the WMPNetworkSvc (read-only, this is the windows upnp media sharing service - and not relevant to pytivo). I modified the service Log On properties to use my account (.\Cassidy) and password. Then it prompted that the service would not use the new credentials until it was restarted. pyTivo seems to have a little trouble shutting down as a service (I think it's because it unregisters the shares with any tivos on the network and that takes longer than the service manager likes). So I refreshed the Services window until it showed pyTiVo as 'stopped', then I was able to start it again and the files in the problem share were properly visible and transferrable.

    If you can verify that you've tried these steps, particularly making sure the service has the correct user account and that it is fully stopped and then started again, I'd appreciate it. Thanks for sticking with us.
     
  3. May 7, 2013 #4243 of 5683
    scooterboy

    scooterboy Coney Island Small

    29,945
    24
    Mar 27, 2001
    East...
    I think you've gotten me closer to solving this. The service does indeed have the correct user account (mine), but it does seem to have trouble stopping. When I stop it, it gives me an error box saying it failed to stop. But I thought that since it no longer said "Started" in the Services list and the right-click context menu listed "Start" as a an option, that it was no longer running.

    The difference I'm seeing from your experience is that my pyTivo service *never* has a "stopped" status no matter how many times I refresh it or how long I give it. If it needs to truly stop and start again in order for the log-on change to take effect, I suspect that's not happening. I think I'll try a reboot - that should definitely stop the service. :)

    I think I'll try a full reboot and see if that does it.
     
  4. May 7, 2013 #4244 of 5683
    scooterboy

    scooterboy Coney Island Small

    29,945
    24
    Mar 27, 2001
    East...
    Rebooted, and it's still the same. I see my folders on the Tivo, but they remain empty. :(

    I guess I'll just stick with the command line option. That works fine, and I'm happy with that.
     
  5. May 7, 2013 #4245 of 5683
    newsposter

    newsposter Poster of News

    34,267
    6
    Aug 18, 2002
    SE PA
    i'm disappointed you didnt work this out, i'm getting tired of remembering to run the .bat everytime my machine starts.

    please keep trying
     
  6. May 7, 2013 #4246 of 5683
    gonzotek

    gonzotek tivo_xml developer

    2,402
    3
    Sep 24, 2004
    Outside...
    There are other options for installing a service into Windows. I've successfully used NSSM(the Non-Sucking Service Manager) with pytivo before, when I had other pywin32 issues. I'll re-do my install using NSSM and put together notes on how to do it sometime over the next few days, but if anyone else wants to take a crack at it in the meantime, feel free. Just let us know how it goes :)
     
  7. May 7, 2013 #4247 of 5683
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    And the reason you haven't simply created a shortcut that starts pyTivo.py and added that to your Startup folder is...?
     
  8. May 7, 2013 #4248 of 5683
    newsposter

    newsposter Poster of News

    34,267
    6
    Aug 18, 2002
    SE PA
    it didnt work! :)


    so now that tivo desktop wont be free does this affect us pytivo people at all?
     
  9. May 7, 2013 #4249 of 5683
    gonzotek

    gonzotek tivo_xml developer

    2,402
    3
    Sep 24, 2004
    Outside...
    What didn't work? What error message(s) did you receive, or what did you observe that made you decide it didn't work? If you have a batch file that works, then right click on its icon and create a shortcut, then place that shortcut into the Startup folder in your start menu. If that doesn't work, please paste the contents of the batch here. The only thing I can think of that would affect a shortcut to a batch script is relative path locations, which would be easy to fix.
    It doesn't appear to affect pyTiVo at all, UNLESS they also eventually disable the http interface pyTiVo (and kmttg, and tivo desktop for mac, and Roxio, and every other third, 2nd or 1st party TTG tool) uses. We don't have any indication that is on the horizon, near or distant. They've stated that Macs will be able to continue using the Mac version of TD for audio/video, and Roxio for video transfers, so it would appear that the interface will remain indefinitely.
     
  10. May 7, 2013 #4250 of 5683
    Hercules67

    Hercules67 TiVo addict

    354
    0
    Dec 8, 2007
    For over 3 years I have been Wmcbrine's fork of the pyTivo program wWITH ZERO problems... That means, I was able to download it, install it, install Python 2.7 and I have been running it pretty flawlessly since.

    Unfortunately, 2 weeks ago my Hard Drive crashed and my problems started.

    I have reinstalled pyTivo. This time Wmcbrine's latest by clicking on the "zip" option at his download location. I was satisfied with the previous iteration so I am not about to change. I also loaded python 2.7.2 (too much?) The Operating System is Windows XP Service Pack 3 patched (on a 2005 machine) -- I know, but that's all I can afford right now.

    A few issues:
    1. This version of pyTivo web config does not give me a "Soft Reset" button. Does that matter?
    2. My Share Folders are published, BUT are empty, I can't see anything below them (like actual files)

    I've been researching the "Share Files" don't show, or "empty shares" issue, and I can't say that I have found a fix in previous answers. The reason I say this is because I have tried all fixes suggested including multiple reboots without success. Here is my config file. It is pretty basic (I make very few changes):

    Obviously, I have administrative rights on the Windows XP machine.

    Obviously, I have started the pyTivo service (I have it starting when windows starts).

    What am I missing?

    Note: I also have bonjour running since I have Tivo-To-Go (also known as TiVo Desktop Software, version 2.8.3 - patched for date issue).

    Do I really have to put an IP address in the Beacon Field?
    Do I really need to switch to Beacon Service? (I'd rather not, as I also use KMTTG.)

    I have two Tivos -- They used to see pyTivo just fine....

    NOTE: KMTTG can communicate with the TiVos just fine.

    Obviously, I have screwed-up somewhere, BUT where?

    HELP!!!!!! :mad::confused:
     
  11. May 7, 2013 #4251 of 5683
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    Did you re-install ffmpeg.exe where you have told pyTivo it resides?
     
  12. May 7, 2013 #4252 of 5683
    Hercules67

    Hercules67 TiVo addict

    354
    0
    Dec 8, 2007
    ffmpeg is installed in: C:\pyTivo\bin
    which I created...

    I downloaded the latest ffmpeg from here: http://ffmpeg.zeranoe.com/builds/
    as described in step 4 of the Windows install instructions.
     
  13. May 7, 2013 #4253 of 5683
    Hercules67

    Hercules67 TiVo addict

    354
    0
    Dec 8, 2007
    Two more things I need to add:

    1. When I rebuilt my machine, I loaded my back-up from my back-up drive. I therefore ended-up with a Python 2.6 folder in the root of C:.... BUT, I am sure I have no actual files running. The only Python I installed to get this iteration of pyTivo running is version 2.7.2.
    2. For some reason, the newest Bonjour that the latest version of TiVo Desktop installed is running as a Process under "mDNSResponder.exe". In the past, Bonjour used to run as a separate process. Does that make a difference?

    I have shut down the PC and restarted both Tivos with no success.... At this point I am pulling my few remaining hair out.

    I wonder if I should go back to this: "pyTivo wmcbrine-2009.03.19-RC1" (This is the version I used to run before the HDD conked-out).
     
  14. May 7, 2013 #4254 of 5683
    Hercules67

    Hercules67 TiVo addict

    354
    0
    Dec 8, 2007
    One last thing... I keep talking about the BONJOUR Service, but I guess pyTivo prefers BEACON. Therefore, see my log.txt (attached).
     

    Attached Files:

    • log.txt
      File size:
      3.7 KB
      Views:
      5
  15. May 7, 2013 #4255 of 5683
    wmcbrine

    wmcbrine Ziphead

    10,366
    22
    Aug 2, 2003
    Generally, no. In your specific case? I dunno. It's odd that I don't see any requests from the TiVo(s) in your log.

    pyTivo doesn't work like that. Unless you disable one of them (and you haven't), you're already using both beacon and zeroconf. This is all done within pyTivo; it doesn't rely on, or care about, Bonjour, nor does it interact with KMTTG.
     
  16. May 8, 2013 #4256 of 5683
    jcthorne

    jcthorne Active Member

    2,721
    3
    Jan 28, 2002
    Houston
    Have you thought of placing a shortcut to run pytivo command line in your startup group? I like this much better than the service as its easier to monitor what is going on. Keep it minimized most of the time.
     
  17. May 8, 2013 #4257 of 5683
    newsposter

    newsposter Poster of News

    34,267
    6
    Aug 18, 2002
    SE PA
    i have an old thread on here about this issue and i forget the reason why it didnt work but it didnt. will have to dig through old posts sometime
     
  18. May 8, 2013 #4258 of 5683
    Hercules67

    Hercules67 TiVo addict

    354
    0
    Dec 8, 2007
    I have another question about my issue that may lead to an answer to the problem. I run "msconfig" this morning on the PC and noticed that even though I have the pytivo service starting automatically, the service was stopped. So, I retook the steps necessary to activate it. It's been running since. Then I started investigating the "log.txt" file (I have "debug = true" now). I have seen NO ERRORS, but, my question is this:

    Does this LOG get overwritten every time that pytivo re-starts?

    Here is why I ask: The last two restarts, I noticed that time / date shown was Mon Apr 08 @ 15:45:45 which is nowhere near today's date of May 8th around 12:45 (local time) when I last restarted. Could this be causing my issue?
     

    Attached Files:

  19. May 8, 2013 #4259 of 5683
    Hercules67

    Hercules67 TiVo addict

    354
    0
    Dec 8, 2007
    William,

    I also tried the 192.168.1.255 in the Beacon field, as well as my TiVo IP addresses (which I have made static): 192.1681.10 & 192.168.1.20 (do you separate them with a colon OR a space?).

    None of these steps have seemed to have made a difference.
     
  20. May 8, 2013 #4260 of 5683
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    That is the "Modified" date/time of the most recently modified module. Has nothing to do with when it was started.
     

Share This Page