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. Jun 2, 2010 #2821 of 5866
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,086
    0
    Apr 19, 2004
    East Moline, IL
    My shares still show up on the DVRs. :confused: The modified date of most of the .py files are dated 4/24/2010. I'll grab the latest copy and test further...
     
  2. Jun 3, 2010 #2822 of 5866
    loganasu

    loganasu I'm a lurker

    288
    0
    Jan 17, 2005
    I think I may have started with the Windows Installer, but I have replaced the pytivo folder serveral times with different forks.
    (I am able to download .TiVo files successfully.)
    I have now downloaded the tivodecode files and updated the config file.

    It appears to have worked.

    Thanks for your assistance. I think you have created/maintaining a great product
     
  3. bschuler2007

    bschuler2007 Frustrated owner

    325
    0
    Feb 25, 2007
    I've noticed a new issue I got after recently updating. Suddenly, I had alot of files with a "-" for a name. Troubleshooting, I got that it was an issue with WMV files. For WMV files, Pytivo seems to be taking the file's properties for Title, etc.. instead of the filename. Is there any easy way to force Pytivo to use the filename and NOT the wmv file properties?

    I guess I could remove all the .wmv files titles, etc.. but.. but a simple fix would let me not have to do that to all files in the future.
     
  4. wmcbrine

    wmcbrine Ziphead

    10,439
    55
    Aug 2, 2003
    You could create .txt files for the offending files, which would override the tags inside the WMVs. Otherwise, you could remove or comment out these lines:

    Code:
        elif ext in ['.dvr-ms', '.asf', '.wmv']:
            metadata.update(from_dvrms(full_path))
    from metadata.py. Personally, I'd prefer to fix the tags in the WMV files.
     
  5. bschuler2007

    bschuler2007 Frustrated owner

    325
    0
    Feb 25, 2007
    Thanks for the answer wmcbrine. So far, I deleted the tags. But I will comment out the section for future use. I feel all tags (mp3's included) are rarely used correctly and usually cause more issues then they solve.
    The fact that Pytivo reads those tags now though is very interesting.

    Anyway, Thanks for maintaining your branch. Pytivo is awe inspiring and awesome, in large part thanks to your work.
     
  6. Jul 5, 2010 #2826 of 5866
    PeskyPete

    PeskyPete New Member

    63
    0
    Mar 20, 2010
    re. pyTivoMetaThis and pytivo.
    I first created a default.txt file in the dir. where I have a bunch of episodes of a tv show.
    The file conatined an episode id of one of the shows.
    I ran pyTivoMetaThis and it created a 'seriesid' file, plus a .txt file with that single episode info:
    seriesTitle : The Office (DE)
    isEpisode : true
    episodeNumber : 301
    vActor : Jochen Busse

    So now what?
    I started pytivo and go to the push dir. Just the episodes are listed.
    Shouldn't the 'seriesid' file be avail. to push too, in order to get Tivo to create the dir?
    Sorry, complete noob alert!
    Pete
    Update:
    found this thread:
    http://www.tivocommunity.com/tivo-vb/showthread.php?t=435365&highlight=pyTivoMetaThis
     
  7. Jul 5, 2010 #2827 of 5866
    GregComeLately

    GregComeLately New Member

    119
    0
    Nov 27, 2006
    western...
    I give up. This stuff is strictly for programmers or really really smart people or incredibly patient people. Ideally, two of the three.

    Just spent three hours trying to make heads or tails from multiple browser tabs I've opened up, each of which contain either wiki pages, forum pages, etc., all of which leave out at least a little bit of some necessary information for setting up pyTivo, which in turns starts another search & tab creation to track down what else is missing. :thumbsdown:

    There really should be an edit of the first post reflecting this reality, particularly for anything pyTivo related.

    Sorry, just a little frustrated right now. Not sure if you can tell. ;)
     
  8. Jul 5, 2010 #2828 of 5866
    PeskyPete

    PeskyPete New Member

    63
    0
    Mar 20, 2010
    I'm gonna have to agree with you there!
    I got somewhere with pytivometathis, but hit a brick wall and just could not find anything to progress.
    The one post I found, explains how to get a couple of files to Tivo, in a directory, but the file names are the same, and I couldn't figure out how to get them to be named properly:

    I have 2 mpg's:
    The Office S03E01.mpg and The Office S03E02.mpg
    I created a default.txt file that contained a line:
    #seriesId: EP00726133
    (I got the number by following the instructions to find the id of any particular office episode at http://tvlistings.zap2it.com/tvlistings)


    I run pytivometathis from the same dir. and it creates only one file (The Office S03E01.mpg.txt), and a file called "The Office.seriesID"
    I'm sure I need to create another file for episode 2, so I tried doing it manually.
    Using Pytivo, I push the 2 mpg files and sure enough, Tivo creates a dir called "The Office" but the two mpgs are both called "The Office".

    There is no documentation on the sourceforge site for pytivometathis :mad:
    I know I'm close to doing this, but... no cigar!
     
  9. Jul 6, 2010 #2829 of 5866
    PeskyPete

    PeskyPete New Member

    63
    0
    Mar 20, 2010
    I had a lot of problems with setting up pytivo until I d/l'd the correct version.
    Of course, I don't have a link to it anymore!
    Once I had that version, it seemed to go pretty smoothly, but not without a few issues.
     
  10. Jul 6, 2010 #2830 of 5866
    wmcbrine

    wmcbrine Ziphead

    10,439
    55
    Aug 2, 2003
    No, the folder would be created by the first episode pushed. "default.txt" isn't something you push, it's data that attaches to each episode (or more precisely, each video file in the directory). I'm not familiar with the "seriesId" files created by pyTivoMetaThis (this is the first I've heard of them), but they wouldn't be recognized by pyTivo with that name.

    BTW, "#" starts a comment line in pyTivo metadata. A line starting with "#" will be ignored. Also, to name each episode, you want "episodeTitle".
     
  11. Jul 6, 2010 #2831 of 5866
    PeskyPete

    PeskyPete New Member

    63
    0
    Mar 20, 2010
    Hi and thanks for the info.
    I'm still not getting unique episode names though.
    I'm getting a Folder "The Office" and two videos, The Office & The Office.
    When I 'push' from Pytivo, I select the 2 files (the .txt files are not shown - do they get sent to Tivo in the background?)
    The contents of each txt file are as follows...

    The Office S03E01.mpg.txt:
    seriesTitle : The Office
    EpisodeTitle: The Office S03E01
    isEpisode : true
    episodeNumber : 301


    The Office S03E02.mpg.txt:
    seriesTitle : The Office
    EpisodeTitle: The Office S03E02
    isEpisode : true
    episodeNumber : 302
    seriesId: EP00726133

    So I can remove the SeriesId line?
    But what else is wrong?
    I do not have default.txt in this dir anymore, since I am doing this manually.
    Pete

    I cleaned up the entries:

    seriesTitle : The Office
    episodeTitle: The Office S03E01
    isEpisode : true
    episodeNumber : 301


    This now works!!!
    Either the seriesId was messing it up, or the commands are case sensitive
    Thank you v. much!
     
  12. Jul 6, 2010 #2832 of 5866
    PeskyPete

    PeskyPete New Member

    63
    0
    Mar 20, 2010
    Ok, I'm now doing the real Push - 23 files, 18Gig - hope it works....
     
  13. Jul 7, 2010 #2833 of 5866
    wmcbrine

    wmcbrine Ziphead

    10,439
    55
    Aug 2, 2003
    The keywords are indeed case-sensitive.
     
  14. Jul 7, 2010 #2834 of 5866
    Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    What OS are you using?
     
  15. Jul 7, 2010 #2835 of 5866
    Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    Are you using the latest version of pyTivoMetaThis from:

    http://sourceforge.net/projects/pytivometathis/

    When you run pyTivoMetaThis without specifying anything on the command line, it should process all compatible videos within the current directory. If you specify a filename, then I believe it will only process that one file. And the .seriesID files are there so that pyTivoMetaThis can remember what name to seriesID mappings you choose (say when a series name matches multiple seriesIDs and you interactively choose the proper one.) .seriesID files are not used by pyTivo directly.
     
  16. Jul 7, 2010 #2836 of 5866
    orangeboy

    orangeboy yes, I AM orangeboy!

    4,086
    0
    Apr 19, 2004
    East Moline, IL
    FWIW, you can limit what files pyTivoMetaThis reports on by paring down the file extension list. Opening pyTivoMetaThis.py with notepad (or other text editor) and editing the "fileExtList" variable name's values made my install only work on ".mp4" files:

    Code:
    # Types of files we want to get metadata for
    # fileExtList = [".mpg", ".avi", ".ogm", ".mkv", ".mp4", ".mov", ".wmv", ".vob", ".m4v"]
    fileExtList = [".mp4"]
    
    ("#" indicates a comment line)
     
  17. Jul 7, 2010 #2837 of 5866
    PeskyPete

    PeskyPete New Member

    63
    0
    Mar 20, 2010
    Win7
     
  18. Jul 7, 2010 #2838 of 5866
    Rdian06

    Rdian06 New Member

    463
    0
    Apr 12, 2008
    That question wasn't for you since you have things mostly working.

    It was for GregComeLately.
     
  19. Jul 7, 2010 #2839 of 5866
    PeskyPete

    PeskyPete New Member

    63
    0
    Mar 20, 2010
    Yes, I am using this ver.
    I am just creating my own .txt files for now, so I can at least get all files processed.
    I did have some success by doing this:
    All 23 files transferred over with Pytivo, but only 1-9 went into a folder.

    Here is a txt file for #9:

    seriesTitle : The Office Series 3
    episodeTitle: The Office S03E09
    isEpisode : true
    episodeNumber : 309

    and here is the txt file for #10:

    seriesTitle : The Office Series 3
    episodeTitle: The Office S03E10
    isEpisode : true
    episodeNumber : 310

    What do I need to do to get this (and 11 to 23) into the directory "The Office Series 3"?

    Thanks!
    Peter
     
  20. Jul 7, 2010 #2840 of 5866
    PeskyPete

    PeskyPete New Member

    63
    0
    Mar 20, 2010
    So I copied pyTivoMetaThis-0.22.py to my working directory, where I have 2 sample vids:
    The Office S03E01.mpg & The Office S03E02.mpg

    I get the IMDB warning, then the process finishes and it creates:
    The Office.seriesID
    and
    The Office S03E01.mpg.txt

    So,
    1. I don't get The Office S03E02.mpg.txt created and.
    2. The file, The Office S03E01.mpg.txt, does not contain an 'episodeTitle:' entry, which, wmcbrine has mentioned, it needs.
    These are the sticking points right now.
    Any ideas why these problems occur?
    Here is the contents of the The Office S03E01.mpg.txt file:

    seriesTitle : The Office (DE)
    isEpisode : true
    episodeNumber : 301
    vActor : Jochen Busse
     

Share This Page