 |
pyTivo Discussion Forum Answers and the development of pyTivo a TiVo transcoding server
|
|
| Author |
Message |
MasterCephus

Joined: 04 Jan 2008 Posts: 173 Location: Hueytown, AL
|
Posted: Sat Jan 05, 2008 3:26 pm Post subject: MetaGenerator Release Notes (LOCKED) |
|
|
MetaGenerator is a GUI application that will allow the user to search online data and create metadata for pyTivo shared files.
This thread is for general discussion and support for this application.
To learn more about MetaGenerator please view the wiki here
To get the latest version of the application, click here
EDIT:
---------
NEW VERSION: 1.6.0.2
enhancement(s)
-re-enabled the find seriesID button in the View MetaData window
-re-added episodeTitle to the output file of a tv show
1.6.0.1
enhancement(s)
-removed the count button for showingBits and added label to show total
fixed bug(s)
-fixed problem of entire season export not putting episode number in files
1.6.0.0
enhancement(s)
-showingBits are now available
-added ability to modify list of actors, writers, directors, & genres
-seriesID only comes from tvdb.com
fixed bug(s)
-remove non printable characters from output of text file
-fixed the seriesTitle writing to file properly
-fixed problem with movies and seriesTitles and episodeTitles
1.5.0.0
enhancement(s)
-movie data now available
1.4.0.3
fixed bug(s)
-fixed problem with selecting an episode not giving proper data
enhancement(s)
-add *.mkv & *.ogm in the supported video files
1.4.0.1
fixed bug(s)
-fixed problem searching for TV series
1.4.0.0
fixed bug(s)
-fixed searching for tv show and movie at the same time
enhancement(s)
-transitioned to new tvdb.com interfaces
-SeriesID obtained from tvdb.com data and not from local db
1.3.0.6
fixed bug(s)
-searching for series ID returned incorrect results sometimes
1.3.0.5
fixed bug(s)
-fixed the missing 'x' in the stars field in metadata file
1.3.0.4:
fixed bug(s)
-fixed click select series more than once on a tv show in a search causes episode duplication
-fixed problem if option of giving stars is set but movie has no IMDB data
1.3.0.3:
fixed bug(s)
-fixed double clicking more than once on a tv show in a search causes episode duplication
Version 1.3.2
fixed bug(s)
-fixed searches with apostrophes
-fixed movieYear not writing to metadata file
added feature(s)
-updating file version to current release
-user can now see version number in the About form
-updated the large series ID database to handle
removed feature(s)
-removed the ability to choose between a small seriesID DB and a large one
-------
I haven't had a chance to thoroughly test this, so let me know if you find anything. _________________ MetaGenerator
pyTivo Manager
Last edited by MasterCephus on Mon Dec 01, 2008 10:20 am; edited 19 times in total |
|
| Back to top |
|
 |
GCymbala Guest
|
Posted: Sun Jan 06, 2008 9:37 pm Post subject: Is this still available? |
|
|
Hmmm... Went to http://www.mediafire.com/download.php?8z34hkxjobl and keep getting this:
"NOTICE: No servers are currently available with the requested data on them. Please retry your request in a moment." |
|
| Back to top |
|
 |
MasterCephus

Joined: 04 Jan 2008 Posts: 173 Location: Hueytown, AL
|
Posted: Mon Jan 07, 2008 5:37 am Post subject: |
|
|
For some reason it wasn't working...
I deleted it and added it back, but I am still getting the errors...
I submitted a help ticket at mediafire. Maybe something can get fixed fast... _________________ MetaGenerator
pyTivo Manager |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jan 07, 2008 1:33 pm Post subject: |
|
|
| Any possibility you could post your metadata generator on this board? |
|
| Back to top |
|
 |
MasterCephus

