I am using Kodi on Leap 15 with KDE Plasma. I’ve imported my music library from my NAS box which streams uPnP media so that the database of files is listed in Kodi, but none of the music files play. I’m wondering if the built-in firewall is blocking the music stream. I opened the uPnP service on the firewall to my local network, but I’m afraid I don’t know how to stop the firewall to test if that is the problem, and if I have to open more services on it so I can play my music on my laptop? I’ve tried searching online for information about this but haven’t had any luck so far. Kodi says ‘one or more files failed to play. Check the log for details’ - but the log in the Kodi GUI doesn’t report anything about it.
Check firewalld status with
sudo systemctl status firewalld
If required, it can be stopped with
sudo systemctl stop firewalld
To start it again
sudo systemctl start firewalld
If you want to share your current firewall configuration, do
sudo firewall-cmd --list-all
and report back here.
Firewalld references:
https://firewalld.org/documentation/
https://www.linode.com/docs/security/firewalls/introduction-to-firewalld-on-centos/
Thanks for that. I stopped the firewall but Kodi still won’t play, so I think it must be an issue with Kodi’s configuration? By the way, my laptop is dual-boot, and I am able to stream off my NAS box in Windows.
So what is the difference in Kodi’s configuration between windows an linux?
Well I’m using a different program in Windows, which is Media Monkey. In Media Monkey I imported my music into its’ database via uPnP and it all plays fine. I’ve just set up Kodi in Windows and imported the library to test it out, but the files don’t play there either. What I have found out now in Kodi on both Windows and Linux is that after setting my NAS music folder as a source, I can then browse the source and play my music. What doesn’t work still is trying to play items in the imported library on either Linux or Windows versions of Kodi. So I have a work around anyway for Kodi in Linux, which is clicking on the source and then browsing through it. Maybe if I imported my music via SAMBA in Kodi that might work, so I’ll try that next, unless anyone has any other suggestions.
It worked on Kodi by importing the database with SAMBA. Maybe there’s a bug in Kodi which stops it working with uPnP.