Use -bsf:v to avoid issues with unsupported audio
[pyTivo/wmcbrine.git] / templates / root_container.tmpl
blobcc40c58521566ebed2be590e19f250a14b1dee19
1 <?xml version="1.0" encoding="utf-8" ?>
2 <TiVoContainer>
3 <Details>
4 <Title>$hostname</Title>
5 <ContentType>x-container/tivo-server</ContentType>
6 <SourceFormat>x-container/folder</SourceFormat>
7 <TotalItems>#echo len($containers) #</TotalItems>
8 </Details>
10 #for $name, $details in $containers
11 #if $name in $renamed
12 #set $title = $renamed[name]
13 #else
14 #set $title = $name
15 #end if
16 <Item>
17 <Details>
18 <Title>$escape($title)</Title>
19 <ContentType>$escape($details.content_type)</ContentType>
20 <SourceFormat>x-container/folder</SourceFormat>
21 </Details>
22 <Links>
23 <Content>
24 <Url>/TiVoConnect?Command=QueryContainer&amp;Container=$quote($name)</Url>
25 <ContentType>$escape($details.content_type)</ContentType>
26 </Content>
27 </Links>
28 </Item>
29 #end for
31 <ItemStart>0</ItemStart>
32 <ItemCount>#echo len($containers) #</ItemCount>
33 </TiVoContainer>