summaryrefslogtreecommitdiff
path: root/roles/kodi/config/templates/sources.xml.j2
blob: 0ae09b746851e76e894a9c8469363d48f12af82a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<sources>
{% for source_type in ['programs', 'video', 'music', 'pictures', 'files', 'games']  %}
    <{{ source_type }}>
        <default pathversion="1"></default>
{%   for source in kodi_config_sources[source_type] | default([]) %}
        <source>
            <name>{{ source.name }}</name>
            <path pathversion="1">{{ source.path }}</path>
            <allowsharing>true</allowsharing>
        </source>
{%   endfor %}
    </{{ source_type }}>
{% endfor %}
</sources>