Macast is a cross-platform application which using mpv as DLNA Media Renderer.
A script in Python 3 to turn mpv into a DLNA / UPnP renderer
A script in Python 3 to turn mpc-hc into a DLNA / UPnP renderer
Control your "Media Player" using UPnP™
Applications and libraries based on the UPnP (Universal Plug and Play) standard for networked multimedia and home automation