Springen naar inhoud


crazyyyk

Lid geworden: 3 okt 2011
Offline Laatste activiteit: 26 jul 2015 17:13
-----

Onderwerpen die ik ben begonnen

Outdated timezones

29 maart 2015 - 07:41

When can we expect you update timezones?

Now it is very outdated.

At least in Russia we miss some timezones which apper an year ago...

 

If openpli team doesn't care about this can you suggest me how I can update timezones by myself?


Parsing ecm.info from wicardd softcam

4 maart 2015 - 12:31

Hi!

Can you modify GetEcmInfo for parsing ecm.info file from wicardd softcam?

Here is an example:

/tmp/ecm.info:

Service: 6593 (Viasat Sport HD)
ECM PID: 0x106B
CAID: 0x0500
Provider: 0x040600
ChID: 0x0000
cw0: 6DA01D9A072D5183
cw1: B56F4F8293C12470
response time: 746 ms decoded by server (www.server.com:4400)

I think it should be something like this:

............
else:
	response = info.get('response time', None)
	if response:
		# wicardd
		t = response.split(' ')
		self.textvalue = t[4] + " (%ss)" % (float(t[0])/1000)
............
decCI = info.get('caid', '0')
if decCI == '0':
	decCI = info.get('CAID', '0')
provid = info.get('prov', '0')
if provid == '0':
	provid = info.get('Provider', '0')
ecmpid = info.get('pid', '0')
if ecmpid == '0':
	ecmpid = info.get('ECM PID', '0')
............