Kodi: Difference between revisions

From Elvanör's Technical Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 17: Line 17:


= LibreELEC =
= LibreELEC =
== General ==


* LibreELEC is a full Linux based Kodi distribution. It works on x86 but also ARM, it has for instance a Raspberry Pi image available. It works very well out of the box and is extremely easy to install and configure (5 minutes and you will be playing videos on Kodi).
* LibreELEC is a full Linux based Kodi distribution. It works on x86 but also ARM, it has for instance a Raspberry Pi image available. It works very well out of the box and is extremely easy to install and configure (5 minutes and you will be playing videos on Kodi).
Line 23: Line 25:
* PlayStation 4 controllers via Bluetooth are well supported on LibreELEC.
* PlayStation 4 controllers via Bluetooth are well supported on LibreELEC.
* xrandr is not available on LibreELEC, but you can use '''tvservice''' which is a similar tool (in particular '''tvservice -s''').
* xrandr is not available on LibreELEC, but you can use '''tvservice''' which is a similar tool (in particular '''tvservice -s''').
* To configure the SSH password, go to Settings -> LibreELEC -> Services -> SSH. This is of course different that the Kodi HTTP password used to remotely control Kodi (via Kore for instance).
== Raspberry Pi ==
* There is a specific configuration file at /flash/config.txt. [https://wiki.libreelec.tv/configuration/config_txt Look at this article to edit it.]
* The second HDMI port does not have sound output by default. The first port (the one that does have sound) is the one nearest to the USB-C power port.

Revision as of 16:33, 21 September 2021

Configuration

  • To restrict resolution and refresh rate while playing videos, you can use the configuration option in System -> Settings -> Display -> Whitelist. You can then whitelist a set of acceptable resolutions and refresh rates. This is very useful if you want to play 4K videos at a lower refresh rate (for instance because your HDMI cable does not support 4K correctly).
  • In Settings -> Player -> Videos, it is important to enable the "Sync playback to display" option (at least on a Raspberry Pi 4 with a TV). Without it, there was a ton of stutter / audio desync on a video source at 25 fps (instead of 24 fps which is more standard). The "Adjust the display refresh rate" may also be useful although it does not seem as necessary.

Retroplayer

  • Kodi (starting with version 18) includes Retroplayer, a game player based on retrolib. You can install normal arcade ROMs (from MAME, Sega Genesis, SNES etc) and directly play them from Kodi (you only need to install the required retrolib cores as Kodi add-ons).
  • It uses the standard file interface of Kodi, which works very well but can be cumbersome for a large collection of games. Several add-ons can be installed to better manage your game collection, such as Advanced Emulator Launcher (AEL).
  • Play a game just as you would play a movie, then it will ask you which core to use for this ROM. Note that for ZIP archives, the default action in Kodi opens them, so you need to bring the contextual menu and choose Play rather than use the default "Enter" action.
  • There is even an add-on named Internet Archive Game Launcher (IAGL) that will automatically download ROMs from the Internet and allow you to launch them.

Issues with Retroplayer (Kodi 18)

  • On some cores, like the Sega Genesis one, multiple controllers are not supported. This is a strange issue as it works perfectly well on Retroarch (on same LibreELEC distribution), and on some cores it works as well on Retroplayer (like the SNES core). But this issue is a blocker for a lot of games.
  • It seems there are no add-ons for the MAME controller profiles, so controllers are not auto-configured on Retroplayer when using the MAME cores (which is a pain). This also does not happen with Retroarch on the same distribution.

LibreELEC

General

  • LibreELEC is a full Linux based Kodi distribution. It works on x86 but also ARM, it has for instance a Raspberry Pi image available. It works very well out of the box and is extremely easy to install and configure (5 minutes and you will be playing videos on Kodi).
  • On LibreELEC 9.2.6 and a Raspberry Pi 4, EmulationStation does not seem to work (yet).
  • You can install RetroArch on a LibreELEC distribution easily (via the gamestarter KODI add-on repository). There are several issues (default Ozone theme does not work and must be changed to XMB, framerates were very low). However, it's still better than using the built-in Retroplayer, since it has several blocker bugs and don't support as many cores.
  • PlayStation 4 controllers via Bluetooth are well supported on LibreELEC.
  • xrandr is not available on LibreELEC, but you can use tvservice which is a similar tool (in particular tvservice -s).
  • To configure the SSH password, go to Settings -> LibreELEC -> Services -> SSH. This is of course different that the Kodi HTTP password used to remotely control Kodi (via Kore for instance).

Raspberry Pi

  • There is a specific configuration file at /flash/config.txt. Look at this article to edit it.
  • The second HDMI port does not have sound output by default. The first port (the one that does have sound) is the one nearest to the USB-C power port.