1
0
mirror of https://github.com/fHDHR/fHDHR_NextPVR.git synced 2025-12-06 05:16:58 -05:00
fHDHR_NextPVR/fHDHR/fHDHRweb/fHDHRdevice/debug_json.py
2020-10-08 20:07:26 -04:00

15 lines
352 B
Python

import json
class Debug_JSON():
def __init__(self, settings, origserv, epghandling):
self.config = settings
def get_debug_json(self, base_url, tuners):
debugjson = {
"base_url": base_url,
"available tuners": tuners
}
return json.dumps(debugjson, indent=4)