How I install miniDLNA on CentOS 7.1 and stream local media to Chromecast

Its 2015 and I am really tired of copying movies to pen drive for watching on TV. Thanks to Chromecast on TV, Localcast App on phone and miniDLNA on laptop, I can flawlessly stream media from phone or laptop to TV. And yes, subtitle is working. With HDMI CEC support I can play and pause from TV remote as well. With YuppTV app I can stream Indian TVs well. These are the steps I followed to install and configure miniDLNA on my Acer netbook running CentOS 7.1.

Install Nux Desktop repository

wget release-0-1.el7.nux.noarch.rpm
sudo yum localinstall -y nux-dextop-release-0-1.el7.nux.noarch.rpm
sudo rpm –import
sudo yum repolist


Install miniDLNA
sudo yum install -y minidlna

Configure miniDLNA
The following is my configuration

grep -v ^# /etc/minidlna.conf | grep  -v ^$

Disable firewalld
sudo systemctl disable firewalld
sudo systemctl stop firewalld

Disable Selinux persistently, this required reboot
vim /etc/selinux/config

Enable miniDLNA
sudo systemctl enable minidlna

Start miniDLNA
sudo systemctl start minidlna

I was unable to view the media files. To fix this, I had to grant 755 permission to /home/brm, as well /home/brm/videos and /home/brm/music.

I use Localcast app on my phone to cast movies and music to Chromecast. Localcast integrates with for subtitles and it’s working really well. Since it’s really working well for me, I ended up buying the pro version mainly to get rid of the Ad.

With HDMI CEC support in my TV, I can use my TV remote to Play and Pause which is really cool.

I also tested Plex Media Server which is more capable but I don’t really need the extra features. I contemplated RasberryPi and Kodi ( XMBC) but I will have to spend some money. Since I already have the resources in the from of Chromecast and an old netbook, I decided to use what I already have.

I am happy.


4 thoughts on “How I install miniDLNA on CentOS 7.1 and stream local media to Chromecast

  1. I have a Ubuntu Desktop, so followed the steps above changing few

    Ubuntu has built in so you can install minidlna without the Nux Desktop repository steps

    sudo apt-get install minidlna

    Copy pasted the above configuration changing the media_dir parameter alone to my settings.

    gksudo gedit /etc/minidlna.conf

    Start the minidlna service

    sudo update-rc.d minidlna defaults
    sudo /etc/init.d/minidlna start

    Liked by 1 person

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s