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

    dsliu88 New Member

    1
    0
    Nov 24, 2007
    Has anyone succeed in streaming real media files? Although the *.rm files show up in the directory list, converting seems not to be working. Just want to make sure it's not my configuration is wrong.

    Thanks.
     
  2. TreborPugly

    TreborPugly Unreal!

    4,548
    2
    May 2, 2002
    Eastern TN
    Okay, I found my own problem here. For some reason, the Config.py file is now config.py, and when I copy the new version onto my old directory, Windows replaces the file, but since it is "case aware", but not "case sensitive", it doesn't change the case. I changed the name of the file, and now the service will run.

    However: It seems to have a more serious version of the folders problem than I've ever seen before. The first sub-folder I enter becomes the listing for any other sub-folder, and the earlier work-arounds have no affect. (can't enter and leave trash, or enter and leave kid zone to fix it)

    (It is using folder names for Series names I think)
     
  3. lraesly

    lraesly New Member

    11
    0
    Mar 26, 2005
    Working hard on getting the metadata to work.

    Downloaded the latest release on the website (pyTivo-2007-11-22-master-143ca8f0247571c5bba427e9b1c652dfa1a2a891.zip - assume this is the latest/greatest!). Server went up like a charm...

    I have a test file with this data:

    isEpisode : False
    description : (1982) Oddball cop and tough guy, Jack Cates is the only survivor of a cop shooting and in hunting down the murderer collects Reggie Hammond from jail for 48 hours. Hammond is oddly motivated to help. The killer is searching for his stash of cash. Cates and Hammond who have the Black-white, cop-crook thing to work out make surprisingly good partners as they navigate through the city looking for their suspect. Raing: 6.8 (14,280 votes). Rated R.
    title : 48 Hours
    vExecProducer : Paramount
    originalAirDate : 1982-01-01T01:00:00Z
    seriesTitle : 48 Hours
    vActor : Nick Nolte
    vActor : Eddie Murphy
    vActor : Annette O'Toole
    vActor : Frank McRae
    vActor : James Remar
    vActor : David Patrick Kelly
    vActor : Sonny Landham
    vActor : Brion James
    vActor : Kerry Sherman
    vActor : Jonathan Banks
    vActor : James Keane
    vActor : Tara King
    vActor : Greta Blackburn
    vActor : Margot Rose
    vActor : Denise Crosby
    vSeriesGenre : Action
    vDirector : Walter Hill
    vProgramGenre : Action
    vSeriesGenre : Action
    vWriter : Roger Spottiswoode, Walter Hill

    However, the only tags that are getting pulled are the description and title. Have I missed something?

    I've written an export script that creates this from DVDPedia. Nice program...

    Anyway, thoughts on why it won't parse the data?

    Best,

    Lee
     
  4. lraesly

    lraesly New Member

    11
    0
    Mar 26, 2005
    Working hard on getting the metadata to work.

    Downloaded the latest release on the website (pyTivo-2007-11-22-master-143ca8f0247571c5bba427e9b1c652dfa1a2a891.zip - assume this is the latest/greatest!). Server went up like a charm...

    I have a test file with this data:

    isEpisode : False
    description : (1982) Oddball cop and tough guy, Jack Cates is the only survivor of a cop shooting and in hunting down the murderer collects Reggie Hammond from jail for 48 hours. Hammond is oddly motivated to help. The killer is searching for his stash of cash. Cates and Hammond who have the Black-white, cop-crook thing to work out make surprisingly good partners as they navigate through the city looking for their suspect. Raing: 6.8 (14,280 votes). Rated R.
    title : 48 Hours
    vExecProducer : Paramount
    originalAirDate : 1982-01-01T01:00:00Z
    seriesTitle : 48 Hours
    vActor : Nick Nolte
    vActor : Eddie Murphy
    vActor : Annette O'Toole
    vActor : Frank McRae
    vActor : James Remar
    vActor : David Patrick Kelly
    vActor : Sonny Landham
    vActor : Brion James
    vActor : Kerry Sherman
    vActor : Jonathan Banks
    vActor : James Keane
    vActor : Tara King
    vActor : Greta Blackburn
    vActor : Margot Rose
    vActor : Denise Crosby
    vSeriesGenre : Action
    vDirector : Walter Hill
    vProgramGenre : Action
    vSeriesGenre : Action
    vWriter : Roger Spottiswoode, Walter Hill

    However, the only tags that are getting pulled are the description and title. Have I missed something?

    I've written an export script that creates this from DVDPedia. Nice program...

    Anyway, thoughts on why it won't parse the data?

    Best,

    Lee
     
  5. TreborPugly

    TreborPugly Unreal!

    4,548
    2
    May 2, 2002
    Eastern TN
    So the 8.3 subfolders fix is still a branch, and needs to have it's own version of the source code each time? (I realized that there is a 11/18 version with subfolders-8.3 in it's name, but not an 11/22 version with subfolders-8.3 in it's name)

    I've tried using the wiki to generate some diffs to see what I need to retain for the 8.3 fix, but using the wiki to get diffs does not appear to work.
     
  6. dlfl

    dlfl Cranky old novice

    7,107
    52
    Jul 6, 2006
    Dayton OH
    The only problem is the upper case F in
    isEpisode : False
    You can use "false" or "true" here and all is OK in the tivo display screens, although obviously false is the correct value.
    I learned this by trial and error starting with your original text. I had a clue from the fact that true/false values in the TivoDecode chunks are always lowercase.
    Touchy isn't it!

    @armooo: maybe force this to lower case when it's read in to the program?
     
  7. dlfl

    dlfl Cranky old novice

    7,107
    52
    Jul 6, 2006
    Dayton OH
    Would anyone be interested in a little utility program that generates pyTivo metadata files from .TiVo files? The bits and pieces for this are already working in TVAP so it wouldn't be hard to do. Probably would have a small GUI with just a file browser to select files to process.
     
  8. armooo

    armooo pyTivo Developer

    81
    0
    Feb 1, 2003
    Most of the changes in the 8.3 branch are KRKeegan's. I kept them in the branch because I have always been able to crash my tivo with them, and because it is a bug ugly mess. But I was able to merge master on to the 8.3 branch and it seems to be working. So you should be able to have all the new toys now and still have the working subfolders.

    I have not been using the 8.3 branch, I just setup a share for each folder. And now I was using the auto_subshares option to create them for me. But I hope this works out for you.
     
  9. armooo

    armooo pyTivo Developer

    81
    0
    Feb 1, 2003
    It looks like the tivo validates the xml against the XSDs and if is not valid it will not use it. It is to bad we don't have access to the XSDs.

    But I should be able to clean up the input a bit in the VideoDetails. I also still need to get the rating, color mode and show type working. Hopefully the rating will work with the kids zone for TreborPugly.
     
  10. wgw

    wgw New Member

    217
    0
    May 16, 2007
    +1. Thanks, that would be great!
     
  11. jcthorne

    jcthorne Active Member

    2,785
    18
    Jan 28, 2002
    Houston
    Here is a wierd tidbit of info.

    The only difference I can detect between isEpisode : true and false is the year in () after the 'episide title' at the top. It displays the group name in large type at the top and then the name of the show in small text with the description.

    However, setting isEpisode to something else like xxx or even the incorrect syntax False with a capitol F, Tivo now displays the shows name at the top in large letters, not the group name. But it ignores many of the other meta data items then. Not all but some.

    Is there a way to get tivo to display the show name at the top instead of the group name and still have it read all the metadata?
     
  12. jcthorne

    jcthorne Active Member

    2,785
    18
    Jan 28, 2002
    Houston
    In Armooo's post 1044 he lists seriesTitle twice, why? does this have something to do with show titles vs group titles vs episode titles? Was one of those supposed to have different capitolization or something to show a different variable?
     
  13. TreborPugly

    TreborPugly Unreal!

    4,548
    2
    May 2, 2002
    Eastern TN
    Thanks for the last merge. However, this seems to be less stable than the previous "folders" version I was using (198 or 200 I guess) I can't back out of subfolders without a crash. It's possible that it's only the version 9.1 of the Tivo software, and I haven't noticed the newer sensitivity because my normal use is to drill down, start a transfer, and then use the TiVo button to jump back to the main menu, avoiding the opportunity for a crash. Today, I drilled down to one sub folder, and then tried to come back out to check that the listings would be correct for another sub folder. Maybe when KRKeegan is next active, he'll be able to check out the 9.1 interactions.
     
  14. TreborPugly

    TreborPugly Unreal!

    4,548
    2
    May 2, 2002
    Eastern TN
    Okay, I've tried the main branch, with the auto_subshares option, and can't get that to work. I'm using the "143ca...." zip, and if I turn on auto_subshares, I just see nothing on my Tivo. If I turn it off, I see the two main shares I've created. Is there something else I need to edit to get the auto_subshares working? Are there constraints on using the auto subshares method? (ie, if I have subfolders in subfolders, does that break it? If I have too many subfolders does that break it?) Here's my pytivo.conf file:
    Code:
    [Video]
    type = video
    path = c:\personal\video
    auto_subshares= True
    
    [Music]
    type = music
    path = c:\personal\audio
    
    [OnMini]
    type = video
    path = \\EDMini\video
    
    
    
    [Server]
    ffmpeg = C:\Program Files\pyTivo\plugins\video\ffmpeg_mp2.exe
    video_br = 1024K
    width = 544
    debug = false
    port = 9032
    
    
    If I change the auto_subshares to false, then I see my two video shares. When it is true, I see nothing.
     
  15. jcthorne

    jcthorne Active Member

    2,785
    18
    Jan 28, 2002
    Houston
    Anyone know if there is a way to tell if a video transferrs completely to the Tivo? Tivo says partial but the file size is larger than the size on the PC. You cannot FF to the end to see if it gets to the credits. Is there are log file or debug mode I could be using?
     
  16. dlfl

    dlfl Cranky old novice

    7,107
    52
    Jul 6, 2006
    Dayton OH
    Isn't the auto_shares line supposed to go in the [Server] section?
     
  17. TreborPugly

    TreborPugly Unreal!

    4,548
    2
    May 2, 2002
    Eastern TN

    Not according to the example file, pytivo.conf.dist.
     
  18. armooo

    armooo pyTivo Developer

    81
    0
    Feb 1, 2003
    I just tried it myself and it works. Do you see all the shares if you go to http://localhost:9032/TiVoConnect?Command=QueryContainer&Container=/ They may be a limit to the number of shares that one server can have.
     
  19. TreborPugly

    TreborPugly Unreal!

    4,548
    2
    May 2, 2002
    Eastern TN
    Thanks. It was giving an error about one of my folders that had a "&" in the name. I changed the named of that folder, and it works now. I'll have to clean up how many sub-sub-folders I've got because it's a real mess right now.. :)
     
  20. armooo

    armooo pyTivo Developer

    81
    0
    Feb 1, 2003
    I just added proper xml escaping to the share names. So your old folder names should work.
     

Share This Page