====== Kodi 18.1 on LibreELEC 9.0.1 ======
Kodi runs best on [[http://openelec.tv/|OpenELEC]] or [[https://libreelec.tv/downloads_new/|LibreELEC]], as it is a stripped down Linux which contains only what is necessary to run Kodi. It boots very fast directly into Kodi.
I installed LibreELEC 9.0.1 running Kodi 18.1 on an Asrock Beebox N3150, with 8 GB DDR3L single channel RAM, and 64 GB mSATA drive (Transcend MSA370). The Beebox is very small, although you can install a 2.5" SSD, the mSATA is the much better solution as it does not fill up the enclosure and compromise the cooling.
The following guide explains how to install Kodi on any Intel compatible 64bit architecture.
===== Installation =====
- Make a bootable USB drive with the [[https://libreelec.tv/downloads_new/|LibreELEC iso]], I used [[http://portableapps.com/apps/utilities/rufus-portable|Rufus Portable]] to do this, then run the installer.
- Set Language, Region, Timezone, and machine name during first boot into Kodi.
- Set the settings level to "Expert".
- Enter weather settings in Settings --> Services, select //Yahoo// or //Gismeteo// as service for weather information, then enter your location in Location1 field. Disable "Current location".
- Set the default audio device in Settings --> System. If you connect the Kodi box via HDMI to an amplifier, select the HDMI connection as audio output.
- Modify the regional settings in Settings --> Interface.
- After installing the Keymap Editor, map the Mute key to "Context Menu - c" in Settings --> Add-ons. The Asrock remote does not have a key for the context menu, and the mute key is not needed as the volume is controlled through the AV receiver.
- Go to Addons --> Keymap Editor in Program Add-ons.
- Press //Mute// once, the mute symbol will appear on the top right corner of the screen
- Select Edit, then press //Mute// within 5 seconds (before the key is learned and altered, a mute command will be sent to Kodi, which un-mutes Kodi)
- Connect through SSH and upload the public rsa key file to ~/.ssh. Rename the file to "authorized_keys".
- Disable SSH Password in Settings --> LibreELEC Settings --> Services.
- Disable Samba and Avahi in Settings --> LibreELEC Settings --> Services.
- Create [[kodi:estuary|Estuary]] custom menu entries according to the following [[kodi:estuary|guide]].
- To update Kodi directly from within the running system, login to the LibreELEC box via SSH and type in the following commands:cd /storage/.update
wget http://releases.libreelec.tv/LibreELEC-Generic.x86_64-9.0.1.img.gz
reboot
===== Addons =====
- I prefer to scrape all my movies offline. In my locations I operate a total of 7 Kodi boxes, and with offline scraping I need to do it only once. [[https://www.tinymediamanager.org/|tinyMediaManager]] does an excellent job in this, however, it is more effort than using the Kodi built in scrapers.
- Install //Keymap Editor// from Kodi Add-on repository --> Program addons
- Install //YouTube// from Kodi Add-on repository --> Video addons
- Install //Radio// from Kodi Add-on repository --> Music addons
===== Movie settings =====
* Settings --> Videos --> Library --> Group movies in sets
* Settings --> Videos --> Playback --> Preferred audio language
* Settings --> Videos --> Subtitles --> Preferred subtitle language
* Settings --> Videos --> Subtitles --> Languages to download subtitles for
* Settings --> Videos --> Subtitles --> Default movie service
* Settings --> System --> Audio output --> Audio output device
* Settings --> System --> Audio output --> Number of channels
* Settings --> System --> Audio output --> Enable pass through
* Settings --> System --> Audio output --> DTS capable receiver
* Videos --> Files: Add different sub-folders to the library on the server, which you want to add to a movie set with it's own menu entry
* Add folder by folder, after each add go to Movies and --> Manage --> Manage movie set for each movie to assign it to a set
* Start with the movie which folder art you want to appear as set in the movie collection. I have not found out how to change the art afterwards in the Titan skin.
* --> Add to favourites for each set you created, then go to Settings --> Skin Settings --> Configure shortcuts --> Edit menu shortcuts
* Add each favourite to the menu
===== Clone to new device =====
As the setting up of a Kodi box with an alternative skin requires a lot of tweaking, you might think of cloning the device once it is fully setup. Here are some hints how to do this efficiently:
- Boot the set up Kodi box into an external USB stick with CloneZilla installed on it. Before booting, plug in a second USB stick which will hold the backup files.
- Backup the disk which holds the Kodi install.
- Boot the new device into the external USB stick with CloneZilla installed on it. Restore the backup taken in the previous step.
- Boot the new Kodi box and change the device name (Settings --> Services and LibreELEC Settings). Change other basic settings such as location etc. as required.
The following steps are only required, if you run the new box with a different media server:
- Remove all Favorites.
- Remove all media sources (videos, photos, music).
- Add all media sources from the new media server.
- Create new movie sets if required, and then add them to Favorites.
- If the Favorites do not show up in your menus, go into Skin Settings and change Action for the respective menu item.
===== Links =====
==== Kodi ====
* [[http://kodi.wiki/view/HOW-TO:Modify_keymaps|HOW-TO:Modify keymaps]]
* [[http://kodi.wiki/view/HOW-TO%3AModify_the_video_cache|HOW-TO:Modify the video cache]]
* [[https://wiki.libreelec.tv/index.php?title=HOW_TO:Update_LibreELEC|HOW TO:Update LibreELEC]]
* [[http://kodi.wiki/view/Advancedsettings.xml|advancedsettings.xml]]
* [[http://kodi.wiki/view/Log_file/Advanced|Log file/Advanced]]
* [[http://kodi.wiki/view/Add-on:Cinema_Experience|Add-on:Cinema Experience]]
* [[http://wiki.openelec.tv/index.php?title=Guide_To_Test_a_Remote_and_Remap_Keys|Guide To Test a Remote and Remap Keys]]
* [[http://androidpcreview.com/fix-kodi-buffering-problems-heres-how-to-modify-the-kodi-cache/2611/|Fix Kodi buffering problems! Here’s how to modify the Kodi cache]]
* [[http://kodi.wiki/view/movie_sets|Movie sets]]
* [[http://kodi.wiki/view/Add-on:Universal_Movie_Scraper|Add-on:Universal Movie Scraper]]
* [[http://www.kodireviews.com/universal-movie-scraper/|Universal Movie Scraper Addon Guide]]
* [[http://forum.kodi.tv/showthread.php?tid=310230|titan skin widgets not working]]
==== SEO Michael ====
* [[https://seo-michael.co.uk/how-to-manually-install-the-addon-installer-for-xbmc/|How to Install the Addon Installer for Kodi]]
* [[https://seo-michael.co.uk/the-beast-build-for-kodi/|Install The Beast Kodi]]
* [[https://seo-michael.co.uk/how-to-setup-livetv-pvr-simple-xbmc-kodi/|How to Setup PVR IPTV Simple Client Kodi]]
* [[https://seo-michael.co.uk/how-to-install-superrepo-for-xbmc/|Tutorial How to Install SuperRepo Kodi]]
* [[https://seo-michael.co.uk/how-to-install-fusion-for-xbmc/|How to Install Fusion Kodi]]
* [[https://seo-michael.co.uk/tutorial-how-to-change-fonts-in-kodi-xbmc/|How to Add and Change Fonts in Kodi]]
==== Live TV ====
* [[https://www.youtube.com/watch?v=MuutJs2bz9c|Setup & Install PVR IPTV Simple Client In Kodi 17.3]]
* [[https://flixed.io/kodisrael-repository-kodi/|How to Install Kodisrael Repo on Kodi (2017)]]
* [[https://www.youtube.com/watch?v=yB9EYngneUU|How to Setup LiveTV PVR IPTV Simple Client Kodi XBMC for Android]]
* [[https://www.mobilegeeks.de/artikel/iptv-android-tutorial/|Mit IPTV & Android TV über 400 Sender mit EPG empfangen]]
* [[https://forum.libreelec.tv/thread-4538.html|Flash in Chromium]]
* [[https://raspberry.tips/raspi-media-center/iptv-addons-fuer-kodi-live-tv-mit-dem-raspberry-pi-und-openelec/|IPTV AddOns für Kodi – Live-TV mit dem Raspberry Pi und OpenELEC]]
* [[https://www.youtube.com/watch?v=kBFVF9hGIHw|NO TV Menu in KODI Fix with IPTV PVR Simple client 2]]
* [[https://www.youtube.com/watch?v=bvUvJsDlV9E|KODI IPTV PVR Simple Client - FiX No TV Menu]]
* [[https://github.com/cubicle-vdo/xbmc-israel/issues/218|Cannot load settings]]
* [[https://www.youtube.com/watch?v=w6DJ19QAUuQ|Free live TV Kodi setup May 2016 (IPTV) 875 world channels!]]
* [[https://www.youtube.com/watch?v=zRoBLNU3qso|ADD MULTIPLE IPTV LISTS TO ONE PVR SIMPLE CLIENT XBMC/Kodi]]
* [[http://www.iptvsaga.com/kodi-new-live-tv-pvr-addon-with-auto-epg/#|KODI: New Live TV PVR Addon with Auto EPG]]
* [[http://www.bbtsip.tv/home.html|Big Bad Television Service]]
* [[https://www.youtube.com/watch?v=3zcUqLAixSY|2000 + WORKING IPTV LIVE TV KODI LIST PVR SIMPLE CLIENT AND TROUBLE SHOOTING]]
* [[https://www.tvaddons.ag/livetv-sports-0916/|Best Kodi Addons for Live TV and Sports Streaming (09/2016)]]
* [[https://www.youtube.com/watch?v=qoqUbfK620s|The best Thai TV Addon ever]]
* [[http://www.hometheater.co.il/vt219048.html|IsraeLive]]
* [[https://www.youtube.com/watch?v=sRGpx-Ecd4c|How to Install All-TV IPTV Add-On with SuperRepo]]
* [[https://www.youtube.com/watch?v=hqpydHrxF7o|Kodi (XBMC) - Super Simple Guide to Setup TV/IPTV Streaming and Update Channels]]
==== Others ====
* [[https://superrepo.org/get-started/|How do I install SuperRepo?]]
* [[https://developers.google.com/youtube/v3/getting-started|YouTube Data API Overview]]
* [[http://freaktab.com/forum/advertisers-and-vendor-support-area/wetek/24583-tutorial-setting-up-iptv-on-openelec|Setting up IPTV on openELEC]]
* [[https://www.tvaddons.ag/kodi-addons/repository/swissmindmade/|Repository: Swiss mindmade XBMC Addons]]
* [[https://superrepo.org/kodi/addon/net.rieter.xot.channel.de/|How to install Retrospect German/Swiss/Austrian Channels (Update)?]]
* [[http://www.shashlik.io/download/|Shashlik]]
* [[https://www.youtube.com/watch?v=1V0mSGt9Xeo|HOW TO SETUP IPTV PVR SIMPLE CLIENT IN KODI (STEP BY STEP)]]
* [[http://www.iptvm3u.com/|IPTV M3U STREAMING]]
* [[http://redeneobux.com/en/tutorial-como-adicionar-colocar-instalar-lista-canais-iptv-m3u-pvr-xbmc-kodi/|How to add M3U channel list for the first time]]
* [[http://www.wirelesshack.org/the-top-5-best-kodi-builds.html|Our Picks For The Top 5 Best Kodi Builds]]
* [[http://thebeastkodi.com|The Beast]]
* [[http://www.scoop.it/t/xbmc-by-d-500/p/4048064328/2015/07/21/install-silencerom-wizard-add-on-the-best-kodi-skin-ever|SilenceROM]]
* [[http://wiki.openelec.tv/index.php/Compile_from_source|Compile from source]]
* [[https://github.com/afedchin/pvr.iptvsimple|pvr.iptvsimple]]
* [[http://dvblogic.com/en/|DVBLogic]]
* [[http://dvblogic.com/wiki/index.php/How_to_activate_DVBLink_software_trial|How to activate DVBLink software trial]]
* [[http://iptv.filmover.com/tennis-iptv-playlist/|Tennis IPTV Playlist]]
==== Kodi on Ubuntu ====
* [[https://help.ubuntu.com/community/Lubuntu/Documentation/MinimalInstall| Lubuntu/Documentation/MinimalInstall]]
* [[https://developer.ubuntu.com/en/snappy/start/intel-nuc/|Getting started with an Intel® NUC]]
* [[http://askubuntu.com/questions/389715/how-to-list-installed-package-and-its-details-on-ubuntu|How to list installed package and its details on ubuntu?]]
* [[http://www.ubuntumaniac.com/2016/04/how-to-install-kodi-161-jarvis-on.html|How to Install Kodi 16.1 'Jarvis' on Ubuntu 16.04, Ubuntu 15.10, Ubuntu 15.04 and Before Version]]
* [[https://trick77.com/how-to-install-kodi-ubuntu-server-14-04/|How to install Kodi on Ubuntu Server 14.04]]
* [[http://kodi.wiki/view/kodibuntu|Kodibuntu]]
* [[http://kodi.wiki/view/HOW-TO:Install_Kodibuntu_from_a_USB_drive#Prerequisites|HOW-TO:Install Kodibuntu from a USB drive]]
* [[http://kodi.wiki/view/HOW-TO:Install_Kodi_for_Linux|HOW-TO:Install Kodi for Linux]]
* [[http://kodi.wiki/view/HOW-TO:Autostart_Kodi_for_Linux|HOW-TO:Autostart Kodi for Linux]]
* [[http://forum.kodi.tv/showthread.php?tid=231955&pid=2051116#pid2051116|Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server]]
* [[http://howtouselinux.net/kodi-linux-part-1/|Kodi Linux : The Complete Guide – Part 1]]
* [[http://www.binarytides.com/linux-commands-hardware-info/|16 commands to check hardware information on Linux]]
* [[https://firestickhelp.com/selfless-kodi/|How To Install Selfless Kodi Addon]]
==== Skins ====
* [[https://kodi.wiki/view/Custom_home_items|Custom Home Items]]
* [[https://forum.kodi.tv/showthread.php?tid=306757|Estuary Mod v2]]