Sunday, 1 September 2013

Installing Minidlna on Raspberry Pi

sudo apt-get install minidlna

sudo nano /etc/minidlna.conf

Find the following line:
media_dir=/var/lib/minidlna

Comment this line out and replace/add the following lines instead:
media_dir=P,/media/USB/Photo
media_dir=V,/media/USB/Video
media_dir=A,/media/USB/Music

To start Minidlna at boot type:
sudo update-rc.d minidlna defaults

To disable start at boot type:
sudo update-rc.d -f minidlna remove

Then start the Minidlna server without rebooting by typing:
sudo service minidlna start

If it becomes necessary to do a full database rebuild type:
sudo service minidlna force-reload

No comments:

Post a Comment