Joined: 04 Jan 2008 Posts: 173 Location: Hueytown, AL
|
Posted: Tue Jan 08, 2008 7:33 am Post subject: |
|
|
I am putting together a list of additions for the next version of the MetaGenerator.
I would like to add for sure these items
-A button in the ViewMetaData form that will extend the form and allow the user to add/change the following items:
--OriginalAirDate
--displayMajorNumber
--callsign
--showingBits
--episodeNumber (if TV show)
--tvRating
Now with TV rating, I was wondering if we could some type of mapping from film ratings.
Also, there was some discussion about the stars, anyone have any ideas if that was put into to the newest release? _________________ MetaGenerator
pyTivo Manager |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 514
|
Posted: Tue Jan 08, 2008 9:53 am Post subject: |
|
|
| MasterCephus wrote: | Now with TV rating, I was wondering if we could some type of mapping from film ratings. |
If you're doing movie ratings, you should use the "mpaaRating" tag. But, sure, you should map as well -- I'm thinking R = TV-MA, PG-13 = TV-14, PG = TV-PG, and G = TV-G, although that isn't necessarily the mapping that Tivo/Tribune uses. (I've seen at least one R that was also tagged TV-14.)
| Quote: | Also, there was some discussion about the stars, anyone have any ideas if that was put into to the newest release? |
No, it wasn't. But I can add it to mine... |
|
| Back to top |
|
 |
MasterCephus

Joined: 04 Jan 2008 Posts: 173 Location: Hueytown, AL
|
Posted: Tue Jan 08, 2008 11:05 am Post subject: |
|
|
| Quote: | If you're doing movie ratings, you should use the "mpaaRating" tag. |
So that's already there? That wasn't in the MetaData page. I created that page, but I got the data from somewhere else...
If that's there, then if it's a movie, I could use the mpaaRating and if a TV Episode, then use the tvRatings.
| Quote: | No, it wasn't. But I can add it to mine... |
That would be great! I guess I need to create a ticket to add it to the newest stuff everyone is working on?
I don't think everyone has gotten together and created some type of organization for releases yet....
That's going to be difficult to do...probably impossible to do...
EDIT:
You seem to know a ton about python, can you tell me which files to look for what pyTivo serves the Tivo for metadata?
I would like to have a 'de facto' list of items so I know I can offer it up to users. _________________ MetaGenerator
pyTivo Manager |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 514
|
Posted: Tue Jan 08, 2008 11:50 am Post subject: |
|
|
| MasterCephus wrote: | | Quote: | If you're doing movie ratings, you should use the "mpaaRating" tag. |
So that's already there? |
No, I'd have to add that, too.
| Quote: | If that's there, then if it's a movie, I could use the mpaaRating and if a TV Episode, then use the tvRatings. |
I'd keep tvRating in, even if you have an mpaaRating -- only because that's what Tivo does. I don't know if it's needed for anything (parental controls?).
| Quote: | You seem to know a ton about python, |
Thanks. But, really, I've only been at it since November. Then again, I've been programming since the 80's.
| Quote: | can you tell me which files to look for what pyTivo serves the Tivo for metadata? |
I'm guessing you're looking for the templates. Most of the tags are in plugins/video/templates/TvBus.tmpl. Note that this is a mix of XML and the Cheetah template language, which is Python-like, but it's not quite the same. The templates are pretty straightforward, though. I was hacking on the other one (container.tmpl) before I really took up Python. |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 514
|
Posted: Tue Jan 08, 2008 1:19 pm Post subject: |
|
|
| OK, I put dlfl's patch for the star rating in my repository. But so far, I can't get mpaaRating to work. :/ |
|
| Back to top |
|
 |
MasterCephus

