1 <?xml version=
"1.0" encoding=
"ISO-8859-1" ?>
2 <?xml-stylesheet type=
"text/xsl" href=
"/TiVoConnect?Command=XSL&Container=$quote($name)"?>
5 #for $tivo in $tivo_names
7 <Tivo>$tivo_names[$tivo]
</Tivo>
11 <ItemStart>$start
</ItemStart>
12 <ItemCount>#echo len($videos) #
</ItemCount>
14 <Title>$escape($name)
</Title>
15 <ContentType>x-container/tivo-videos
</ContentType>
16 <SourceFormat>x-container/folder
</SourceFormat>
17 <TotalItems>$total
</TotalItems>
18 <UniqueId>$crc($guid + $name)
</UniqueId>
20 #for $video in $videos
24 <Title>$escape($video.title)
</Title>
25 <ContentType>x-container/folder
</ContentType>
26 <SourceFormat>x-tivo-container/tivo-dvr
</SourceFormat>
27 <UniqueId>$crc($guid + $video.title)
</UniqueId>
28 <TotalItems>$video.total_items
</TotalItems>
32 <Url>/TiVoConnect?Command=QueryContainer
&Container=$quote($container)/$quote($video.id)
</Url>
33 <ContentType>x-tivo-container/folder
</ContentType>
40 <Title>$escape($video.title)
</Title>
41 <ContentType>video/x-tivo-mpeg
</ContentType>
42 <SourceFormat>video/x-ms-wmv
</SourceFormat>
43 <SourceSize>$video.size
</SourceSize>
44 <Duration>$video.milliseconds
</Duration>
45 <Description>$escape($video.description)
</Description>
46 <SourceChannel>$escape($video.channelnumber)
</SourceChannel>
47 <SourceStation>$escape($video.channelname)
</SourceStation>
48 <SeriesId>$video.seriesId
</SeriesId>
49 #if $video.isEpisode != 'false' and ($video.episodeTitle or $video.seriesTitle)
50 #if $video.episodeTitle
51 <EpisodeTitle>$escape($video.episodeTitle)
</EpisodeTitle>
53 <EpisodeTitle>$escape($video.title)
</EpisodeTitle>
56 #if not $video.playable
57 <CopyProtected>Yes
</CopyProtected>
62 <ContentType>video/x-tivo-mpeg
</ContentType>
63 <AcceptsParams>No
</AcceptsParams>
64 <Url>/$quote($container)/$quote($video.id)
</Url>
67 <ContentType>video/*
</ContentType>
68 <AcceptsParams>No
</AcceptsParams>
69 <Url>urn:tivo:image:save-until-i-delete-recording
</Url>
72 <ContentType>text/xml
</ContentType>
73 <AcceptsParams>No
</AcceptsParams>
74 <Url>/TiVoConnect?Command=TVBusQuery
&Container=$quote($container)
&id=$quote($video.id)
</Url>
77 <Container>$escape($container)
</Container>
78 <id>$escape($video.id)
</id>
80 <Watch>http://www.youtube.com/watch?v=$video.id
</Watch>