ReadyMedia

From ArchWiki
Revision as of 12:17, 5 June 2012 by Gen2ly (Talk | contribs) (Gen2ly moved page Minidlna to MiniDLNA: Proper name)

Jump to: navigation, search

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

MiniDLNA is an open-source UPnP media server. While not as feature-rich as Mediatomb (for example, transcoding is not supported), it A) is actively developed, B) is much easier to configure, and C) works well with Xbox 360. It can also be considered an alternate to uShare.

Installation

To install, run the following command:

# pacman -S minidlna

Configuration

The configuration file is /etc/minidlna.conf, and is well-documented. The following is the only parameter you need to set in order to get MiniDLNA to work:

media_dir=/path/to/media

You may specify additional media_dir lines to share additional directories. MiniDLNA runs as the nobody user, so any directory you include will need to be readable by this user.

By default, the name of the server your DLNA client will see will be hostname : nobody. If you would like to change this, set the friendly_name parameter:

friendly_name="My Media Server"

While not necessary, it is a good idea to also enable MiniDLNA's cache (so the database and album art cache do not need to be re-created on every restart) and logging capabilities. To do so, create the necessary directories and chown them to nobody:nobody.

# mkdir /var/{cache,log}/minidlna
# chown nobody:nobody /var/{cache,log}/minidlna

Then, set the following parameters in the config file:

db_dir=/var/cache/minidlna
log_dir=/var/log/minidlna

If you experience a problem with the permissions denied error you can change which user minidlna runs as by editing this config file.

# nano /etc/conf.d/minidlna.conf

If you experience a problem and you have two (or more) network interfaces (including bridges) then the network_interface option should be set according to your specific configuration.

You can start MiniDLNA using the initscript in /etc/rc.d/, and start it at boot by adding to the DAEMONS array in /etc/rc.conf.