This is a duplicate of 11.04 - UPNP Media server? - Ask Ubuntu, but its answer is over a decade old.
Specifically, we currently have a Windows laptop with WMP acting as a server to a Yamaha RX-A780 receiver (and to other devices). Configuration was as simple as clicking on a button to allow sharing, but it can be slow to respond (and I prefer not to use Windows anyway).
Instead, I want my Ubuntu desktop to be the music server for a large /data/Music
directory.
I tried kodi
, and it works, but:Tour - Software Recommendations Stack Exchange
- it is massive overkill (I don't need movies, games, weather reports, etc.)
- its graphics interface isn't intuitive.
- how to find the specific parts that I want within all the other parts that I don't want isn't obvious.
And more significantly:
- it continuously burns 10% of my CPU 24 hours a day, even when not in use.
- it doesn't automatically notice when new albums are added to the directory.
Is there something available for Ubuntu that's much more lightweight, not doing much more than serving up the music when requested?
NOTE:
I have since noticed that there is a Software Recommendations Stack Exchange site.
That would have been a more appropriate place for me to have asked this question.
minidlna
would appear to satisfy your requirements.it auto scans the directories it is serving and magically appears as a UPNP source on relevant devices. You do need to configure the directories it serves in a file but this is well documented and can be done with symlinks too
sudo apt-get install minidlna
you will then need to configure it - the answer here : How to set up a DLNA server on Ubuntu 14.04? is comprehensive with good links.