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

    dlfl Cranky old novice

    6,994
    16
    Jul 6, 2006
    Near...
    I corrected the xml parsing bug in TVAP, got the correct seriesID and now grouping works. (Will be releasing fixed version of TVAP RSN.)

    It's still possible that grouping depends on having

    isEpisode : true

    in your pyTivo metadata file. Note that pyTivo actually sets the "isEpisodic" tag based on this line, which is consistent with my observation that the "isEpisode" tag in .Tivo files always seems to be true even for movies. TVAP reads the isEpisodic tag from the .TiVo file and uses that value for the isEpisode line in the generated pyTivo metadata file. Thus isEpisodic eventually gets mapped to isEpisodic and all is well (I hope!)
     
  2. wgw

    wgw New Member

    217
    0
    May 16, 2007
    Are you sure, I tried setting isEpisode to false and it still grouped.
     
  3. dlfl

    dlfl Cranky old novice

    6,994
    16
    Jul 6, 2006
    Near...
    No I wasn't sure at all. Glad to hear it doesn't matter! The just released new version of TVAP (0.46) has it covered either way.
     
  4. dlfl

    dlfl Cranky old novice

    6,994
    16
    Jul 6, 2006
    Near...
    I tried it with two different series episodes using SH380827 -- No Joy :(
     
  5. dlfl

    dlfl Cranky old novice

    6,994
    16
    Jul 6, 2006
    Near...
    Yep, already found that out, see post 1085.
     
  6. wmcbrine

    wmcbrine Ziphead

    10,364
    22
    Aug 2, 2003
    Yep, that's why I already deleted that message before your reply went up. :)
     
  7. dlfl

    dlfl Cranky old novice

    6,994
    16
    Jul 6, 2006
    Near...
    lol ;)
     
  8. jcthorne

    jcthorne Active Member

    2,719
    2
    Jan 28, 2002
    Houston
    When I check the list from pTivo from TivoHD it displays the information from the txt file and fills in the duration correctly.

    Once transferred to the Tivo, the duration shows as 0.00 and (partial). The file size looks right and the file starts playing. As it will not FF I do not know if the whole recording has transferred or not. Is there an error log or some other way of knowing? Why does the duration not display correctly. Some of the recordings I trasferred last week with older versions of pytivo display the duration correctly. Any ideas?
     
  9. jcthorne

    jcthorne Active Member

    2,719
    2
    Jan 28, 2002
    Houston
    Does the seriesId I use need to be one my Tivo already has recorded? If so, guess I would need to find a series with a name I can live with for a Group name for my movie files and recored it, then use the seriesId. Am I on the right track?

    Does the seriesTitle then need to match the seriesId I used or can I give it a different seriesTitle?
     
  10. dlfl

    dlfl Cranky old novice

    6,994
    16
    Jul 6, 2006
    Near...
    My experience (see post 1086) seems to say that just having a "valid" seriesID is not enough. But that still leaves room for a lot of questions, such as you ask (whether the seriesTitle needs to match) etc.
     
  11. jcthorne

    jcthorne Active Member

    2,719
    2
    Jan 28, 2002
    Houston
    Would be nice to determine A combination that works and then improve the concept from there. I still do not have one that works for grouping and am trying to duplicate someone elses success and work from there.
     
  12. gilbreen

    gilbreen Member

    68
    0
    Sep 5, 2007
    I am trying to use the new naming convention using pyTivo version 43ca. I am not trying to do series/episode naming but rather simply the naming of movies and one-run shows. I have added the .txt file and it is parsing some of the info correctly but not all of it.

    For example, I have a folder on my PC called 'XPC Movies'. Inside that folders are individual movie .mpg files (no sub-folders). One, for example, is the movie, 'No Way Out'. I have created a file called No Way Out.mpg.txt that contains:

    Code:
    title : No Way Out
    description : A coverup and witchhunt occur after a politician accidentally kills his mistress.
    original air date : 1987
    actor(s) : Kevin Costner, Gene Hackman
    director(s) : Roger Donaldson
    
    When I browse the XPC Movies share, it shows 'No Way Out' as the episode title with XPC Movies as the series. Also, it shows the description but the year shows as 2007 and it does not show the actor and director info. In addition, once I transfer the file, in the NPL, it shows as XPC Movies, instead of No Way Out.

    How should I structure the .txt file so that No Way Out does not show as the episode but rather as the title.
     
  13. dlfl

    dlfl Cranky old novice

    6,994
    16
    Jul 6, 2006
    Near...
    Tried again with same seriesID but setting both seriesTitle's to the same string, which I made up. Still no grouping.

    This seriesID is a valid one from wgw's tivo, so the question of whether it would work with a seriesID already recorded on my tivo remains.

    Edit: Question no longer remains:
    I deleted a group of one series (test only) on my tivo. Then I set the pyTivo metadata items seriesTitle and seriesID on two pc files to be identical to the series I had just deleted on the tivo. After pyTivo transfer, they grouped!
    The two test clips were from different series.

    I'm guessing the tivo either remembers all (or a lot of) the recent series data it has recorded OR that it found a match in the deleted files folder. (??)
     
  14. dlfl

    dlfl Cranky old novice

    6,994
    16
    Jul 6, 2006
    Near...
    Here is a summary of what I think we've learned about grouping. My thanks to wgw for his pm's with several series ID/series Title combination and his findings. I believe everything below is consistent with his results.

    1. Grouping requires identical seriesId numbers and the number must be a "valid one", i.e., you can't just make one up.

    2. The seriesId does NOT have to be from a recording done on YOUR tivo, just a valid one, e.g., obtained from a recording on a different tivo box.

    3. If you don't have seriesTitle items in your metadata files, the folder name containing the video on your pc will be used for the Title (the top one in large letters on the first info page). The group name shown in the NPL however will be the matching series title for the seriesId you specified -- even though your metadata file does not contain this information. I suspect the tivo actually goes out on the network to get this, or it maintains a complete local database, which is probably feasible.

    Anybody have anything to add to (or dispute) this?
     
  15. dlfl

    dlfl Cranky old novice

    6,994
    16
    Jul 6, 2006
    Near...
    See post 1044 in this thread where Armooo lists all the keys for metadata file items.

    Each line in the file must have the form:

    <key> : <value>

    e.g.:
    seriesTitle : Lost Worlds

    The order of the lines doesn't matter.
    Having all the keys defined is not necessary.

    For your example, correct formatting would be:

    title : No Way Out
    description : A coverup and witchhunt occur after a politician accidentally kills his mistress.
    originalAirDate : 1987
    vActor : Kevin Costner
    vActor : Gene Hackman
    vDirector : Roger Donaldson

    try adding

    seriesTitle : No Way Out

    Didn't that movie also star Clint Eastwood, or is my memory acting up again?
     
  16. gilbreen

    gilbreen Member

    68
    0
    Sep 5, 2007
    Excellent! Thanks for the reference to post 1044. I was using a posting in the TVAP thread and was using the wrong keywords.

    No, Clint Eastwood wasn't in No Way Out.

    Thanks for the help!

    Gilbert
     
  17. jcthorne

    jcthorne Active Member

    2,719
    2
    Jan 28, 2002
    Houston
    Quick queston,

    What is the format for originalAirDate ?

    My line:

    originalAirDate : 2006

    seems to have no effect (its for a movie if it matters) Could someone please show me the correct syntax? Thanks!
     
  18. jcthorne

    jcthorne Active Member

    2,719
    2
    Jan 28, 2002
    Houston

    This cannot be exactly right as I tried using wgw's example of 'SH897934 is for show called "HitList"' as meta data for a couple recordings and it would not work. Hitlist does not appear in my guide data. Chose a program from my guide data and recorded it and used its series id and then the recordings grouped using that series id and seriestitle. Changing seriesTitle to something else with a valid seriesId just results in the recording not being placed in the group.

    I think the seriesId and SeriesTitle you use must appear in your available guide data OR have been recorded by your tivo at some point. IE it must be known to your Tivo. Other than the guide data itself, I do not think there is some master list out on the network or in the tivo.

    So I guess we can choose group folder names from any of the available program titles we see in the guide data but cannot make up our own. At least for now.
     
  19. dlfl

    dlfl Cranky old novice

    6,994
    16
    Jul 6, 2006
    Near...
    It's some kind of standard time/date format (iso?). Anyway here is an example taken from a tivoDecode xml chunk:

    2007-07-06T01:00:00Z

    The Z means zulu (coordinated universal time, formerly known as GMT).

    For a case like a movie where you don't know or care about anything but the year, just fill in the rest with placeholders, e.g.:

    2007-06-01T01:00:00Z

    Note all the chars that look like 0 are zeros.

    This zulu time often is automatically converted to your local time, so that's why I would choose something other than 1 January at 00:00:00 -- this would logically be converted to the previous year!

    ps: did you see the pm I sent you?
     
  20. TreborPugly

    TreborPugly Unreal!

    4,542
    0
    May 2, 2002
    Eastern TN
    Okay, I'm trying out the latest version because the folder naming/meta data stuff sounds very neat. If I grab the very latest zip off of armoo.net: http://armooo.net/~armooo/pyTivo/do...-143ca8f0247571c5bba427e9b1c652dfa1a2a891.zip, and copy it over my current Tivo, and try to remove the service or reinstall the service, I get the following error message:

    However, if I grab the 208 zip off of armoo.net, I can copy it over my current pyTivo directory, remove and reinstall the service, and it appears to be running. (I see it on the Tivo - I didn't try transferring something, since I'd like to get the auto-meta data version, which I'm assuming is one of the Nov 22 zips...)
     

Share This Page