Jump to content


Photo

New Plugin - how get transponder info of current service

Plugin tranponder

  • Please log in to reply
5 replies to this topic

#1 momi133

  • Senior Member
  • 74 posts

0
Neutral

Posted 29 December 2018 - 11:52

Hi guys

 

I'm writing a  new plugin.

 

1.how can i get transponder info of current service(tv channel) like freq, symrate,Pol,pids(SID,PMTPID,ECMPID)  and save this as string data. I don't want this info for skin.

 

2.which module files should be imported? like this :

from enigma import iServiceInformation, eTimer, eDVBFrontendParametersSatellite

 

3. how can i find all properties of a module like  iServiceInformation or others?. I just find PluginDescriptor in /usr/lib/enigma2/python/Plugins/Plugin.py

 

thanks a lot


Edited by momi133, 29 December 2018 - 11:53.


Re: New Plugin - how get transponder info of current service #2 momi133

  • Senior Member
  • 74 posts

0
Neutral

Posted 30 December 2018 - 09:14

I expect openpli expert team that answer my question. it's simple for you like  drinking water.

 

​I emphasis that I know all renders and converters that show all info about current tv channel in screen or writing a skin.
I want to know which function shows transponder and puds

Info like following term for screen width size : getDesktop(0).size().width()​

I want this Info for writing in python code of plugin and assign out of function to a variable.

 

Please help me.



thanks a lot
 



Re: New Plugin - how get transponder info of current service #3 littlesat

  • PLi® Core member
  • 57,468 posts

+708
Excellent

Posted 30 December 2018 - 09:17

Menu information first option... so why do you need a plugin for it...?

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


Re: New Plugin - how get transponder info of current service #4 momi133

  • Senior Member
  • 74 posts

0
Neutral

Posted 30 December 2018 - 12:33

Menu information first option

 I can't understand! what does it mean?

 

so why do you need a plugin for it...?

I don't need a plugin ! I'm writing a plugin and I want  to compare transponder info of current channel with transponder list in a text file and if current transponder info exist in textfile, and then some other information about that transponder(I write some info about transponder that it's changed every hour) are presented in skin of plugin.

 

thanks a lot for your responsiveness and responsibility



Re: New Plugin - how get transponder info of current service #5 Pr2

  • PLi® Contributor
  • 6,199 posts

+261
Excellent

Posted 30 December 2018 - 14:21

I think that you should have a look at this plugin:

 

https://github.com/O...aster/blindscan

 

It does something similar, it generates a .xml file for new transponders found during a blindscan, so it has to know if the transponder is already known or not.


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: New Plugin - how get transponder info of current service #6 momi133

  • Senior Member
  • 74 posts

0
Neutral

Posted 1 January 2019 - 12:20

Menu information first option... so why do you need a plugin for it...?

 

I think that you should have a look at this plugin:

 

https://github.com/O...aster/blindscan

 

It does something similar, it generates a .xml file for new transponders found during a blindscan, so it has to know if the transponder is already known or not.

 

 

I read both file and my problem is solved.

 

thanks a lot for your tips.





Also tagged with one or more of these keywords: Plugin, tranponder

2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users