Re: Get service freq and sat position from oscam code #2
Re: Get service freq and sat position from oscam code #3
Re: Get service freq and sat position from oscam code #4
Posted 18 July 2017 - 18:34
I suggest streamboard, where the Oscam developers are?
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: Get service freq and sat position from oscam code #5
Posted 19 July 2017 - 00:56
I dont think thy had the right answer,
in the oscam code thy use files to get information about the sevice
for exmple, thy use oscam.servi to feed the chanal name to thier web interface
and oscam.twin to get sat an freq from caid and provider id in some serial protocoles. so i want to get this information directly from enigma insted of files.
this is an enigma level problem not related directly to oscam.
Re: Get service freq and sat position from oscam code #6
Posted 19 July 2017 - 01:13
i am wondering why enigma designers have decided to force developers to use python to write plug-ins .?
Linux is all about c/c++ and providing a c/c++ api to the enigma layer is can be helpful also.
the problem can be solved by using python helper plug-in that will feed information to the c++ code via Linux sockets. But this have no sense for me to write plug-in with socket and thread logic ....etc. to just get the freq and the sat position of the current channel
Re: Get service freq and sat position from oscam code #7
Posted 19 July 2017 - 09:26
Yeah beats me too... Probably because more people (think that they) can program in Python.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: Get service freq and sat position from oscam code #8
Re: Get service freq and sat position from oscam code #9
Posted 19 July 2017 - 11:42
Nobody was ever forced, E2 supports Python and also C(++) code for plugins.i am wondering why enigma designers have decided to force developers to use python to write plug-ins .?
Linux is all about c/c++ and providing a c/c++ api to the enigma layer is can be helpful also.
Re: Get service freq and sat position from oscam code #10
Posted 19 July 2017 - 12:14
Nobody was ever forced, E2 supports Python and also C(++) code for plugins.i am wondering why enigma designers have decided to force developers to use python to write plug-ins .?
Linux is all about c/c++ and providing a c/c++ api to the enigma layer is can be helpful also.
i was not able to find any code in c++ that can use the E2 layer stuff like screens (UI) service information ..etc.
Re: Get service freq and sat position from oscam code #11
Re: Get service freq and sat position from oscam code #12
Posted 19 July 2017 - 14:02
Nobody was ever forced, E2 supports Python and also C(++) code for plugins.i am wondering why enigma designers have decided to force developers to use python to write plug-ins .?
Linux is all about c/c++ and providing a c/c++ api to the enigma layer is can be helpful also.
i was not able to find any code in c++ that can use the E2 layer stuff like screens (UI) service information ..etc. \
Exactly. It's impossible to create a plugin in C++.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: Get service freq and sat position from oscam code #13
Posted 19 July 2017 - 14:07
You have to create a plugin in python.... this will not 'say' the plugin might include a binary (blob) compiled from C or C++ or something in between C and C++... e.g. Bitrate viewer is an example of such plugin with python hookup user interface part and added C code.
https://github.com/E...nplugin-Bitrate
Edited by littlesat, 19 July 2017 - 14:08.
WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W
Re: Get service freq and sat position from oscam code #14
Posted 19 July 2017 - 17:29
Did you see the the interface between Python and C++? Ugly at best...
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: Get service freq and sat position from oscam code #15
Posted 19 July 2017 - 17:34
Again.... why do you need this..... ? And probably as oscam is dowing cw it might already be in....
this information it is nedded by some sharing protocoles that i need to implement in oscam.
oscam is dowing cw by its dvb api interacting with the /dev/dvb/adapter0/ dvmux...directly it so low level... and the information that i need is in the enigma level, i cant figure out how to get it.
Re: Get service freq and sat position from oscam code #16
Re: Get service freq and sat position from oscam code #17
Posted 19 July 2017 - 18:01
You have to create a plugin in python.... this will not 'say' the plugin might include a binary (blob) compiled from C or C++ or something in between C and C++... e.g. Bitrate viewer is an example of such plugin with python hookup user interface part and added C code.
in this scenario the python code will be a warper of the c code there is no problem i can make code in c/c++ and use SWIG to generate python interface and use it to write the final plugin that wil be used by enigma. the python is a top layer of the c++ code
but what to do if the c++ code needs stuff from the enigma layer that is available via python, for example the oscam is running as a linux process not as an enigma plugin, what to do in this scenario ? we have no choice ! use a python helper plugin or the web interface api !
Re: Get service freq and sat position from oscam code #18
Posted 23 July 2017 - 13:36
@littlesat,
Some people sold closed source boxes with integrated CS, and to retrieve the DCW they use the service freq and sat position for the sharing.
So steavebba simply tries to hijack this system and make it compatible with OScam which doesn't have this kind of information by default for the descrambling.
Pr2
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: Get service freq and sat position from oscam code #19
Posted 24 July 2017 - 09:15
@littlesat to be honest with you that is exactly what i am doing (a hard work of reverse engineering of closed box).
By the way, i used unix domain sockets to pass information from enigma layer to oscam emu, and it works but from a developer point of view it is not the proper way to solve this problem.
Thank you all.
Re: Get service freq and sat position from oscam code #20
Posted 24 July 2017 - 11:47
Edited by Taapat, 24 July 2017 - 11:51.
Also tagged with one or more of these keywords: C++
How to get SID of the current channelStarted by Stuart, 17 Feb 2017 dvbapi, camd.socket, pmt.tmp, sid and 1 more... |
|
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users