Rascas wrote:This is everything you need to install Kodi 16 on Raspbian. All of this is done in a virtual terminal:
Add the pipplware main repository by editing /etc/apt/sources.list or add it to a new file like /etc/apt/sources.list.d/pipplware_jessie.list:
Code: Select all
deb http://pipplware.pplware.pt/pipplware/dists/jessie/main/binary /
Than add the key:
Code: Select all
wget -O - http://pipplware.pplware.pt/pipplware/key.asc | sudo apt-key add -
And update, upgrade and install Kodi:
Code: Select all
sudo apt-get update && sudo apt-get dist-upgrade
To install PVRs you can run the following command to list all PVRs available:
And then install what you want, for example:
Code: Select all
sudo apt-get install kodi-pvr-iptvsimple
Then, to run Kodi you can use the icon the LXDE menu or run the following command:
or
To have everything working nicely on Raspbian you also need to set the right permissions:
You have to create the group "input" if it doesn't exist.
Create & edit the following file:
Code: Select all
sudo nano /etc/udev/rules.d/99-input.rules
enter the following text and save it:
Code: Select all
SUBSYSTEM==input, GROUP=input, MODE=0660
KERNEL==tty[0-9]*, GROUP=tty, MODE=0660
Create & edit the following file:
Code: Select all
sudo nano /etc/udev/rules.d/10-permissions.rules
enter this text and save it:
Code: Select all
# 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: Select all
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)
PS: The packages are compiled for armv6 so they work in all Raspberry versions.
PS2: This is for Jessie only