[RPi4] DLNA access unstable after boot

  • Dear all,

    my setup is as follows:
    Raspberry Pi 4, LibreELEC 12.0.2 with Kodi (Omega) v21.2

    The Raspberry Pi is connected to my network via Wifi. In my network, a Synology NAS is present providing DLNA.
    The server is stored as a favorite.
    What I experience is the following:
    Apparently, the Pi has network connectivity during boot time, since it shows the correct time and date in Kodi after boot.
    When I try to access the DLNA server directly after boot, in most of the cases, I just get a connection error
    If I let the system sit a couple of minutes after boot and do not try to access DLNA, the issue does not appear.
    In case the issue happens, DLNA seems „stuck“ in that non-working state.
    What I do to repair this, is:
    switch off / on DLNA in Kodi settings
    or/and:
    switch off and on wifi connection in Libreelec settings.

    What can I do to better narrow down the problem?

  • I can't offer a fix on your specific problem, however I can suggest a work around that may resolve your DLNA access. I have a Yamaha Soundbar that can use DLNA for network streaming music. The app will not stream using the Kodi DLNA, it shows all the songs but exits playback. Libreelec has an addon available in it's repository called "mini-dlna". I installed this did a bit of SSH configuration of the config file and my DLNA access on my soundbar is all working. There is no conflict with the Kodi DLNA as it creates another server. You could turn off the Kodi DLNA by inselecting UPNP in the settings if you only wanted one server to appear on your network.