Differences between revisions 1 and 9 (spanning 8 versions)
Revision 1 as of 2021-03-03 17:41:09
Size: 573
Comment:
Revision 9 as of 2021-03-03 18:36:05
Size: 1342
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Minidlna is a dlna server with a small footprint, originally designed to run on consumers NAS devices. Installation is fairly simple. Minidlna is a dlna server with a small footprint, originally designed to run on consumer NAS devices. Installation is fairly simple.
Line 23: Line 23:
Configuration is in `/etc/minidlna.conf`. Configure a directory to export.
{{{
media_dir=V,/srv/video
}}}

Set the network interface to export on
{{{
network_interface=eth0
}}}

== Inotify ==

When minidlna starts, you will get the following in your log
{{{
monitor.c:218: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [6] and I do not have permission to increase this limit. Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
}}}

If you want to increase this value to accomodate minidlnas request, pick something above 100000, and add it to `/etc/sysctl.conf`.
{{{
fs.inotify.max_user_watches = "131072"
}}}
Line 25: Line 46:
 * https://forum.excito.com/viewtopic.php?t=3592

Minidlna

Minidlna is a dlna server with a small footprint, originally designed to run on consumer NAS devices. Installation is fairly simple.

For this setup we will use GlusterFS as the file store backend.

Software

Start by installing minidla

apt-get install minidlna

Filesystem

Configure your system as a GlusterFS client, so you have the following in your fstab.

/etc/glusterfs/video.vol /srv/video glusterfs defaults,_netdev,rw 0 0

Configuration

Configuration is in /etc/minidlna.conf. Configure a directory to export.

media_dir=V,/srv/video

Set the network interface to export on

network_interface=eth0

Inotify

When minidlna starts, you will get the following in your log

monitor.c:218: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [6] and I do not have permission to increase this limit.  Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.

If you want to increase this value to accomodate minidlnas request, pick something above 100000, and add it to /etc/sysctl.conf.

fs.inotify.max_user_watches = "131072"

References

None: Minidlna (last edited 2021-03-07 17:18:06 by Kristian Kallenberg)