Joined: 04 Jan 2008 Posts: 173 Location: Hueytown, AL
|
Posted: Tue Jan 08, 2008 1:46 pm Post subject: |
|
|
Where is the list of metadata items that Tivo accepts?
I mean we can find what pyTivo can send through the files you said...where is the list of accepting metadata variables located? _________________ MetaGenerator
pyTivo Manager |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 514
|
Posted: Tue Jan 08, 2008 2:29 pm Post subject: |
|
|
| MasterCephus wrote: | Where is the list of metadata items that Tivo accepts?
I mean we can find what pyTivo can send through the files you said...where is the list of accepting metadata variables located? |
There isn't one. It's undocumented. You have to query the Tivo yourself to see what it provides. Example:
I start by asking my Tivo, dhcp4, for a list of all the videos it has:
https://dhcp4/TiVoConnect?Command=QueryContainer&Container=/NowPlaying
(Username "tivo", password is your MAK.) Now, among the results, I see this:
| Code: | <Item>
<Details>
<ContentType>video/x-tivo-raw-tts</ContentType>
<SourceFormat>video/x-tivo-raw-tts</SourceFormat>
<Title>Bridge to Terabithia</Title>
<SourceSize>10504634368</SourceSize>
<Duration>5999000</Duration>
<CaptureDate>0x47835EB6</CaptureDate>
<Description>
A boy and his new friend, the class outsider, create an imaginary world in which they rule as king and queen. Based on the novel by Katherine Paterson. Copyright Tribune Media Services, Inc.
</Description>
<SourceChannel>855</SourceChannel>
<SourceStation>STARZHD</SourceStation>
<HighDefinition>Yes</HighDefinition>
<ProgramId>MV1840330000</ProgramId>
<ByteOffset>0</ByteOffset>
</Details>
<Links>
<Content>
<Url>
http://dhcp4:80/download/Bridge%20to%20Terabithia.TiVo?Container=%2FNowPlaying&id=1296855
</Url>
<ContentType>video/x-tivo-raw-tts</ContentType>
</Content>
<TiVoVideoDetails>
<Url>https://dhcp4:443/TiVoVideoDetails?id=1296855</Url>
<ContentType>text/xml</ContentType>
<AcceptsParams>No</AcceptsParams>
</TiVoVideoDetails>
</Links>
</Item>
|
(The tags in this section are the ones usable in the container template.) I want to find out more about it, so I follow the link in the VideoDetails section:
https://dhcp4:443/TiVoVideoDetails?id=1296855
and get this:
| Code: | <TvBusMarshalledStruct:TvBusEnvelope xs:schemaLocation="http://tivo.com/developer/xml/idl/TvBusMarshalledStruct TvBusMarshalledStruct.xsd http://tivo.com/developer/xml/idl/TvPgdRecording TvPgdRecording.xsd http://tivo.com/developer/xml/idl/TvBusDuration TvBusDuration.xsd http://tivo.com/developer/xml/idl/TvPgdShowing TvPgdShowing.xsd http://tivo.com/developer/xml/idl/TvDbShowingBit TvDbShowingBit.xsd http://tivo.com/developer/xml/idl/TvBusDateTime TvBusDateTime.xsd http://tivo.com/developer/xml/idl/TvPgdProgram TvPgdProgram.xsd http://tivo.com/developer/xml/idl/TvDbAdvisory TvDbAdvisory.xsd http://tivo.com/developer/xml/idl/TvDbColorCode TvDbColorCode.xsd http://tivo.com/developer/xml/idl/TvDbMpaa TvDbMpaa.xsd http://tivo.com/developer/xml/idl/TvPgdSeries TvPgdSeries.xsd http://tivo.com/developer/xml/idl/TvDbStar TvDbStar.xsd http://tivo.com/developer/xml/idl/TvPgdChannel TvPgdChannel.xsd http://tivo.com/developer/xml/idl/TvDbBitstreamFormat TvDbBitstreamFormat.xsd" xs:type="TvPgdRecording:TvPgdRecording">
<recordedDuration>PT1H39M59S</recordedDuration>
<vActualShowing>
<element>
<showingBits value="4131"/>
<time>2008-01-08T11:30:00Z</time>
<duration>PT1H40M</duration>
<program>
<vActor>
<element>Hutcherson|Josh</element>
<element>Robb|AnnaSophia</element>
<element>Deschanel|Zooey</element>
<element>Patrick|Robert</element>
<element>Clinton|Lauren</element>
<element>Cerio|Katrina</element>
<element>Madison|Bailee</element>
<element>Wood|Devon</element>
<element>Wakefield|Cameron</element>
<element>Lawless|Elliott</element>
<element>Kircher|Isabelle Rose</element>
<element>Gaines|Latham</element>
<element>Owen|Carly</element>
</vActor>
<vAdvisory>
<element value="1">LANGUAGE</element>
<element value="10">ADULT_SITUATIONS</element>
</vAdvisory>
<vChoreographer/>
<colorCode value="4">COLOR</colorCode>
<country>United States</country>
<description>
A boy and his new friend, the class outsider, create an imaginary world in which they rule as king and queen. Based on the novel by Katherine Paterson. Copyright Tribune Media Services, Inc.
</description>
<vDirector>
<element>Csupo|Gabor</element>
</vDirector>
<vExecProducer/>
<vProgramGenre>
<element>Fantasy</element>
</vProgramGenre>
<vGuestStar/>
<vHost/>
<isEpisode>true</isEpisode>
<movieRunTime>PT1M36S</movieRunTime>
<movieYear>2007</movieYear>
<mpaaRating value="2">PG</mpaaRating>
<vProducer>
<element>Lieberman|Hal</element>
<element>Levine|Lauren</element>
</vProducer>
<series>
<isEpisodic>false</isEpisodic>
<vSeriesGenre>
<element>Fantasy</element>
<element>Movies</element>
<element>Sci-Fi and Fantasy</element>
</vSeriesGenre>
<seriesTitle>Bridge to Terabithia</seriesTitle>
</series>
<starRating value="5">THREE</starRating>
<title>Bridge to Terabithia</title>
<vWriter>
<element>Paterson|David</element>
<element>Stockwell|Jeff</element>
<element>Wade|Kevin</element>
</vWriter>
</program>
</element>
</vActualShowing>
<vBookmark/>
<showing>
<showingBits value="4131"/>
<time>2008-01-08T11:30:00Z</time>
<duration>PT1H40M</duration>
<program>
<vActor>
<element>Hutcherson|Josh</element>
<element>Robb|AnnaSophia</element>
<element>Deschanel|Zooey</element>
<element>Patrick|Robert</element>
<element>Clinton|Lauren</element>
<element>Cerio|Katrina</element>
<element>Madison|Bailee</element>
<element>Wood|Devon</element>
<element>Wakefield|Cameron</element>
<element>Lawless|Elliott</element>
<element>Kircher|Isabelle Rose</element>
<element>Gaines|Latham</element>
<element>Owen|Carly</element>
</vActor>
<vAdvisory>
<element value="1">LANGUAGE</element>
<element value="10">ADULT_SITUATIONS</element>
</vAdvisory>
<vChoreographer/>
<colorCode value="4">COLOR</colorCode>
<country>United States</country>
<description>
A boy and his new friend, the class outsider, create an imaginary world in which they rule as king and queen. Based on the novel by Katherine Paterson. Copyright Tribune Media Services, Inc.
</description>
<vDirector>
<element>Csupo|Gabor</element>
</vDirector>
<vExecProducer/>
<vProgramGenre>
<element>Fantasy</element>
</vProgramGenre>
<vGuestStar/>
<vHost/>
<isEpisode>true</isEpisode>
<movieRunTime>PT1M36S</movieRunTime>
<movieYear>2007</movieYear>
<mpaaRating value="2">PG</mpaaRating>
<vProducer>
<element>Lieberman|Hal</element>
<element>Levine|Lauren</element>
</vProducer>
<series>
<isEpisodic>false</isEpisodic>
<vSeriesGenre>
<element>Fantasy</element>
<element>Movies</element>
<element>Sci-Fi and Fantasy</element>
</vSeriesGenre>
<seriesTitle>Bridge to Terabithia</seriesTitle>
</series>
<starRating value="5">THREE</starRating>
<title>Bridge to Terabithia</title>
<vWriter>
<element>Paterson|David</element>
<element>Stockwell|Jeff</element>
<element>Wade|Kevin</element>
</vWriter>
</program>
<channel>
<callsign/>
</channel>
</showing>
<startTime>2008-01-08T11:29:58Z</startTime>
<stopTime>2008-01-08T13:10:00Z</stopTime>
<bitstreamFormat>
<vFormat>
<element>
<vByte>
<base64>EjQAAwABAjoBywxXAAAADwAAAAQAAAACAAAAAwAAAA==</base64>
</vByte>
</element>
</vFormat>
</bitstreamFormat>
<expirationTime>2008-01-10T11:30:00Z</expirationTime>
</TvBusMarshalledStruct:TvBusEnvelope>
|
(The tags in this section are the ones usable in the TvBus template.) Of course, that's just one movie -- it doesn't show all the possible tags. So you have to look at some more entries.
Another approach is to extract the XML from a .TiVo file; you can do that with tivodecode. It has the same info.
Last edited by wmcbrine on Wed Jan 09, 2008 3:24 am; edited 1 time in total |
|
| Back to top |
|
 |
