PDA

View Full Version : Calculating ServiceReferences from lamedb



ferret2010
19-09-11, 10:56
Hi...

I'm trying to write a VB.NET program to parse the lamebd file to create a list of Channel Naes Versus ServiceReference.

DreanboxEdit 4 will happily allow you to copy a ServiceRefernce to the clipboard from a menu accessed by right-clicking a channel entry

So, for the ServiceReference for QVC UK on 28.2E (bad example, but familiar) is 1_0_1_1C3E_7E1_2_11A0000_0_0_0 - this is the number you would need to send to the DreamBox to ZAP to channel, send timer info etc.

E.g., usng the Web Interface (Enigma2) and a browser (Firefox in my case), and the IP of my box, the url below changes channel to B4Music

http://192.168.1.74/web/zap?sRef=1:0:1:CBA7:8FE:2:11A0000:0:0:0

In theory, I could work throught the DreamEdit list and right click, copy SeviceRefernce to clipboard, paste to my list...
Not bad for 10 channels, but for a 1000 or more, not an attractive method.

Looking at at the text withing lamedb, the entry for QVC reads:

QVC
p:BSkyB,c:000907,c:010908,c:030906
c73e:011a0000:096b:0002:1:0

Does anybody know how the ServiceReference can be calculated from the lamedb strings?

DreamEdit can do this - I'm just wondering how?

Any help would be appreciated...

Ferret :confused: