Raspberry Kodi
Zur Navigation springen
Zur Suche springen
Preperation
- echo "gpu_mem=256" >> /boot/config.txt
Install
- apt-get update
- apt-get install kodi xinit
Create User
- useradd -m -G dialout,cdrom,audio,video,dip,input,plugdev,users rodi
Systemd stuff
config
- /etc/systemd/system/kodi.service
[Unit] Description = Kodi Media Center After = systemd-user-sessions.service network.target sound.target [Service] User = kodi Group = kodi Type = simple ExecStart = /usr/bin/xinit /usr/bin/kodi-standalone -- :0 -nolisten tcp vt7 Restart = on-abort RestartSec = 5 [Install] WantedBy = multi-user.target
systemctl
- systemctl daemon-reload
- systemctl enable kodi.service
- systemctl start kodi.service
Home and config directory
- /home/kodi/.kodi
userdata
advancedsettings
Activate webserver
- /home/kodi/.kodi/userdata/advancedsettings.xml
<advancedsettings> <services> <esallinterfaces>true</esallinterfaces> <webserver>true</webserver> <zeroconf>true</zeroconf> </services> </advancedsettings>
Update auf Kodi 18
Download Kodi 18 neuste version
Danach auf den libreelec in /storage/.update schieben
- scp -P 22 LibreELEC-RPi2.arm-9.0-Milhouse-20180107210417-#0107-g258f630.tar root@10.81.70.96:/storage/.update
zum schluss dann noch rebooten
- reboot