mirror of
https://github.com/fHDHR/fHDHR_NextPVR.git
synced 2025-12-06 08:16:58 -05:00
20 lines
505 B
Python
20 lines
505 B
Python
from flask import request, render_template, session
|
|
|
|
|
|
class xmlTV_HTML():
|
|
endpoints = ["/xmltv", "/xmltv.html"]
|
|
endpoint_name = "page_xmltv_html"
|
|
endpoint_access_level = 1
|
|
endpoint_category = "tool_pages"
|
|
pretty_name = "xmltv"
|
|
|
|
def __init__(self, fhdhr):
|
|
self.fhdhr = fhdhr
|
|
|
|
def __call__(self, *args):
|
|
return self.get(*args)
|
|
|
|
def get(self, *args):
|
|
|
|
return render_template('xmltv.html', request=request, session=session, fhdhr=self.fhdhr, list=list)
|