Start decoder TV channels with one click in Jellyfin Web

This commit is contained in:
2026-10-11 13:39:25 +02:00
parent a049a63d7a
commit 92052d588f
9 changed files with 140 additions and 10 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ def api(path,data=None,method=None,token=admin):
body=response.read();return json.loads(body) if body else None
report={'checked_utc':datetime.datetime.now(datetime.timezone.utc).isoformat()}
report['plugin']=next(x for x in api('/Plugins') if x['Name']=='Enigma2')
assert report['plugin']['Version']=='7.0.0.0' and report['plugin']['Status']=='Active'
assert report['plugin']['Version']=='7.0.1.0' and report['plugin']['Status']=='Active'
report['epg']=api('/DecoderIntegration/Status')
report['channel_count']=api('/LiveTv/Channels?Limit=0')['TotalRecordCount']
report['timer_count']=api('/LiveTv/Timers?Limit=0')['TotalRecordCount']