Jump to content


Photo

Service info - ECM info MOD


  • Please log in to reply
30 replies to this topic

#1 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 29 May 2017 - 00:54

Show which CAID, PROV, and ECM PID is being used.

 

Attached File  ecmpids.jpg   110.06KB   39 downloads

 

 

:rolleyes:  :rolleyes:  :rolleyes:

 

 

I don't know if It could be done better, or easier, my limited python  knownledge has done this:

 

 

Last function of ServiceInfo.py:

	def ShowECMInformation(self):
		from Components.Converter.PliExtraInfo import caid_data
		from Tools.GetEcmInfo import GetEcmInfo
		self["Title"].text = _("Service info - ECM Info")
		tlist = []
		self.ecmdata = GetEcmInfo()
		data = self.ecmdata.getEcmData()
		currentecmpid = data[3][2:]
		for caid in sorted(set(self.info.getInfoObject(iServiceInformation.sCAIDPIDs)), key=lambda x: (x[0], x[1])):
			CaIdDescription = _("Undefined")
			extra_info = ""
			for caid_entry in caid_data:
				if int(caid_entry[0], 16) <= caid[0] <= int(caid_entry[1], 16):
					CaIdDescription = caid_entry[2]
					break
			if caid[2]:
				provid = ""
				if CaIdDescription == "Seca":
					provid = caid[2][:4]
				if CaIdDescription == "Nagra":
					provid = caid[2][-4:]
				if CaIdDescription == "Via":
					provid = caid[2][-6:]
				if provid:
					extra_info = "provid=%s" % provid
				else:
					extra_info = "extra data=%s" % caid[2]
			ecmpid = "%04X" % caid[1]
                        if ecmpid == currentecmpid:
				tlist.append(ServiceInfoListEntry("\c00??;?00*** ECMPid %04X (%d) %04X-%s %s ****" % (caid[1], caid[1], caid[0], CaIdDescription, extra_info)))
			else:
	                       	tlist.append(ServiceInfoListEntry("ECMPid %04X (%d) %04X-%s %s" % (caid[1], caid[1], caid[0], CaIdDescription, extra_info)))
		if not tlist:
			tlist.append(ServiceInfoListEntry(_("No ECMPids available (FTA Service)")))
		self["infolist"].l.setList(tlist)


Edited by jpuigs, 29 May 2017 - 00:57.

Enigma is getting old....

 

Spoiler

Re: Service info - ECM info MOD #2 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 29 May 2017 - 07:00

That was the second step... But I only want to just change the color and do not add these stars. ;)

But there is an issue. Here in the Netherlands you also need to check the caid as here nagra and seca uses the same pid. And I'm not sure if all emu's give the ecmpid...

And we only need to check the ecmdata from the emu if we have a table....

This is the first time we can obtain a provider id from enigma2... A long time ago request.... :)

Edited by littlesat, 29 May 2017 - 07:06.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Service info - ECM info MOD #3 Robinson

  • Senior Member
  • 2,616 posts

+30
Good

Posted 29 May 2017 - 08:29

I can't wait to have this information available. :)


ET9000, OpenPLi 4.0, 13E, 19E

HD51, OpenPLi 6.2, 75E - 30W


Re: Service info - ECM info MOD #4 Rick Hunter

  • PLi® Core member
  • 9,052 posts

+56
Good

Posted 29 May 2017 - 17:47

I can't wait to have this information available. :)

Indeed.. This is a nice addon


Plinux member We have a.. (ehmm.. morgage) house.

Re: Service info - ECM info MOD #5 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 29 May 2017 - 23:32

That was the second step... But I only want to just change the color and do not add these stars. ;)

But there is an issue. Here in the Netherlands you also need to check the caid as here nagra and seca uses the same pid. And I'm not sure if all emu's give the ecmpid...

And we only need to check the ecmdata from the emu if we have a table....

This is the first time we can obtain a provider id from enigma2... A long time ago request.... :)

 

Stars Deleted... :(

 

CAID checked too. :)

 

Please test it, I don't have any dutch card.

Working on Mgcamd & Oscam.  CCcam has to be fixed.

Attached Files


Enigma is getting old....

 

Spoiler

Re: Service info - ECM info MOD #6 maigais

  • Senior Member
  • 431 posts

+4
Neutral

Posted 30 May 2017 - 05:51

< 370.117> action -> ColorActions green
< 370.160> Traceback (most recent call last):
< 370.161> File "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action
< 370.165> File "/usr/lib/enigma2/python/Screens/ServiceInfo.py", line 264, in ShowECMInformation
< 370.181> from Components.Converter.PliExtraInfo import caid_data
< 370.184> ImportError: cannot import name caid_data

BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod


Re: Service info - ECM info MOD #7 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 30 May 2017 - 06:55

You need to change that file aswell.... I did that so we have only one table...

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Service info - ECM info MOD #8 maigais

  • Senior Member
  • 431 posts

+4
Neutral

Posted 30 May 2017 - 15:58

<  8956.467> action ->  ColorActions green
<  8956.478> Traceback (most recent call last):
<  8956.480>   File "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action
<  8956.492>   File "/usr/lib/enigma2/python/Screens/ServiceInfo.py", line 278, in ShowECMInformation
<  8956.502>     if caid[2]:


BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod


Re: Service info - ECM info MOD #9 maigais

  • Senior Member
  • 431 posts

+4
Neutral

Posted 30 May 2017 - 16:07

<  8956.467> action ->  ColorActions green
<  8956.478> Traceback (most recent call last):
<  8956.480>   File "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action
<  8956.492>   File "/usr/lib/enigma2/python/Screens/ServiceInfo.py", line 278, in ShowECMInformation
<  8956.502>     if caid[2]:
<  8956.505> IndexError: tuple index out of range
 


BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod


Re: Service info - ECM info MOD #10 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 30 May 2017 - 16:48

which channel and which emu ?

I haven't written that part.


Enigma is getting old....

 

Spoiler

Re: Service info - ECM info MOD #11 maigais

  • Senior Member
  • 431 posts

+4
Neutral

Posted 30 May 2017 - 18:57

Oscam.

Attached Files


BlackHole-3.1.0F_DM800 ,Tuner + ALINK DTU & Digital USB DVB-T HDTV TV Tuner Recorder Receiver , HDD TOSHIBA MK2552GSX 250gb,usb 16gb,skins Glamour_X-Infinity mod


Re: Service info - ECM info MOD #12 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 30 May 2017 - 19:33

<  8956.467> action ->  ColorActions green
<  8956.478> Traceback (most recent call last):
<  8956.480>   File "/usr/lib/enigma2/python/Components/ActionMap.py", line 46, in action
<  8956.492>   File "/usr/lib/enigma2/python/Screens/ServiceInfo.py", line 278, in ShowECMInformation
<  8956.502>     if caid[2]:

You also need the enigma2 binary with the mods from the development branch.... Without it you don't have caid[2]... .. it only goes upto caid[1]..... with pid and caid.... no databytes field....

in addition you need an upgraded enigma2.pyo file...


Edited by littlesat, 30 May 2017 - 19:35.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Service info - ECM info MOD #13 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 30 May 2017 - 19:36

FYI: Highlight actual used ECM information in yellow

 

https://github.com/O...5c8a19d2bee9203


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Service info - ECM info MOD #14 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 30 May 2017 - 21:03

Good job.

You've optimized my "classic" code.


Enigma is getting old....

 

Spoiler

Re: Service info - ECM info MOD #15 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 30 May 2017 - 21:06

At least thanks for the method to get the current used caid and ecmpid there... ;)... 


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Service info - ECM info MOD #16 mrvica

  • Senior Member
  • 1,227 posts

+82
Good

Posted 31 May 2017 - 06:25

in addition you need an upgraded enigma2.pyo file...

this file can be updated with
opkg install enigma2-src
have a look at:
https://forums.openp...pythonpy-files/

Re: Service info - ECM info MOD #17 Rick Hunter

  • PLi® Core member
  • 9,052 posts

+56
Good

Posted 17 June 2017 - 22:54

Littlesat, I've found that the Channel VH1 at: 19.2 E 11739 - 2700 3/4

Does not give a yellow line at the decryption of my card. On VH1 Classic, it works fine. 

 

In the first screenshot of this posting from:  jpuigs you can see this channel with a yellow line. 

 

Seen on our most recent image. 


Plinux member We have a.. (ehmm.. morgage) house.

Re: Service info - ECM info MOD #18 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 18 June 2017 - 09:04

Channels fta? Or takes a tunelled encryption.

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Service info - ECM info MOD #19 jpuigs

  • Senior Member
  • 1,143 posts

+32
Good

Posted 18 June 2017 - 11:39

If you look at the second line on top of Second Inforbar, which values do you have after the encryption name ?


Enigma is getting old....

 

Spoiler

Re: Service info - ECM info MOD #20 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 18 June 2017 - 11:42

The seca (100) with 006a is not in the overview....


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users