The new system from mini-itx.com, came in a tidy little chassis which housed the AMD Ryzen 7 processor, 16Gb RAM, 1 x 2GB NVMe, 1 x 4TB NVMe and 2 x 4TB SSD, and Intel AX210NGW wireless card which works perfectly with the AMD CPU.
Installing Ubuntu 24.04 is as always nice and straight forward, installing the bare minimum. Kodi is now part of the Ubuntu repo, so also straight forward. The Ubuntu installation with Kodi supports a Microsoft MCE style I.R. remote reasonably well, unlike other systems.
Once the media libraries were in place I have a Python script that allows me to set or unset watched flag in bulk.
My favourite skin is the Aeon NOX: Silvo. Once I'd got everything as required then came the serious element of watching.
Another feature was to make use of Kodi's UPNP feature to enable LG TV's media player and Roku media player to stream media from the Kodi system and provide the same convenient method of browsing the files, without having to deal with files missing because the library couldn't understand the file, which is the issue you get with systems such as Emby, Jellyfin and others. So Kodi works better when sharing media to other devices, and easier to find what you want.
After a while it became apparent that Kodi wad temperamental in shutting down using the menu. Searching the internet provided various solutions;
- polkit fixes due to permissions required to allow the user to shutdown the system without requiring sudo.
- kernel setting through Grub to deal with BIOS power drivers.
There were some others, but after trying these, nithing worked. Even trying to use Mint, only made things worse as the MCE controller didn't work as well and it still didn't shutdown.
The solution to the shutdown problem, after reverting back to Ubuntu, turned out to be the most obvious, but the least obvious, since it was not posted anywhere. The solution:
Use the default skin Kodi is installed with. This fixed all the problems.
The next problem, was that of a disappearing and temperamental UPNP service. This was due to their being configuration in multiple locations;
- upnpsettings.xml
But there are others. Not in the database files.
I've yet to look for where else the UPNP service is configured, but a fresh .kodi directory and copying your original database directory back in and configuring UPNP service resolved the issue.
Finally, I like to see what's coming, and IMDB Trailers is a must. This is a fix that is well documented on the internet, which requires you to set the cacerts as Kodi and its plugins tend to have the wrong certs. The following command fixes this issue;
ln -s /etc/ssl/cert.pem /usr/share/kodi/system/certs/cacert.pem.