msteinkoenig
Joined: 07 Jan 2008 Posts: 10 Location: Austin, TX
|
Posted: Tue Jan 08, 2008 3:24 pm Post subject: Feature Requests |
|
|
| MasterCephus wrote: | I am putting together a list of additions for the next version of the MetaGenerator.
.....
|
I just downloaded this and have been using it to put data on my shows and movies. Any chance you could add:
* .mpeg to the default files of type when selecting the video files?
* An option to disable the confirmation of writing the .txt file
* Ability to add more than one video directory
* A pull down above the "TV Shows" and "Movies" tab could allow selecting the video directory to use
* Ability to search with 'and' or 'or' in movies and ability to set this default in config (or remember it after it is changed)
* When a list of movies comes back could you put in parenthesis the first 3-4 actors? This would make finding some movies that are listed multiple times easier.
* Ability to make the meta generator window resizeable
* buttons to auto expand all episodes in a TV show, when searching through 6-10 seasons can take a while. Maybe a search box at the top of the episodes list that could simplify finding an episode
* When searching for "Blue's Clues" TV show under each season every episode is listed 3 times, it turns out if you double click the show name on the left box multiple times each double click duplicates the episodes on the right
* Is there a way to add a generic SeriesID to a movie? Like SH696969 top denote movies. I want all my movies to show up in one folder on the Tivo.
I will play with it more later |
|
| Back to top |
|
 |
