Kodi to make a YNH media center

Good question… I am testing in a VM at the moment. My Raspberry does not have YunoHost but Raspbian Wheezy and Kodi is running fine on it.

I would not recommend installing the package in a non-testing environment at the moment, it is not working.

Perhaps your issue on RPI2 is due to the YunoHost Raspberry image? Try perhaps raising the issue there: Building a new image for raspberry debian jessie - fr - en ?