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

Joined: 18 Mar 2008 Posts: 6
|
Posted: Sat May 17, 2008 6:25 pm Post subject: vAdvisory? |
|
|
While editing the MetaData article on the wiki, I was sad to see that vAdvisory wasn't implemented. Here's a diff to implement it:
| Code: |
goldfndr@p5wdh:/home/tivo/pyTivo/wgw/plugins/video/templates$ diff -u TvBus.tmpl.DIST TvBus.tmpl
--- TvBus.tmpl.DIST 2008-05-16 22:17:23.000000000 -0700
+++ TvBus.tmpl 2008-05-17 18:44:11.000000000 -0700
@@ -13,6 +13,9 @@
#end for
</vActor>
<vAdvisory>
+ #for $element in $video.vAdvisory
+ <element value="$element">$element</element>
+ #end for
</vAdvisory>
<vChoreographer>
#for $element in $video.vChoreographer
@@ -105,6 +108,9 @@
#end for
</vActor>
<vAdvisory>
+ #for $element in $video.vAdvisory
+ <element value="$element">$element</element>
+ #end for
</vAdvisory>
<vChoreographer>
#for $element in $video.vChoreographer
goldfndr@p5wdh:/home/tivo/pyTivo/wgw/plugins/video/templates$ |
Works for me with 9.3a on 648. Any possibility of this being adopted? I haven't been mentioning version requirements in the wiki article (but I will probably need to for the title/seriesTitle/episodeTitle solution).
A lot of elements are in as:
<field value="$video.field[1]">$video.field[0]</field>
which requires the value to be two characters, of which the latter is used for the attribute value and the second is data... I'm wondering why these are done this way (e.g. colorCode), when it'd be simpler to use:
<field value="$video.field">$video.field</field>
and not need a leading character, but perhaps there's a historical basis. |
|
| Back to top |
|
 |
MasterCephus

Joined: 04 Jan 2008 Posts: 156 Location: Hueytown, AL
|
|
| Back to top |
|
 |
goldfndr

Joined: 18 Mar 2008 Posts: 6
|
Posted: Sun May 18, 2008 4:17 pm Post subject: |
|
|
Yes, but I've only seen these content advisory indicators for movies. Episodic TV uses the showingBits modifiers; the rating systems are mutually exclusive for V-Chip responses although Tribune may be sending both.
For example, "The 40-Year-Old Virgin" has the following in vActualShowing and showing:
| Code: | <vAdvisory>
<element value="1">LANGUAGE</element>
<element value="3">NUDITY</element>
<element value="8">STRONG_SEXUAL_CONTENT</element>
<element value="10">ADULT_SITUATIONS</element>
</vAdvisory>
| On the TiVo, they are presented as- "Rated NR AL, N, SC, AC." on the Program screen
- "Rated NR AL, N, SC, AC" for Content Rating in Program Details
- "(AL, N, SC, AC)" during playback in the top window (before the showingBits values of "(HD, CC, Letterbox" and media detection of ", 1080i)")
Many movies have these. This example is from a USAHD showing on 2007-12-24. At the start, there's a TV-14-DLS box on-screen during the Universal title sequence but, again, if Tribune sent the TV rating, it was ignored (as far as I can tell). |
|
| 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
|
|