Posts in "Kodi" category

Featured Image

Kodi for Android: Building and Using Binary Python Extensions - Part 2

 Nov. 17, 2016    0 comments 

This is the 2nd article in my series about building and using binary Python modules in Kodi on Android. In the previous article I described prerequisites for building such modules. In this article I will cover building a simple Python/C extension module for Python in Kodi for Android. (...)

Read post

 AndroidCC++KodiPluginPython

Featured Image

Kodi for Android: Building and Using Binary Python Extensions - Part 1

 Nov. 12, 2016    0 comments 

Important WARNING!

On recent Android 7 firmwares for some devices, including my Samsung Galaxy Tab A 10.1, the magic workaround that allows to load binary Python modules from Kodi addons no longer works. This means that currently there is no known way to import binary modules in Python addons on such devices. Because of this the following series of articles now has only historical value since there is a strong chance that you won't be able to use your compiled binary Python module(s).


This is the 1st article in my series about building and using binary Python modules in Kodi on Android. In this article I will cover prerequisites needed to build a Python/C extension module for Python in Kodi for Android. (...)

Read post

 AndroidCC++KodiPluginPython

Featured Image

Kodi for Android: Building and Using Binary Python Extensions - Introduction

 Nov. 11, 2016    0 comments 

This is an introduction to my series of articles that describe how to build binary Python modules for Kodi addons on Android platform.

Kodi mediacenter includes a full-featured (well, almost smile) CPython interpreter for creating plugins. CPython, which is the reference Python implementation, in its turn provides the Python/C API that allows to create a binary Python extension modules in C language. These module are used, for example, to speed-up some CPU-intensive tasks, because Python, being an interpreted language, is relatively slow. (...)

Read post

 AndroidCC++KodiPluginPython

Featured Image

Recent surprise

 Oct. 13, 2016    0 comments 

Quite a while ago I created a GUI micro-famework for Kodi mediacenter (formerly XBMC). At that time I tried to develop a subtitle addon for Addic7ed.com (which I did) and I needed to create a UI for the addon. Previously subtitle addons in Kodi had to have their own UI, so I used a several classes that Kodi-Python API provides and created a UI for my addon. Inspired with success (those were my first attempts to write something useful in Python) I decided to extend that UI to a micro-framework that would allow to create user interfaces for Kodi addon in pure Python without messing with XML skinning. I published my micro-framework on GitHub, submitted it to the Kodi official addon repository and created a topic on the Kodi official forum. I also used it in a couple of my personal projects, and that was all. (...)

Read post

 KodiPython

Featured Image

YATP: A Torrent Streaming Plugin for Kodi

 May 23, 2016    0 comments 

My YATP (Yet Another Torrent Player) plugin for Kodi mediacenter is not a new project. I stated it a wile ago partly out of curiosity, partly because of practical reasons because I needed a torrent player that satisfied my needs. (...)

Read post

 BitTorrentKodiPluginPython