-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Hi!
I'm trying to create a .ch file for enigma2 to stream TV channels.
You can access the bouquet list via an url:
http://enigma2.box/web/getservices?sRef=1%3A7%3A1%3A0%3A0%3A0%3A0%3A0%3A0%3A0%3A(type%20%3D%3D%201)%20%7C%7C%20(type%20%3D%3D%2017)%20%7C%7C%20(type%20%3D%3D%20195)%20%7C%7C%20(type%20%3D%3D%2025)%20FROM%20BOUQUET%20%22bouquets.tv%22%20ORDER%20BY%20bouquet
You'll receive an XML file containing:
<e2service>
<e2servicereference>1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe33.tv" ORDER BY bouquet</e2servicereference>
<e2servicename>Bouquetname</e2servicename>
</e2service>Which should be one folder.
Next URL is:
http://enigma2.box/web/getservices?sRef=1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe33.tv" ORDER BY bouquet <-- unsure if this works without urlencode
You'll receive:
<e2service>
<e2servicereference>1:0:19:526F:41D:1:C00000:0:0:0:</e2servicereference>
<e2servicename>TV Channel</e2servicename>
</e2service>Each entry must be mapped to the File-URL:
http://enigma2.box:8001/1:0:19:526F:41D:1:C00000:0:0:0:
I'm pretty unsure how to realize this with the given .ch style. Is this possible to code? My first problem is the fact that there are line breaks in the XML Files.
Best regards
Thorsten
Metadata
Metadata
Assignees
Labels
No labels