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

    MasterCephus New Member

    309
    0
    Jan 2, 2005
    Hueytown,...
    Are these the only valid items for metadata? This was taken a while back. Just wondering if any new items had been added.

    If this is it, Could we add rating? I think that would be a good field to have?

    Could someone who knows what each field is supposed to be add a page to the Wiki explaining each field?
     
  2. ruttmeister

    ruttmeister New Member

    18
    0
    Dec 8, 2007
    West Des...
    I agree, a rating field would be nice.
    In my signature line is a link to a document that describes the content, formatting an behavior of most of those fields (also, there is a link to an Excel document that will create most of the above fields). I will say that most of what isn't in my document is of the type v<some person> (vProducer, vChoreographer, etc.) and you can put anything there, no specific formatting is required. you can usually include those fields in the metadata .txt document and leave them blank without them causing any problems. Also, see post 1314 for what you can expect a metadata file to look when formatted properly.
     
  3. dlfl

    dlfl Cranky old novice

    6,997
    17
    Jul 6, 2006
    Near...
    It's the only line in the file containing 'seriesTitle' .

    It's in function: def __metadata(self, full_path):
     
  4. MasterCephus

    MasterCephus New Member

    309
    0
    Jan 2, 2005
    Hueytown,...
    I know most of them, but I am pretty much finished on creating a GUI to create the metadata for you. I am using the data from http://thetvdb.com/ for tv shows and http://www.movie-xml.com/ for movies. I get pretty much most of the data, but there is some things that it doesn't get...I'll have to look.

    I also will need permission to allow the public to use my little app per the above sites. It's a C# .NET application.

    Basically, you search for either a movie or tv show. If it's a movie you search for the movie, choose it and the data shows up on a form. You have the ability to add, remove, or change any of the data on the form. Then you just choose the video file you want to link it to and it saves it as that file name plus the .txt extension.

    If you search for a tv show, you search for the show, then you find the episode you want through a tree based on seasons. You can do the same as far as changing the data as like the movies.

    I am testing it and when I get comfortable enough to release it to a few, I'll ask for volunteers.
     
  5. dlfl

    dlfl Cranky old novice

    6,997
    17
    Jul 6, 2006
    Near...
    First, nice job on the metadata notes, thanks!

    I see you have a model 649. Does this problem occur on it too?

    Do you have auto_subshares= True in your config file for any of the shares?

    When I have this set to true the subfolder shows up both as a subfolder under the share folder AND as a separate folder at the share folder level.
     
  6. ruttmeister

    ruttmeister New Member

    18
    0
    Dec 8, 2007
    West Des...
    MasterCephus-

    That sounds great, a lot better than my Excel sheet! I will offer any input I can, but like I've said before, I have no programming experience whatsoever. However, when you're ready to test it, you can believe I'll be one of your first volunteers!
     
  7. ruttmeister

    ruttmeister New Member

    18
    0
    Dec 8, 2007
    West Des...
    I will continue to update it as i learn more about all the fields, and I intend to expand to a document that is relevant to the 649 models, as the current one is only relevant to the 240 models.

    Well, here's what I had. I didn't even set a line in my config file for auto_subshares, and hadn't had a problem until I posted that. Here's what my config file looked like:

    [Frank's Videos]
    type = video
    path = C:\Documents and Settings\Patrick\My Documents\My Videos

    [Test Videos]
    type = video
    path = c:\Video Test Folder

    [Server]
    ffmpeg_prams = -vcodec mpeg2video -r 29.97 -b %(video_br)s -maxrate %(max_video_br)s -bufsize %(buff_size)s %(aspect_ratio)s -comment pyTivo.py -ac 2 -ab %(audio_br)s -ar 44100 -f vob -
    ffmpeg = C:\pyTivo-d421\plugins\video\ffmpeg_mp2.exe
    video_br = 8Mi
    port = 9032
    width = 720
    beacon = 255.255.255.255
    debug = false
    height = 480
    audio_br = 192k

    With it in this configuration, my 649 did not have any problem navigating any level of subfolder. My 240s would show all the subfolders, but when you tried to enter them, it gave the message above (This Group is empty...).

    The only abnormal thing my 649 does in the current configuration is that if i mess around too much in the subfolders (view several video screens, move around several subfolders, etc.) and then back out to the NPL using the left arrow on the remote, the NPL will only show my two shares, and nothing else from the NPL. That is easily fixed though, I simply "left arrow" one more time to the main menu screen and select NPL, and everything's back to normal.

    Here's the interesting bit. If I place an auto_subshares line in my config file (doesn't matter whether it's True or False),

    240s: will now enter the subfolders and act like there are files, but show none. The blue highlight bar is there with all four directional arrows and I can move around, but no files or text of any sort is shown. And you can't select any of the "invisible files".

    649: Nothing different than what I said above. The auto_subshares line seems to do nothing.
     
  8. MasterCephus

    MasterCephus New Member

    309
    0
    Jan 2, 2005
    Hueytown,...
    I am going to go through your doc and make sure that all the possible fields are good to go...maybe by the weekend I will have something I can send you to check out.
     
  9. reneg

    reneg Member

    699
    0
    Jun 19, 2002
    How about searching on the series names from tvdb?

    I've been toying with how to build a tivometadata generator and two things stand out. First, Zap2it has the series IDs that Tivo uses for groupings and second, tvdb has the easiest interface to extract metadata. So what I did was cross reference the Zap2it IDs that you posted earlier with a list of TVDB IDs. Attached is a zipped text file with non matching TVDB titles (I filtered out non-english series). I couldn't post the mappings themselves due to size restrictions on posts on the forum. The results are interesting, there are a lot of inconsistencies in the titles of shows between the two DBs, such as 12 O' Clock vs Twelve O' Clock or The A-Team vs A-Team. There are about 8900 entries from TVDB that did not match your list. There were over 1400 entries that did match. Perhaps you could set up your web crawler to try and map the non matching TVDB titles which would hopefully take less than 10000 weeks.

    Also, it looks like Ruttmeister is further along than I am with a working Tivometadata generator in Excel. Keep up the good work.
     

    Attached Files:

  10. ruttmeister

    ruttmeister New Member

    18
    0
    Dec 8, 2007
    West Des...
    I'll be looking forward to it with great anticipation! I've changed the link in my signature to point to the pages where those files are hosted. That way I don't have to keep changing the link everytime I update something, so check back for new information there.
     
  11. dlfl

    dlfl Cranky old novice

    6,997
    17
    Jul 6, 2006
    Near...
    I believe the auto_subshares line has to be put in each share section that you want to have that behavior. Is that how you are doing it?

    I see the quirks like you mention as far as navigating in and out of shares, etc. on my 649 -- I assume everyone does.

    I only have a 649 so won't be able to help regarding any differences between that and other models.
     
  12. ruttmeister

    ruttmeister New Member

    18
    0
    Dec 8, 2007
    West Des...
    Here are the two shares in my config file:

    [Frank's Videos]
    type = video
    path = C:\Documents and Settings\Patrick\My Documents\My Videos
    auto_subfolders = True

    [Test Videos]
    type = video
    path = c:\Video Test Folder
    auto_subfolders = True

    When set like this, nothing different happens than if I don't have the two subfolders lines in there. Let's see if I understand what's happening to you:

    Let's use my setup above. Let's then say that I have three subfolders in the \My Documents\My Videos folder named Larry, Curly, and Moe. What you're saying is that when you view your NPL, you see Frank's Videos, Test Videos, Larry, Curly, and Moe all as shares, and in the Frank's Videos share, you see Larry, Curly, and Moe as subfolders?
     
  13. ruttmeister

    ruttmeister New Member

    18
    0
    Dec 8, 2007
    West Des...
    My first question is this: do the listings from TVDB have series ID's with them? And if so, do the series IDs of the non-matching shows from TVDB match the series IDs from zap2it? To clarify, whether you get "The A-Team" from TVDB or "A-Team" from zap2it, are the series ID connected to each of them the same?

    Because as far as my metadata creator goes, having two entries like that wouldn't necessarily be a bad thing. Different people remember show titles differently, and this way, no matter which one they entered, the right seriesID would be returned, which is (I think) one of the most important things: grouping.
     
  14. reneg

    reneg Member

    699
    0
    Jun 19, 2002
    From what I can tell, Zap2It and TVDB each have unique series IDs for their respective DBs. I didn't see any information in the TVDB meta data that corresponded back to a Zap2it Series ID. I would definately want to use the Zap2it Series ID in the Tivo Metadata so it would match what Tivo uses so it wouldn't matter if the series episode came from the Tivo or off the internet for grouping. As far as automagically getting meta data, TVDB looks to be the simplest, but you either need to know the ID or search for the series and choose through the interfaces.
     
  15. dlfl

    dlfl Cranky old novice

    6,997
    17
    Jul 6, 2006
    Near...
    Yes. One possible difference is I tend not to use spaces in my folder names. Try renaming them (at least the subfolders).
     
  16. dlfl

    dlfl Cranky old novice

    6,997
    17
    Jul 6, 2006
    Near...
    Here is a factoid about the role of seriesID:

    I've used metadata files where the seriesTitle and all other items did not match the seriesID. They grouped and the group name was still the correct series title determined by the seriesID -- not by any other metadata item.

    This applies when it's a "valid" seriesID, and AFAIK we don't know the exact rules that determine validity for a given Tivo unit. If the tivo doesn't consider it valid, it uses the seriesTitle metadata for the NPL listing (if you've applied the "fix" given in my earlier post). But it won't group then.
     
  17. ruttmeister

    ruttmeister New Member

    18
    0
    Dec 8, 2007
    West Des...
    Ok, to show my utter "green-ness", I have a question: what does AFAIK stand for?

    Next, and perhaps I missed this earlier in this MONSTER thread, can pyTiVo support rating metadata? If so, what does the command look like, and how does the field need to be formatted to work properly? (ex: tvRating : PG-13)

    WOW. That must have been the hour my hands were at HandzCrafters. If you look closely, I put auto_subfolders not auto_subshares. Both my 240s and my 649 react exactly the way you describe, even with subfolders in subfolders in subfolders, etc. I found that if you have two shares, one can be set to True and one to False without screwing anything up. This is actually kind-of handy, because now my 240s can access all the bottom-level folders, and my 649 can simply browse the regular subfolders the way it's supposed to.
     
  18. greg_burns

    greg_burns Now in HD

    6,384
    0
    May 21, 2004
    Slower...
    IIRC it stands for As Far As I Know. ;)
     
  19. ruttmeister

    ruttmeister New Member

    18
    0
    Dec 8, 2007
    West Des...
    Thanks! :D

    (and yes, I got IIRC, thank you!)
     
  20. DinoBambino

    DinoBambino New Member

    53
    0
    Nov 18, 2003
    Would somebody be able to post a pyTivo.conf file that is setup for a mixed HD/SD environment?

    I have a TivoHD hooked up to a HDTV and two other Series2 Tivo's hooked up to SDTV's.

    I was able to get pyTivo working correctly for the HDTV (16X9) after reading through suggestions in this thread, but I am unsure how to add/configure the SD settings.

    Thanks!
     

Share This Page