Streaming Video Server (DLNA)

MiniDLNA is server software with the aim of being fully compliant with DLNA/UPnP clients. The MiniDNLA daemon serves media files (music, pictures, and video) to clients on a network. Example clients include applications such as totem and xbmc, and devices such as portable media players, smartphones, and televisions.

MiniDLNA is a simple, lightweight alternative to MediaTomb, but has fewer features. It does not have a web interface for administration and must be configured by editing a text file.

Brief instruction:

On your Ubuntu server:

Install minidlna: sudo apt-get install minidlna
Configure /etc/minidlna.conf

On your android devide:

Install bubbleupnp or any other dlna/upnp client
Select your server

Installation in details:

sudo apt-get install minidlna

Configuration Globally (for all users)

The configuration file is /etc/minidlna.conf and these are the necessary descriptors:

#network_interface=eth0 # Self-discovers if commented (good with NetworkManager)
media_dir=A,/home/user/Music # Use A, P, and V to restrict media 'type' in directory
media_dir=P,/home/user/Pictures
media_dir=V,/home/user/Videos
friendly_name=Laptop # Optional
db_dir=/var/cache/minidlna # Needs to be un-commented
log_dir=/var/log # Needs to be un-commented
inotify=yes # 'no' for less resources, restart required for new media

Restart the daemon for changes to take effect:

sudo service minidlna restart

To rebuild the database use:

sudo service minidlna force-reload

All done, now start your DLNA app on your android tablet and enjoy.

See photo as I am watching a pre-recorded History Channel TV program over WIFI (DLNA) on my android tablet.