Minidlna

MiniDLNA is a simple media server software, with the aim of being fully compliant with DLNA/UPnP-AV clients.


Installation

# apt-get install minidlna


Configuration

There is no GUI so you will have to use a text editor to make changes to the files listed below.

/etc/minidlna.conf
This is the main config file where most changes will be made.
/etc/default/minidlna
Change the user and group that the server is run as here.
/etc/init.d/minidlna
You should not have to change anything in this.


Troubleshooting

It is best to have a seperate partition or folder *outside* your "home" directory devoted to your media. Default user is minidlna and can be changed above.

e.g. /home/$USER/Videos --> /mnt/Videos

Again check permissions on your files and remove special characters from file names.

e.g. "~~$$#$My Video $(*.mp4" --> My Video.mp4

Increase the number for the system

/etc/sysctl.conf Add: "fs.inotify.max_user_watches=65536" in a blank line by itself.

Specify another location

$ minidlnad -P /home/$USER/.minidlna/minidlna.pid