Stream Movies from Ubuntu Shared Folder to Samsung Smart TV

Set Up Sharing Folder Service at Ubuntu

Install minidlna service

sudo apt-get install minidlna

Configure /etc/minidlna.conf (sets WHICH FOLDERS to use AND who is using the service)

edit /etc/minidlna.conf :

sudo vim  /etc/minidlna.conf 

Notes: for vim, press insert to edit the file, then press escape “:x” to save changes.

Configure the path & friendly name

media_dir=[path to folder you want to share]

friendly_name=wanrazaliUbuntu

minidlna conf - media path
minidlna conf – media path
minidlna conf - friendly name
minidlna conf – friendly name

Configure user:

USER=root
minidlna - conf - user root
minidlna – conf – user root

Save the changes

press Escape
followed by :x 

Configure /etc/default/minidlna (sets WHO the service runs as)

sudo vim /etc/default/minidlna

Configure user as root

USER="root"
minidlna - conf - user root
minidlna – conf – user root

Save the changes

press Escape
followed by :x 

Restart minidlna service

sudo service minidlna force-reload 

Access the Folder at Samsung Smart TV

Go to input source, you will see friendly name that has been set.

samsung smart tv - source view ubuntu nas
samsung smart tv – source view ubuntu nas
samsung smart tv - folders inside the ubuntu nas
samsung smart tv – folders inside the ubuntu nas

Video on Accessing the Ubuntu NAS

References:

http://mylinuxtechcorner.blogspot.com/2013/09/smart-tv-streaming-from-ubuntu-nas.html
Running minidlna on Ubuntu