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>
6 <recordingQuality value=
"75">HIGH
</recordingQuality>
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>
17 #for $element in $video.vActor
18 <element>$escape($element)
</element>
24 #for $element in $video.vChoreographer
25 <element>$escape($element)
</element>
28 <colorCode value=
"$video.colorCode">$get_color($video.colorCode)
</colorCode>
29 <description>$escape($video.description)
</description>
31 #for $element in $video.vDirector
32 <element>$escape($element)
</element>
35 #if $video.episodeNumber
36 <episodeNumber>$escape($video.episodeNumber)
</episodeNumber>
38 #if $video.isEpisode != 'false' and $video.episodeTitle
39 <episodeTitle>$escape($video.episodeTitle)
</episodeTitle>
42 #for $element in $video.vExecProducer
43 <element>$escape($element)
</element>
47 #for $element in $video.vProgramGenre
48 <element>$escape($element)
</element>
52 #for $element in $video.vGuestStar
53 <element>$escape($element)
</element>
57 #for $element in $video.vHost
58 <element>$escape($element)
</element>
61 <isEpisode>$video.isEpisode
</isEpisode>
63 <movieYear>$video.movieYear
</movieYear>
65 <originalAirDate>$video.originalAirDate
</originalAirDate>
68 <mpaaRating value=
"$video.mpaaRating">$get_mpaa($video.mpaaRating)
</mpaaRating>
71 #for $element in $video.vProducer
72 <element>$escape($element)
</element>
76 <isEpisodic>$video.isEpisode
</isEpisodic>
78 #for $element in $video.vSeriesGenre
79 <element>$escape($element)
</element>
82 <seriesTitle>$escape($video.seriesTitle)
</seriesTitle>
84 <uniqueId>$video.seriesId
</uniqueId>
87 <showType value=
"$video.showType[1]">$video.showType[
0]
</showType>
89 <starRating value=
"$video.starRating">$get_stars($video.starRating)
</starRating>
91 #if $video.seriesTitle
92 <title>$escape($video.seriesTitle)
</title>
94 <title>$escape($video.title)
</title>
97 #for $element in $video.vWriter
98 <element>$escape($element)
</element>
102 <uniqueId>$video.programId
</uniqueId>
106 <displayMajorNumber>$video.displayMajorNumber
</displayMajorNumber>
107 <displayMinorNumber>$video.displayMinorNumber
</displayMinorNumber>
108 <callsign>$escape($video.callsign)
</callsign>
111 <tvRating value=
"$video.tvRating">$get_tv($video.tvRating)
</tvRating>
114 <startTime>$video.startTime
</startTime>
115 <stopTime>$video.stopTime
</stopTime>
116 </TvBusMarshalledStruct:TvBusEnvelope>