If you’re looking to install a minimal MiniDLNA (now known as ReadyMedia) setup on Armbian, here’s how you can do it efficiently:


1. Update Your System

First, ensure your package list is up-to-date:

sudo apt update
sudo apt upgrade -y

2. Install the minidlna Package

MiniDLNA is available in the default repositories, so you can install it with:

sudo apt install minidlna -y

This will install MiniDLNA with its minimal dependencies.


3. Configure MiniDLNA

Edit the configuration file to set up your media directories and other options:

sudo nano /etc/minidlna.conf

Key options to customize:

  • Media directories: Specify where your media files are stored.

    media_dir=A,/path/to/music
    media_dir=P,/path/to/pictures
    media_dir=V,/path/to/videos
    

    Use A, P, or V to specify Audio, Pictures, or Videos.

  • Friendly name (optional): Give your DLNA server a recognizable name.

    friendly_name=My DLNA Server
    
  • Database location: Set the path where the database is stored.

    db_dir=/var/cache/minidlna
    
  • Log directory: Specify where log files are stored.

    log_dir=/var/log/minidlna
    

4. Restart and Enable MiniDLNA

After making your changes, restart the MiniDLNA service:

sudo systemctl restart minidlna

Enable it to start automatically on boot:

sudo systemctl enable minidlna

5. Test Your Setup

MiniDLNA will be running on port 8200 by default. You can verify it is running with:

sudo systemctl status minidlna

To test it, access the web interface in a browser:

http://<your-OrangePi-IP>:8200

6. Scan Media Files (Optional)

If you add new media files, you can manually trigger a scan:

sudo minidlnad -R

Minimal Footprint

MiniDLNA is designed to be lightweight and minimal by default, so there’s no need for additional tweaks unless you have specific requirements.

Let me know if you need help with further customization! 😊