Install DLNA Server On Ubuntu File Server

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

While there are a host of DLNA / UPNP servers out there with a host of features such as on-the-fly transcoding to formats that client devices can handle, I was looking for a simple and easy to use DLNA server which I can use to feed content to my Smart TV or my Android Smart Phone / Tab or any other smart devices out there. Since these days we depend so much on smart devices I gather that we as human beings are becoming less and less smart 😉

The reason for “light weight” DLNA server was dictated by the fact that I wanted it to run on a single board computer (Beagleboard) which I had used to create my own NAS / File Server / Cloud storage which runs headless Ubuntu Server.

It seems that most people are using uShare or Rygel or PS3 Media Server etc.  but I personally like MiniDLNA (aka ReadyDLNA) better, due to its ease of installation and configuration and it goes easy on the Single Board Computer.

Installation on Ubuntu is breezy:

sudo apt-get install minidlna

Post installation, configuration can be done by editing the following file:

nano /etc/minidlna.conf

Edit the file to add your media directories, at the end it would have the uncommented lines which might look like this

$ grep -o “^[a-z].*” /etc/minidlna.conf
port=8200
media_dir=V,/home/user/media/Movies
media_dir=A,/home/user/media/Music
media_dir=P,/home/user/media/Pictures
friendly_name=Shrot DLNA
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
inotify=yes
enable_tivo=no
strict_dlna=no
notify_interval=900
serial=12345678
model_number=1

Now just force-reload MiniDLNA (force-reload rescans the folders) using the following command

sudo /etc/init.d/minidlna force-reload

and that should be it!  The server now shows up on my Galaxy Tab 2 and I can play any media using VLC or any other suitable media player.

2013-04-01 21.50.35

You might also like

TVersity Like App (UPnP Server) for Linux (Ubuntu) While TVersity...
Remote Access to VirtualBox Guest OS Via RDP VirtualBox...
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! If you get...
VirtualBox Remote Display Using RDP Protocol Getting your...

About the Author

has written 346 posts on this blog.

Meditating towards his "nerdvana", lifehacker is a teacher by the day and a nerdy blogger by the night. He lives to learn and yearns to learn living.

2 Comments on “Install DLNA Server On Ubuntu File Server”

  • Rubin wrote on 23 April, 2013, 23:08

    Hello to every one, it’s in fact a nice for me to visit this website, it contains important Information.

    Like or Dislike: Thumb up 0 Thumb down 0

    [Reply]

Trackbacks

  1. DIY Webcam Server or Home Security / Monitoring Setup Using BeagleBoard XM Running Ubuntu - Hack Your Life!

Write a Comment

Gravatars are small images that can show your personality. You can get your gravatar for free today!

*

Copyright © 2017 Hack Your Life!. All rights reserved.
Proudly powered by WordPress. Developed by Deluxe Themes