This is a copy of the post I made on Thoradia thread by accident.
I've installed miniDLNA from default add-on library and got it running. The actual PuTTy cmd commands are:
>>> systemctl start service.minidlna
>>> systemctl stop service.minidlna
>>> systemctl restart service.minidlna
>>> systemctl status service.minidlna
I now have LE 9.0.1 installed on the internal NVME drive and there are 2 external USB's - NTFS formatted as SSD-500 and WD3Tb
LE mounts these USB's automatically at boot and shares them to local network across SAMBA - nothing to tweak there, apart from LE options.
After installing miniDLNA add-on on LE, all you need to do is stop the service using PuTTy and edit minidlna.conf which is located here -
\\192.168.1.LE_IP > Userdata > addon_data > service.minidlna > config > minidlna.conf
When you 2-click on the file, it opens in Word and changes that you make are saved to conf in ASCII.
After applying the changes - go back to PuTTy, start the service and check the status
The most difficult part is providing correct path(s) to media sources. My "cleaned-up" <minidlna.conf> looks like this:
media_dir=/var/media/SSD-500
media_dir=/var/media/WD3Tb
media_dir=./storage/downloads
friendly_name=miniDLNA
inotify=yes
enable_tivo=no
strict_dlna=no
serial=12345678
model_number=1
notify_interval=1800
miniDLNA builds a library very fast, all 3 sources are getting scanned and broadcasted across DLNA including artwork embedded in FLAC's
Had a bit of trial and error with "downloads" before figuring out there should be a dot in <media_dir=./storage/downloads> line
Very happy
Hope someone finds this little [How-To] useful.