Categories

A sample text widget

Etiam pulvinar consectetur dolor sed malesuada. Ut convallis euismod dolor nec pretium. Nunc ut tristique massa.

Nam sodales mi vitae dolor ullamcorper et vulputate enim accumsan. Morbi orci magna, tincidunt vitae molestie nec, molestie at mi. Nulla nulla lorem, suscipit in posuere in, interdum non magna.

Kodi 15.1 Debian package for Raspbian on RPi 2

This kodi package is an all in one package, that combines kodi and kodi.bin. To avoid conflicts with older versions from any repository these are deinstalled first.
To get and install kodi 15, run the following from a terminal or the command line:

Code:
wget http://steinerdatenbank.de/software/kodi-15.tar.gz
tar -xzf kodi-15.tar.gz
cd kodi-15
sudo ./install


This will install kodi and kodi.bin, libplatform1, a script “startkodi” in “/usr/local/bin” and replace the kodi.desktop file with a new one, that uses startkodi.
startkodi can be used with an argument
startkodi [uri]
uri can be any valid file path or URL pointing to a media file or playlist; Kodi will then immediately start playing it.

Don’t call kodi directly or use kodi-standalone!

kodi-15 now requires libcec version 3.0 for CEC (remote control) support, at least for compilation. But it has been reported, that it may still work with older versions. Just test it. If CEC doesn’t work and you need it, you can install libcec3. Run

Code:
sudo ./install_cec3

Warning: this will remove all CEC-related software (libcec1, libcec2, cec-utils, libcec-dev) from your system and install the following:
libcec3, cec-utils (Version 3.0), libcec-dev (Version 3.0), python-libcec

If you are using software, that depends on libcec1 and libcec2, it will not work any more. You might try installing the libs again (but not cec-utils!), but I haven’t tested it.

To remove everything again from your machine, run

Code:
sudo dpkg -r libplatform1
sudo dpkg -r libcec3
sudo dpkg -r kodi

If you are installing kodi for the first time, you have to add some settings to your system.

We have to create the group “input” if it doesn’t exist.

Code:
sudo addgroup --system input

Create & edit the following file:

Code:
sudo nano /etc/udev/rules.d/99-input.rules

enter the following text and save it:

Code:
SUBSYSTEM==input, GROUP=input, MODE=0660
KERNEL==tty[0-9]*, GROUP=tty, MODE=0660

Create & edit the following file:

Code:
sudo nano /etc/udev/rules.d/10-permissions.rules

enter this text and save it:

Code:
# input
KERNEL=="mouse*|mice|event*",   MODE="0660", GROUP="input"
KERNEL=="ts[0-9]*|uinput",     MODE="0660", GROUP="input"
KERNEL==js[0-9]*,             MODE=0660, GROUP=input
# tty
KERNEL==tty[0-9]*,            MODE=0666
# vchiq
SUBSYSTEM==vchiq,  GROUP=video, MODE=0660

run the following commands for user pi (if you haven’t changed your user name):

Code:
sudo usermod -a -G audio pi
sudo usermod -a -G video pi
sudo usermod -a -G input pi
sudo usermod -a -G dialout pi
sudo usermod -a -G plugdev pi
sudo usermod -a -G tty pi

To play full HD video in Kodi, you have to set
gpu_mem=160
in /boot/config.txt (or higher)

The configuration I have used:

Code:
CFLAGS="-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -mfloat-abi=hard -mcpu=cortex-a7 -mfpu=neon-vfpv4" CXXFLAGS="-I/opt/vc/include/ -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux -mfloat-abi=hard -mcpu=cortex-a7 -mfpu=neon-vfpv4" LDFLAGS="-L/opt/vc/lib" FFMPEG_OPTS="--cpu=cortex-a7" ./configure --disable-gl --enable-gles --with-platform=raspberry-pi --disable-x11 --disable-vaapi --disable-vdpau --disable-avahi --enable-libcec --disable-pulse --disable-projectm --disable-optical-drive --disable-dvdcss --disable-vtbdecoder --enable-alsa --enable-player=omxplayer --disable-xrandr --disable-openmax --disable-joystick --disable-rsxs --prefix=/usr  --enable-debug=no

A matching IPTV-simple-client: https://www.raspberrypi.org/forums/view … 15#p789606

 

Source : https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=109088

Comments are closed.