selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

MiniDLNA logo

Self-host MiniDLNA

v1.0.22

DLNA/UPnP-AV media server for local network streaming

ReleaseOpen SourceOther
Updated15 years ago
LanguageC
Setup difficultyAdvanced
Stars
337
Port
8200 (HTTP (descriptions, SOAP, media transfer) traffic)
Requires
Libavformat (ffmpeg), Libexif, libFLAC, Libid3tag, Libjpeg, Libsqlite3, Libvorbis
Install with Build from Source

What is MiniDLNA?

MiniDLNA is a lightweight DLNA/UPnP-AV media server daemon that delivers audio, video, and image files to compatible devices on a local network. It watches media folders for changes using inotify, extracts album artwork, can stream to TiVo devices via HMO, and offers a strict DLNA mode for broader device compatibility. The program runs on Linux and Unix systems as a background service configured through a single text file. Its codebase uses GPL v2, while the UPnP discovery component is under a BSD license.

Should you self-host MiniDLNA?

MiniDLNA scores 47/100 on selfhost.directory (how scoring works) and ranks #71 of 118 in Media Server. It has 337 GitHub stars.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is advanced: plan for several services and some ongoing maintenance. It is Other-licensed and written mostly in C.

Its closest alternative on selfhost.directory is Jellyfin (88/100, 58 737 stars). It scores higher overall, so compare the two before you pick. See MiniDLNA vs Jellyfin side by side.

Features

  • Album art extraction
  • Automatic media discovery (inotify)
  • DLNA/UPnP-AV compliance
  • Media streaming (audio, video, images)
  • SQLite metadata database
  • Strict DLNA mode
  • TiVo HMO support

MiniDLNA README

How to install MiniDLNA

Install MiniDLNA with Build from Source

See the INSTALL file for instructions on compiling, installing, and configuring minidlna.

Requires build tools and development libraries for dependencies

How to configure MiniDLNA

  • album_art_namesCover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpgFile names to check for when searching for album art

    File names to check for when searching for album art

  • db_dirDirectory where MiniDLNA stores its database and album art cache

    Directory where MiniDLNA stores its database and album art cache

  • enable_tivonoEnable support for streaming .jpg and .mp3 files to a TiVo supporting HMO

    Enable support for streaming .jpg and .mp3 files to a TiVo supporting HMO

    values: yes, no

  • friendly_nameCustom name that shows up on clients

    Custom name that shows up on clients

  • inotifyyesEnable inotify monitoring to automatically discover new files

    Enable inotify monitoring to automatically discover new files

    values: yes, no

  • log_dirDirectory where MiniDLNA stores its log file

    Directory where MiniDLNA stores its log file

  • log_levelgeneral,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warnVerbosity of logged information per section (off, fatal, error, warn, info, debug)

    Verbosity of logged information per section (off, fatal, error, warn, info, debug)

    values: off, fatal, error, warn, info, debug

  • media_dir/optDirectory to scan for media files; can be prefixed with A (audio), V (video), or P (images)

    Directory to scan for media files; can be prefixed with A (audio), V (video), or P (images)

  • minissdpdsocketPath to the MiniSSDPd socket

    Path to the MiniSSDPd socket

  • model_number1Model number the daemon reports to clients in its XML description

    Model number the daemon reports to clients in its XML description

  • network_interfaceNetwork interfaces to serve, comma delimited

    Network interfaces to serve, comma delimited

  • notify_interval900Notify interval in seconds

    Notify interval in seconds

  • port8200Port for HTTP (descriptions, SOAP, media transfer) traffic

    Port for HTTP (descriptions, SOAP, media transfer) traffic

  • presentation_urlDefault presentation URL

    Default presentation URL

  • root_container.Use different container as root of the tree

    Use different container as root of the tree

    values: ., B, M, V, P

  • serial12345678Serial number the daemon reports to clients in its XML description

    Serial number the daemon reports to clients in its XML description

  • strict_dlnanoStrictly adhere to DLNA standards (allows server-side downscaling of very large JPEG images)

    Strictly adhere to DLNA standards (allows server-side downscaling of very large JPEG images)

    values: yes, no

More in Media Streaming

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…