wmcbrine

Joined: 04 Jan 2008 Posts: 514
|
Posted: Tue Jan 08, 2008 4:59 pm Post subject: Re: Feature Requests |
|
|
| msteinkoenig wrote: | * Is there a way to add a generic SeriesID to a movie? Like SH696969 top denote movies. I want all my movies to show up in one folder on the Tivo. |
You can't arbitrarily create series IDs. You have to use real ones that are already known to the Tivo. |
|
| Back to top |
|
 |
msteinkoenig
Joined: 07 Jan 2008 Posts: 10 Location: Austin, TX
|
Posted: Tue Jan 08, 2008 7:32 pm Post subject: Re: Feature Requests |
|
|
| wmcbrine wrote: | | msteinkoenig wrote: | * Is there a way to add a generic SeriesID to a movie? Like SH696969 top denote movies. I want all my movies to show up in one folder on the Tivo. |
You can't arbitrarily create series IDs. You have to use real ones that are already known to the Tivo. |
But could I use series IDs that already exist that I am pretty sure I don't watch but would help me categorize my shows/movies? For instance:
Kids Corner SH911668
Christmas Videos SH205556
Movie SH047539
Home Movies SH298935
Cartoon Cartoon SH281837 |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Jan 08, 2008 7:36 pm Post subject: |
|
|
| Thanks for the updates to the MetaGenerator MasterCephus - the recent updates were exactly what I was looking for. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|