]> git.0d.be Git - django-panik-nonstop.git/blob - nonstop/templates/nonstop/soma_palinsesti.xml
aed55922668a8e76fbac34ddc62faba7bae95624
[django-panik-nonstop.git] / nonstop / templates / nonstop / soma_palinsesti.xml
1 {% load l10n nonstop %}
2 {% localize off %}
3 <Palinsesto>
4   <Description color="#FF0000">{{ episode.emission.title|somafix }} - {{ episode.title|somafix }}</Description>
5
6   <Priority>1</Priority>
7   <Start>{{ start|date:"Y-m-d x H:i" }}</Start>
8   <Stop>{{ end|date:"Y-m-d x H:i" }}</Stop>
9   <TimeContinued>1</TimeContinued>
10   <SpotController>0</SpotController>
11
12   {% if streamed_diffusion %}
13   <Type>stream</Type>
14      {% if streamed_diffusion.jingle %}
15     <Jingle>:/nonstop/SPOTS/{{ streamed_diffusion.jingle.file_path }}</Jingle>
16     {% else %}
17     <Jingle/>
18     {% endif %}
19     <Stream>{{streamed_diffusion.stream.url}}</Stream>
20   {% else %}
21   <Type>files</Type>
22   <Jingle>:/nonstop/SPOTS/jingles panik/H_ecoutez_RP_zoe_1.wav</Jingle>
23   <Stream></Stream>
24   {% endif %}
25
26
27   <Module></Module>
28   <ModuleData></ModuleData>
29
30   <Random>0</Random>
31   {% if streamed_diffusion %}
32   <SoftStop>0</SoftStop>
33   {% else %}
34   <SoftStop>1</SoftStop>
35   {% endif %}
36
37   <RatioSong>10</RatioSong>
38   <RatioSpot>2</RatioSpot>
39
40   <PathSong>
41     <item>:/nonstop/{{ diffusion_path }}/</item>
42   </PathSong>
43
44   <PathSpot>
45   </PathSpot>
46
47 </Palinsesto>
48 {% endlocalize %}