Still need to skip "_tivo_4K" sections when building list of found TiVos.
[pyTivo/wmcbrine.git] / plugins / video / templates / TvBus.tmpl
blobb4ab62813e28996eb86856c195a7fa7ae4f0fcf2
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">$get_color($video.colorCode)</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 #if $video.episodeNumber
36 <episodeNumber>$escape($video.episodeNumber)</episodeNumber>
37 #end if
38 #if $video.isEpisode != 'false' and $video.episodeTitle
39 <episodeTitle>$escape($video.episodeTitle)</episodeTitle>
40 #end if
41 <vExecProducer>
42 #for $element in $video.vExecProducer
43 <element>$escape($element)</element>
44 #end for
45 </vExecProducer>
46 <vProgramGenre>
47 #for $element in $video.vProgramGenre
48 <element>$escape($element)</element>
49 #end for
50 </vProgramGenre>
51 <vGuestStar>
52 #for $element in $video.vGuestStar
53 <element>$escape($element)</element>
54 #end for
55 </vGuestStar>
56 <vHost>
57 #for $element in $video.vHost
58 <element>$escape($element)</element>
59 #end for
60 </vHost>
61 <isEpisode>$video.isEpisode</isEpisode>
62 #if $video.movieYear
63 <movieYear>$video.movieYear</movieYear>
64 #else
65 <originalAirDate>$video.originalAirDate</originalAirDate>
66 #end if
67 #if $video.mpaaRating
68 <mpaaRating value="$video.mpaaRating">$get_mpaa($video.mpaaRating)</mpaaRating>
69 #end if
70 <vProducer>
71 #for $element in $video.vProducer
72 <element>$escape($element)</element>
73 #end for
74 </vProducer>
75 <series>
76 <isEpisodic>$video.isEpisode</isEpisodic>
77 <vSeriesGenre>
78 #for $element in $video.vSeriesGenre
79 <element>$escape($element)</element>
80 #end for
81 </vSeriesGenre>
82 <seriesTitle>$escape($video.seriesTitle)</seriesTitle>
83 #if $video.seriesId
84 <uniqueId>$video.seriesId</uniqueId>
85 #end if
86 </series>
87 <showType value="$video.showType[1]">$video.showType[0]</showType>
88 #if $video.starRating
89 <starRating value="$video.starRating">$get_stars($video.starRating)</starRating>
90 #end if
91 #if $video.seriesTitle
92 <title>$escape($video.seriesTitle)</title>
93 #else
94 <title>$escape($video.title)</title>
95 #end if
96 <vWriter>
97 #for $element in $video.vWriter
98 <element>$escape($element)</element>
99 #end for
100 </vWriter>
101 #if $video.programId
102 <uniqueId>$video.programId</uniqueId>
103 #end if
104 </program>
105 <channel>
106 <displayMajorNumber>$video.displayMajorNumber</displayMajorNumber>
107 <displayMinorNumber>$video.displayMinorNumber</displayMinorNumber>
108 <callsign>$escape($video.callsign)</callsign>
109 </channel>
110 #if $video.tvRating
111 <tvRating value="$video.tvRating">$get_tv($video.tvRating)</tvRating>
112 #end if
113 </showing>
114 <startTime>$video.startTime</startTime>
115 <stopTime>$video.stopTime</stopTime>
116 </TvBusMarshalledStruct:TvBusEnvelope>