Install dleyna-server by entering the following commands in the terminal:
sudo apt update sudo apt install dleyna-server
DBus service to interact with DLNA Digital Media Servers
dleyna-server is a DBus user session service that allows clients to discover and manipulate DLNA Digital Media servers (DMS). . dLeyna is an umbrella project hosting a number of middleware components designed to make it easy for developers to integrate DLNA functionality into their applications.