Linux

Where Is the MiniDLNA Config File on Linux?

MiniDLNA reads /etc/minidlna.conf on Linux, with its media database in /var/cache/minidlna.

Last updated

MiniDLNA (ReadyMedia) configures through /etc/minidlna.conf: media directories, friendly name, ports, and rescan behavior. One file runs the whole server, which suits small NAS boxes.

The scanned media database lives apart in /var/cache/minidlna. Forcing a rescan rebuilds it from the folders, which takes a while on big libraries. Back up the conf file; the cache rebuilds itself after moves.

Where MiniDLNA stores this, by platform

Linux
/etc/minidlna.conf

Media dirs, ports, and scan options. Root owned. Restart the minidlna service after edits and watch logs for unscanned folders.

Linux
/var/cache/minidlna

Scanned database and art cache. Delete to force a clean rescan. Rebuilds take a while on big libraries, so schedule them.

Frequently asked questions

How do I add media folders to MiniDLNA?

Add media_dir lines in /etc/minidlna.conf with type prefixes for audio, video, and pictures. Restart the service and trigger a rescan to index them.

Where is the MiniDLNA database?

Under /var/cache/minidlna by default, path set in the conf. Wiping it only costs rescan time. The conf file is the real backup.

Notice an outdated path? Let us know.