Minidlna UPnP Media Server through Debian Wheezy Arm

This version is for Arm routers: RT-AC56U, RT-AC68U, Rt-AC87U, AC-3200...

Mipsel version here

1 - Setup Debian Wheezy from here (stock minidlna should be disabled from router ui)

2 - Enter chrooted debian with:

debian enter

3 - Update Debian

apt-get update
apt-get upgrade

4 - Install necessary packages

apt-get install wget libavutil-dev libexif-dev libjpeg8-dev libid3tag0-dev libFLAC-dev libvorbis-dev libsqlite3-dev libffmpegthumbnailer-dev

- Download and install minidlna

cd /var/tmp
wget -c -O /var/tmp/minidlna_1.1.4-a875cd-R.L.Horn_armel.deb https://bit.ly/2xWdibe
dpkg -i /var/tmp/minidlna_1.1.4-a875cd-R.L.Horn_armel.deb

6 - Download startup script

wget -c -O /etc/init.d/S98minidlna-debian https://bit.ly/2JyWDvB
chmod 755 /etc/init.d/S98minidlna-debian

7 - Download configuration file

wget -c -O /etc/minidlna.conf https://bit.ly/2sRcrnh
chmod 755 /etc/minidlna.conf

8 - To create startup script we need to exit debian

exit

9 - Add minidlna to chroted services list

echo "" >>/opt/etc/chroot-services.list
echo "S98minidlna-debian" >>/opt/etc/chroot-services.list
chmod 755 /opt/etc/chroot-services.list

10 - Start minidlna from outside debian together with mounted external folder

debian restart

11 - Go to 192.168.1.1:8200 (this is the default router ip, modify to your router ip if you change it previously) and see how minidlna is creating db, press refresh on your browser for progress.

If all numbers are 0 (zero) after some time, you forget to set the right path to your media folder, read again point 4 from here

minidlna
This is how it looks like on my Samsung TV with thumbnails and filmstrip enabled

Minidla-bookmarks

Enjoy...


CUSTOM LOGO ICON

If for some reason you don't like default penguin minidlna icon, I compiled a special version of minidlna where you can choose any icon as minidlna logo, thanks @R.L.Horn :)

1 - Enter chrooted debian with:

debian enter

2 - Stop minidlna

/etc/init.d/S98minidlna-debian stop

3 - Remove old minidlna db

rm -r /opt/minidlna

4 - Open minidlna.conf

nano /etc/minidlna.conf

Paste after the last line

# PNG image to use for an icon, optionally followed by a hex background
# color
icon=/mnt/icons/myicon.png,7f7f7f

# Background color (hex rgb triplet) for PNG images converted to jpeg.
# Two colors indicate that a checkerboard background, in those colors,
# should be used.
#bgcolor=666666,999999

Save with CTRL-O, press ENTER and exit nano with CTRL-X

Some explanations, for ex. put an icon on EXT_DIR in icons folder and name it myicon.png, or any other place, ex. inside debian etc folder, now icon path should look like this "icon=/etc/myicon.png,7f7f7f"

6 - Exit debian

exit

7 - Restart services

debian restart

Now you have custom logo icon, see two different logos in my pics, one is volvo logo and another from my favorite football team:
minidlna-custom-icon1
minidlna-custom-icon2

REVIEW (CLICK ON THE STARS TO RATE!)
4.5
Sending
User Review
0 (0 votes)