1
0
mirror of https://github.com/fHDHR/fHDHR_NextPVR.git synced 2025-12-06 05:26:57 -05:00
fHDHR_NextPVR/fHDHR_web/templates/xmltv.html

34 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% block content %}
<h4 style="text-align: center;">xmltv</h4>
<div class="container">
<table class="table-medium center action-col">
<tbody>
<tr>
<th>Version</th>
<th>XMLTV Link</th>
<th>EPG Link</th>
<th>Actions</th>
</tr>
{% for epg_method in list(fhdhr.config.dict["epg"]["valid_methods"].keys()) %}
{% if epg_method not in [None, "None"] %}
<tr>
<td> {{ epg_method }}</td>
<td><a href="/api/xmltv?method=get&source={{ epg_method }}">{{ epg_method }}</a></td>
<td><a href="/api/epg?method=get&source={{ epg_method }}">{{ epg_method }}</a></td>
<td>
<button onclick="location.href='/api/xmltv?method=update&source={{ epg_method }}&redirect=/xmltv'" type="button">Update</button>
<button onclick="location.href='/api/xmltv?method=clearcache&source={{ epg_method }}&redirect=/xmltv'" type="button">Clear Cache</button>
</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}