Setting Up MiniDLNA on the Raspberry Pi

por | 27 abril, 2023

In this tutorial, we are going to show you how to set up MiniDLNA (ReadyMedia) on your Raspberry Pi.

sudo apt update
sudo apt upgrade
sudo apt install minidlna

sudo nano /etc/minidlna.conf

# * "A" for audio (eg. media_dir=A,/var/lib/minidlna/music)
# * "P" for pictures (eg. media_dir=P,/var/lib/minidlna/pictures)
# * "V" for video (eg. media_dir=V,/var/lib/minidlna/videos)

media_dir=[TYPE],[PATH]

media_dir=A,/mnt/mediaDrive/audio
media_dir=P,/mnt/mediaDrive/pictures
media_dir=V,/mnt/mediaDrive/videos

friendly_name=PiMyLifeUpMiniDLNA

# this should be a list of file names to check for when searching for album art
# note: names should be delimited with a forward slash ("/")
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg/AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg/Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg

----

sudo systemctl restart minidlna