Initial Commit
[Projects.git] / pkgbuilds / pytivo / pkg / usr / share / pyTivo / plugins / video / templates / TvBus.tmpl
blobedf29b5fda933e6fe1f96431e243279eae176b92
1 <?xml version="1.0" encoding="utf-8"?>
2 <TvBusMarshalledStruct:TvBusEnvelope xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xmlns:TvBusMarshalledStruct="http://tivo.com/developer/xml/idl/TvBusMarshalledStruct" xmlns:TvPgdRecording="http://tivo.com/developer/xml/idl/TvPgdRecording" xmlns:TvBusDuration="http://tivo.com/developer/xml/idl/TvBusDuration" xmlns:TvPgdShowing="http://tivo.com/developer/xml/idl/TvPgdShowing" xmlns:TvDbShowingBit="http://tivo.com/developer/xml/idl/TvDbShowingBit" xmlns:TvBusDateTime="http://tivo.com/developer/xml/idl/TvBusDateTime" xmlns:TvPgdProgram="http://tivo.com/developer/xml/idl/TvPgdProgram" xmlns:TvDbColorCode="http://tivo.com/developer/xml/idl/TvDbColorCode" xmlns:TvPgdSeries="http://tivo.com/developer/xml/idl/TvPgdSeries" xmlns:TvDbShowType="http://tivo.com/developer/xml/idl/TvDbShowType" xmlns:TvPgdChannel="http://tivo.com/developer/xml/idl/TvPgdChannel" xmlns:TvDbTvRating="http://tivo.com/developer/xml/idl/TvDbTvRating" xmlns:TvDbRecordQuality="http://tivo.com/developer/xml/idl/TvDbRecordQuality" xmlns:TvDbBitstreamFormat="http://tivo.com/developer/xml/idl/TvDbBitstreamFormat" 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/TvDbColorCode TvDbColorCode.xsd http://tivo.com/developer/xml/idl/TvPgdSeries TvPgdSeries.xsd http://tivo.com/developer/xml/idl/TvDbShowType TvDbShowType.xsd http://tivo.com/developer/xml/idl/TvPgdChannel TvPgdChannel.xsd http://tivo.com/developer/xml/idl/TvDbTvRating TvDbTvRating.xsd http://tivo.com/developer/xml/idl/TvDbRecordQuality TvDbRecordQuality.xsd http://tivo.com/developer/xml/idl/TvDbBitstreamFormat TvDbBitstreamFormat.xsd" xs:type="TvPgdRecording:TvPgdRecording">
3 <recordedDuration>$video.iso_duration</recordedDuration>
4 <vActualShowing/>
5 <vBookmark/>
6 <recordingQuality value="75">HIGH</recordingQuality>
7 <showing>
8 <showingBits value="$video.showingBits"/>
9 <time>$video.time</time>
10 <duration>$video.iso_duration</duration>
11 #if $video.partCount and $video.partIndex
12 <partCount>$video.partCount</partCount>
13 <partIndex>$video.partIndex</partIndex>
14 #end if
15 <program>
16 <vActor>
17 #for $element in $video.vActor
18 <element>$escape($element)</element>
19 #end for
20 </vActor>
21 <vAdvisory>
22 </vAdvisory>
23 <vChoreographer>
24 #for $element in $video.vChoreographer
25 <element>$escape($element)</element>
26 #end for
27 </vChoreographer>
28 <colorCode value="$video.colorCode[1]">$video.colorCode[0]</colorCode>
29 <description>$escape($video.description)</description>
30 <vDirector>
31 #for $element in $video.vDirector
32 <element>$escape($element)</element>
33 #end for
34 </vDirector>
35 <episodeNumber>$escape($video.episodeNumber)</episodeNumber>
36 #if $video.isEpisode != 'false' and $video.episodeTitle
37 <episodeTitle>$escape($video.episodeTitle)</episodeTitle>
38 #end if
39 <vExecProducer>
40 #for $element in $video.vExecProducer
41 <element>$escape($element)</element>
42 #end for
43 </vExecProducer>
44 <vProgramGenre>
45 #for $element in $video.vProgramGenre
46 <element>$escape($element)</element>
47 #end for
48 </vProgramGenre>
49 <vGuestStar>
50 #for $element in $video.vGuestStar
51 <element>$escape($element)</element>
52 #end for
53 </vGuestStar>
54 <vHost>
55 #for $element in $video.vHost
56 <element>$escape($element)</element>
57 #end for
58 </vHost>
59 <isEpisode>$video.isEpisode</isEpisode>
60 #if $video.movieYear
61 <movieYear>$video.movieYear</movieYear>
62 #else
63 <originalAirDate>$video.originalAirDate</originalAirDate>
64 #end if
65 #if $video.mpaaRating
66 <mpaaRating value="$video.mpaaRating[1]">$video.mpaaRating[0]</mpaaRating>
67 #end if
68 <vProducer>
69 #for $element in $video.vProducer
70 <element>$escape($element)</element>
71 #end for
72 </vProducer>
73 <series>
74 <isEpisodic>$video.isEpisode</isEpisodic>
75 <vSeriesGenre>
76 #for $element in $video.vSeriesGenre
77 <element>$escape($element)</element>
78 #end for
79 </vSeriesGenre>
80 <seriesTitle>$escape($video.seriesTitle)</seriesTitle>
81 </series>
82 <showType value="$video.showType[1]">$video.showType[0]</showType>
83 #if $video.starRating
84 <starRating value="$video.starRating[1]">$video.starRating[0]</starRating>
85 #end if
86 #if $video.seriesTitle
87 <title>$escape($video.seriesTitle)</title>
88 #else
89 <title>$escape($video.title)</title>
90 #end if
91 <vWriter>
92 #for $element in $video.vWriter
93 <element>$escape($element)</element>
94 #end for
95 </vWriter>
96 </program>
97 <channel>
98 <displayMajorNumber>$video.displayMajorNumber</displayMajorNumber>
99 <displayMinorNumber>$video.displayMinorNumber</displayMinorNumber>
100 <callsign>$escape($video.callsign)</callsign>
101 </channel>
102 <tvRating value="$video.tvRating[1]">$video.tvRating[0]</tvRating>
103 </showing>
104 <startTime>$video.startTime</startTime>
105 <stopTime>$video.stopTime</stopTime>
106 </TvBusMarshalledStruct:TvBusEnvelope>