Can any body give me a tutorial that explains how to make plugin in enigma2 i have studied the python basics and i want to know alot about enigma2
Thanks alot
Can any body give me a tutorial that explains how to make plugin in enigma2 i have studied the python basics and i want to know alot about enigma2
Thanks alot
there is a very basic guide you can find on the net. Its very old though.
I learnt python via a book (pdf), called Python Crash Course. PM me if you want a copy.
But you basically have to throw yourself in the deep end and see if you swim.
But its just a case of downloading someone elses simple plugin (in fact lots of plugins) and reading through the code. Trying to make sense of it.
There is no official reference. Its actual all I did a few years ago, and I write plugins for everything now :)
Here are some of my posts and tools that might help you
Enigma2 Skin Screen Names Plugin
The tools I use to write python code.
ipk creator software - I have always stuck with version 3. Its simpler than later versions
You will also spend a lot of time looking at the various images githubs.
Here are some popular ones.
https://github.com/openatv/enigma2
https://github.com/OpenViX/enigma2
https://github.com/OpenPLi/enigma2
read all the docs in the doc folders in those repos.
I didn't understand these lines
From enigma
From screen.screen
From plugin.plugin
Is these alibrary or module or what
Enigma2 is all module based
So you have to import the necessary modules and elements you require.
Then you write your own code around these modules.
Enigma2 is the main component.
Screens is referencing the screen component (basically which allows you to create a skinned page on screen. for example openatv. This is referencing this location on github
https://github.com/openatv/enigma2/tree/master/lib/python/Screens
these files live locally on your box here. That is where they are being referenced to in a plugin.
/usr/lib/enigma2/python/
But they will be compiled on your box. PYC or PYO.
So you have to check github to see the uncompiled version and see what is inside them.
J
There is something I am looking for a solution to, and that is why I want to understand Enigma 2. It is that when I watch a football match and I want to hear the commentary in Arabic, I use the ipaudiopro plug-in, but the broadcast is ahead of the sound source, so I have to delay the broadcast using the time-shift feature, but this feature is useless. There is another feature that exists. In very cheap devices called video dealay, this feature is excellent for such matters. Is there a way to add it?
Well if you got an issue with that plugin. Instead of trying to reinvent the wheel.
Why not raise your query with
@ziko
IPAudio By ZIKO
or there is another plugin by oottppxx callled budweiser that does similar things
And isn't nearly every football match in the world played on Bein channels. Which is arabic
It is not a problem in Plugin, but rather it depends on this time-shift feature of it. Unfortunately, the code is interrupted for a fraction of a second, causing the time-shift to be migrated, and it ends with having to adjust it again.
Don’t have an account yet? Register yourself now and be a part of our community!