Heute, 00:53 - Plugin KodiDirect.v.3.0 - Faster Method (pcd)
||Zitat-Anfang: Originally posted by emanuel
Hi pcd, have you ever tested python-cython on dreambox?
I've found it in OE2/OE2.2. maybe an very easy way to build *.so modules for plugin speed up. Buildable it is in OEs, but I haven't testet on dreambox yet.
http://cython.org :Zitat-Ende||
Thanks emanual. I will look into that.
The python code in KodiDirect and the Kodi addons is actually quite fast. Two reasons why some addons can be slow.
KodiDirect used to write output from the addons to a text file - then read in the main plugin. If the lists are long - this can be slow. Now I use the os.popen method and that is much faster for most addons. But a few big addons like plugin.video.genesis write a lot of stuff to the cache directory. That also makes execution of some steps slow - at least on the first run. Even on pc Kodi these steps are slow. [zum Beitrag]
||Zitat-Anfang: Originally posted by emanuel
Hi pcd, have you ever tested python-cython on dreambox?
I've found it in OE2/OE2.2. maybe an very easy way to build *.so modules for plugin speed up. Buildable it is in OEs, but I haven't testet on dreambox yet.
http://cython.org :Zitat-Ende||
Thanks emanual. I will look into that.
The python code in KodiDirect and the Kodi addons is actually quite fast. Two reasons why some addons can be slow.
KodiDirect used to write output from the addons to a text file - then read in the main plugin. If the lists are long - this can be slow. Now I use the os.popen method and that is much faster for most addons. But a few big addons like plugin.video.genesis write a lot of stuff to the cache directory. That also makes execution of some steps slow - at least on the first run. Even on pc Kodi these steps are slow. [zum Beitrag]