Hi Friends,
Some of you have shown interest in what makes a KodiLite addon work and also want to help with adapting and updating.
I have therefore started this thread where we can discuss coding matters.
For someone with python experience - it will be quite simple.
But others with little or no coding experience are also welcome to join in.
The main KodiLite plugin is a very simple replica of Kodi for enigma2.
The basic method is that KodiLite first sends a python command to the default.py of the addon.
Inside the addon - default.py does some calculations either by itself or using other parts of the addon.
The results of the calculations are then output to print statements. KodiLite main plugin then reads
these outputs and takes action. The action may be to show a video or to send another python command to the addon default.py.
It is as simple as that.
For those not familiar with python command - I attach a python script Demo.py.
Unzip and put it in folder /tmp. Then give the console command :-
python /tmp/Demo.py 2 6
The reply will be the multiplication result 12. You can put in any other two integers to test.
Please look in the text of Demo.py. The python command executes each line from the top.
I also attach a small addon which tests an iptv link of a Turkish childrens' channel.
Please test it and look into the code. I attach the e.log from my test which shows the python commands used.
I look forward to your comments.
Regards, pcd.