However, I got another issue: my LG TV (OLED55C7V) can see PMS in the list of available DLNA devices but it says the server is offline. Something that gets me suspicious is that the TV doesn’t provide the custom name of the PMS server but just “Plex media server”.
I’ve found this thread that clearly corresponds to the issue I’m having:
The issue is solved by adding LG TV’s IP address to the ‘List of IP addresses and networks that are allowed without auth’ (Settings → Server → Network).