SharkHunter/Channel — Issue #14: .ch file support for enigma2 boxes
Author: thabich
Created: 2012-02-02 20:45:24+00:00
State: open

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:

1:7:1:0:0:0:0:0:0:0:FROM BOUQUET "userbouquet.dbe33.tv" ORDER BY bouquet
Bouquetname

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:

1:0:19:526F:41D:1:C00000:0:0:0:
TV Channel

For each channel which 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.

Sorry for writing it as an issue but I didn't find a better place for requesting.

Best regards

Thorsten