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

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    ...with a Premiere. ISTR Soapm has a Series 2.
     
  2. Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    @wmcbrine = I need some help with your fork. Lets say I am 100 episodes of 250 that were queued and the computer hangs so I have to reboot it. In the regular version of PyTivo as long as the episodes are in the same folder it will still show "transfer Complete" for the shows that have already transferred. I'm not seeing that with the fork.

    Is there anyway to tell which episodes have transferred? Anyway to see the Tivo number other than for the 3 seconds when it is queuing?

    I just figured out the list doesn't always sort the same so I can figure out which have transferred and which still needs to be transferred. I am also having trouble spotting the partially transferred episode without comparing the file size of each. Even then I don't know which it is since all I have is the Tivo number in the file name.
     
  3. wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    I don't know what you mean by "the regular version". "Transfer complete" is still displayed in my version, though it's no longer in a separate column (look under the description). But no version of pyTivo (well, with one exception, but I doubt you've used it) would retain that state across a reboot, or even a restart of just pyTivo.

    I'm not sure what you mean by "the TiVo number", either. I think you may be talking about two different things. Anyway, yes, the list should always sort the same.
     
  4. Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    Colorado Getaways - 2994971.TiVo

    I was calling that number after the title the "Tivo Number" for lack of knowing what it is but I did noting it is unique to each episode.
     
  5. Oct 3, 2011 #3165 of 5684
    lpwcomp

    lpwcomp Active Member

    8,081
    2
    May 6, 2002
    John's...
    A question and an observation.

    First the question: Is there any way to get something other than the share name to display on the Group and/or Program page?

    The observation: On the Premiere, pulls of files whose metadata has the same made up seriesid will be grouped together. One caveat: The group name associated with that seriesid will be set by the first pull. I conjecture that the Premiere has a local DB of seriesid(s) and that the first time it sees a new one it gets added.
     
  6. Oct 8, 2011 #3166 of 5684
    dylanemcgregor

    dylanemcgregor Well-Known Member TCF Club

    11,113
    35
    Jan 31, 2003
    Corner of...
    I just can't seem to get pyTiVo working on my Windows 7 machine. I've ran through the Wiki and everything seems to have finally installed correctly. I run the console and a "MyMovies" folder shows up in the NP list on TiVo...but it is always empty. I've gone to http://localhost:9032 and have set the path to my video folder, verified that there are videos in the folder (including a couple transferred directly from the TiVo using TTG). Permissions for the folder allow access to everyone. I've made changes to Windows Firewall to allow access to pyTivo.

    I've done a bunch of searching, but can't seem to find anyone else with the same problem. The other "empty folder" problems seem to all relate to a second video folder. What can I try for troubleshooting?
     
  7. Oct 8, 2011 #3167 of 5684
    Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    Please post your pyTivo.conf file contents (edit any personal info).

    Can you post a debug log or the complete console output, from pyTivo startup to you trying to access the 'empty' folder?

    Is TiVo Desktop also installed? This may cause issues.

    Have you tried disabling the firewall temporarily?
     
  8. Oct 8, 2011 #3168 of 5684
    dylanemcgregor

    dylanemcgregor Well-Known Member TCF Club

    11,113
    35
    Jan 31, 2003
    Corner of...
    [Server]
    port = 9032
    ffmpeg = C:\Users\Dylan\AppData\Roaming\pytivo\bin\ffmpeg.exe

    [MyMovies]
    type = video
    path = C:\Users\Dylan\Documents\Vuze Downloads\transcodes\TiVo

    [_tivo_SD]

    [_tivo_HD]

    Code:
    INFO:pyTivo.beacon:Announcing shares...
    INFO:pyTivo.beacon:Registering: MyMovies
    INFO:pyTivo.beacon:Scanning for TiVos...
    INFO:pyTivo.beacon:DVD
    INFO:pyTivo:pyTivo is ready.
    TiVo Desktop is installed now. Originally it was not installed and I had the same issue. I installed it because at one point I had TiVo Desktop Plus, and I was going to use it as an alternative, but I've lost the key.

    I just turned off Windows Firewall, but sometime right before I turned this off "MyMovies" disappeared from the NP list.
     
  9. Oct 8, 2011 #3169 of 5684
    Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    Place this in your [Server] section of the pyTivo.conf file:
    Code:
    debug = True
    
    This will enable additional output in the console and may help.

    Restart pyTivo and post the entire log after trying to access the MyMovies folder in your NPL.

    TiVo Desktop may or may not be causing issues but if you no longer intend on using it then I would uninstall it.
     
  10. Oct 8, 2011 #3170 of 5684
    dylanemcgregor

    dylanemcgregor Well-Known Member TCF Club

    11,113
    35
    Jan 31, 2003
    Corner of...
    OK, put the debug = True line in the pytivo.conf file and saved. Restarted pyTivo and went to access MyMovies. No change in the output in the console.

    I then went and uninstalled TiVo Desktop and then restarted pyTiVo again. Again I don't have a listing for MyMovies in NP at all.

    Edit: Rebooting my PC got the MyMovies listing back in the NP list. Still nothing changes in the console when I select this folder from NP. One thing that I'm not sure is important, but when I enter the MyMovies folder the folder is empty, but I am able to use the page up/down buttons to scroll through the "list". With TiVo Desktop, if I went into an empty folder I'd get a message saying no videos in this folder.

    BTW, sorry for not saying it sooner, but I really appreciate your help with this. I've been struggling on and off with this for a couple of months now.
     
  11. Oct 8, 2011 #3171 of 5684
    Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    That's odd. It sounds like you have two instances of pyTivo running. Have you ever setup pyTivo in the past to automatically startup at login?

    Shooting in the dark here but just to see if it is a permissions problem can you setup a new temporary folder somewhere else outside of your USER directory? Maybe place a new folder in C:\ , put a video in there and then create a new share in pyTivo pointing to this. You'll need to restart. Try to access this folder on your TiVo.

    No problem. I may not know what the issue is in the end but the info you put up will be useful to someone who may know what's going on.
     
  12. Oct 8, 2011 #3172 of 5684
    dylanemcgregor

    dylanemcgregor Well-Known Member TCF Club

    11,113
    35
    Jan 31, 2003
    Corner of...
    OK. Setup a test folder in the root of C: called pytivovideotest and put a couple of avi files in there. Pointed MyMovies to this folder, saved, and did a soft restart. Then quit and restarted the console. Still nothing in the console output when I access MyVideos from the Tivo. (plenty of stuff pops up when I make changes to the localhost file).

    I don't think I've ever setup pyTivo to start at login. As I said, I've been working on this for a couple of months though, so it is possible I did something inadvertently back at the beginning, but I don't see any running processes that look like dupes (not that I'm even sure exactly what I'd be looking for, I see one instance of python running, but nothing under processes that identifies as pyTivo.
     
  13. Oct 8, 2011 #3173 of 5684
    Iluvatar

    Iluvatar New Member

    377
    0
    Jul 22, 2006
    One way to tell is to restart your PC. If the MyMovies share reappears in your NPL without you having to use the command prompt to start it then at some point you set it up as a service.

    However if you are not running multiple instances of pyTivo then the requests are just not getting through to pyTivo. With the debug line in your config file you should be seeing lots of logging output when you navigate to a share with your TiVo....whether the shared folder path is correct or not. This is back at what looks like a firewall issue. However I do not run Windows and I am not familiar with the workings of its firewall. The pyTiVo wiki says to add port 9032 (or whatever port it is set to in your config) to your firewall permissions.

    Perhaps wmcbrine or someone else will give recommendations on this.

    On another note, just in case, if you are not running the latest snapshot of pyTivo then download the latest and overwrite your pyTivo directory. It won't fix your issue probably but we can be sure that we are troubleshooting the latest code.
     
  14. Oct 8, 2011 #3174 of 5684
    dylanemcgregor

    dylanemcgregor Well-Known Member TCF Club

    11,113
    35
    Jan 31, 2003
    Corner of...
    Had a bit of a change a while back. I'd left the MyMovies empty folder open for a bit while I was doing other things (not related to pyTivo) and at some point a message popped up saying the folder was empty. Since then I've restarted the console, and now I'm back to no message, just an empty folder that can scroll infinitely (or so it seems).

    I restarted my computer, and nothing shows up in NP until I start the pyTivo console. I want to make sure I have my conf file set up properly. This is what it looks like now.

    Code:
    [Server]
    port = 9032
    ffmpeg = C:\Users\Dylan\AppData\Roaming\pytivo\bin\ffmpeg.exe
    debug = True
    
    [MyMovies]
    type = video
    path = C:\PyTivoVideoTest
    
    [_tivo_SD]
    
    [_tivo_HD]
    Does that look correct? Just seems weird that no logs are being generated when I open the folder. I have put both incoming and outgoing exceptions to the Windows Firewall for port 9032 per the Wiki. I hadn't done this before in Win7, so it is possible that I screwed up, but the firewall is off right now anyway, so that shouldn't matter.
     
  15. Oct 9, 2011 #3175 of 5684
    oregonman

    oregonman Member

    85
    0
    Jul 1, 2002
    Portland OR
    I upgraded from a Tivo HD to a Premiere. I had pyTivo set up and working fine for me with the Tivo HD. When I try to push a video to the Premiere, the video shows up on the Premiere, but the duration is 0:00.

    The last message on the pyTivo console is:
    Option: 'padtop' has been removed, use the pad filter instead
    ffmpeg.exe: failed to set value '60' for option 'padtop'

    I searched around here looking for a solution and the only thread I found was an older thread suggesting that earlier versions of pyTivo did not recognize the Premiere, but I am using a pyTivo from this spring:
    wmcbrine-7aac601ceab3e5c270096bdb3f904a3c7707f2fc.zip
     
  16. Oct 9, 2011 #3176 of 5684
    wmcbrine

    wmcbrine Ziphead

    10,368
    22
    Aug 2, 2003
    Sorry, but it's clear that you are indeed using a version of pyTivo that doesn't recognize the Premiere as an HD unit. pyTivo only attempts to pad for (what it thinks are) SD units.

    The actual error message is due to your using a newer version of ffmpeg that doesn't recognize the old padding syntax. This too would be fixed with an up-to-date pyTivo.
     
  17. Oct 9, 2011 #3177 of 5684
    lrhorer

    lrhorer Active Member

    6,924
    0
    Aug 31, 2003
    San...
    As long as those paths do indeed exist, that config file should be fine. I don't see how pyTivo could be doing anything at all without any output to stdout. What is the command you are using to start pyTivo?
     
  18. Oct 9, 2011 #3178 of 5684
    Soapm

    Soapm Active Member

    1,564
    0
    May 9, 2007
    So close,...
    I feel pretty dumb having to ask this question but I want to get vidmgr working so I guess i must put down my pride.

    The very first sentence of the instructions says, "Go to the directory where you have pyhme installed." What in the world is pyhme?

    I first searched my complete computer including drive where I know it wouldn't be but no luck. I can't find where I put pyhme but I do use pytivo with wmcbrine fork.

    I've googled and googled and searched this forum to find many people using this acronym but for the life of me I can't figure out how you get it or what you do with it. then I think if I can't understand the first sentence maybe this one is over my head.

    I'd like to try vidmgr but I'm off to a rocky start since I can't find pyhme. Help...

    Ps.. I posted in this thread because the vidmgr thread id in developers corner and I didn't think I should be posting there.
     
  19. Oct 9, 2011 #3179 of 5684
    dylanemcgregor

    dylanemcgregor Well-Known Member TCF Club

    11,113
    35
    Jan 31, 2003
    Corner of...
    I'm not sure I understand this. I start pyTivo through the start menu, not the command line. What is stdout? Is a separate log file supposed to be generated and put in the pytivo folder? I've been under the impression that the console window would generate output? The same as happens if I make a change in the web configuration. Maybe I've been misunderstanding?
     
  20. Oct 9, 2011 #3180 of 5684
    oregonman

    oregonman Member

    85
    0
    Jul 1, 2002
    Portland OR
    Thanks. I just grabbed the pyTivo from the link in your signature and installed that over my current installation. It seems to work now. I must have done the previous installation incorrectly and been running an older version than I thought I was running, but since it was working with my Tivo HD, I had no reason to investigate.

    Is there any way to see the version number or build date of the running instance of pyTivo? I don't see anything in the output on the console or in the Web configuration page that gives any clue. It would be nice to see a version number or build date somewhere.
     

Share This Page