Is it possible to make a DLNA app?

You can use @Juan_Antonio 's Terminal extension to run ping requests on your local subnet. This can take up to 6 minutes to complete the entire range from 1 - 254. Here are the blocks I used on my local subnet of 192.168.1.* Returns only those IP addresses that responded.

Assumes that your phone/device has an IP address on your local subnet!

The terminal command is:

ping -c 1 -W 1 '192.168.1.*' &>/dev/null && echo '192.168.1.*'

(I got 12 back, and that was with most of my devices turned off! Best do some tracking down!)

Always worth a look: 3 phones, 1 computer, 3 NAS, 2 Smart TVs, 1 Router, 1 Wifi Extender, 1 Google Nest, A Photo Frame, A Fridge, A Shower !!