pyTivo Discussion Forum Forum Index pyTivo Discussion Forum
Answers and the development of pyTivo a TiVo transcoding server
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

vAdvisory?

 
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo
 View previous topic :: View next topic  
Author Message
goldfndr



Joined: 18 Mar 2008
Posts: 6

PostPosted: Sat May 17, 2008 6:25 pm    Post subject: vAdvisory? Reply with quote

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
View user's profile Send private message Visit poster's website
MasterCephus



Joined: 04 Jan 2008
Posts: 156
Location: Hueytown, AL

PostPosted: Sat May 17, 2008 8:05 pm    Post subject: Reply with quote

does tivo use this?
_________________
MetaGenerator
pyTivo Manager
Back to top
View user's profile Send private message
goldfndr



Joined: 18 Mar 2008
Posts: 6

PostPosted: Sun May 18, 2008 4:17 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    pyTivo Discussion Forum Forum Index -> pyTivo All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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
Site is in NO WAY affiliated with TiVo Inc

Powered by phpBB © 2001, 2005 phpBB Group
phpBB SEO
[ Time: 0.9934s ][ Queries: 13 (0.6387s) ][ Debug on ]