Kodi: Difference between revisions

From fakedWiki
Jump to: navigation, search
(Created page with "== Install OS == * Ubuntu 15.10 * User: kodi * Clean install without GUI == Install Kodi == <nowiki>sudo apt-get install -y software-properties-common sudo add-apt-repositor...")
 
No edit summary
Line 8: Line 8:
sudo add-apt-repository -y ppa:team-xbmc/ppa
sudo add-apt-repository -y ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get update
sudo apt-get install -y kodi libcurl3 libmysqlclient18
sudo apt-get install -y kodi libcurl3
</nowiki>
* you may no need libcec and libmysqlclient, but i do for my setup...
<nowiki>sudo apt-get install -y libcec libmysqlclient18
</nowiki>
</nowiki>



Revision as of 23:08, 14 December 2015

Install OS

  • Ubuntu 15.10
  • User: kodi
  • Clean install without GUI

Install Kodi

sudo apt-get install -y software-properties-common
sudo add-apt-repository -y ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get install -y kodi libcurl3

  • you may no need libcec and libmysqlclient, but i do for my setup...

sudo apt-get install -y libcec libmysqlclient18

Autostart Kodi

  • create /etc/systemd/system/kodi.service
[Unit]
Description=Job that runs Kodi
After=default.target graphical.target getty.target sound.target

[Service]
User=kodi
Restart=always
RestartSec=1s
ExecStart=/usr/bin/xinit /usr/bin/kodi --standalone -- -nocursor

[Install]
WantedBy=default.target

  • enable the startup script
sudo systemctl daemon-reload
sudo systemctl enable kodi

  • test it
sudo service kodi start
sudo service kodi stop