Sony finally released a DLNA media player for the PlayStation 4 on June 16, 2015. I don’t have a lot of streamable media, but what I do have is stored on my laptop.
Sudo /Applications/Install OS X Yosemite.app/Contents/Resources/createinstallmedia -volume /Volumes/Untitled -applicationpath /Applications/Install OS X Yosemite.app —nointeraction. Replace Untitled with name of the USB drive (Yosemite) For additional information, see: Create a bootable installer for OS X. If you need to create a Yosemite beta install drive while booted into Snow Leopard, you should use the Disk Utility instructions, below. Using the createinstallmedia command in Terminal.
I have used Plex in the past, but it is overly complicated and “heavy” for my needs. I wanted a light weight DLNA server that could be daemonized and point to a media directory. minidlna turned out to be the answer.
First, install Homebrew. You can install minidlna manually, but Homebrew makes everything much easier.
Once Homebrew is installed, install minidlna:
At the time of writing, I setup version 1.1.4.2 minidlna. The rest of this post will reference that version. Change the version as needed.
If you want minidlna’s directories, files, and logs to reside in the .config directory of your home folder, create the following directories. Otherwise, create them elsewhere.
For some reason brew
does not setup the necessary minidlnad symlinks. So, create them manually:
Create Install Media Yosemite Download
Create file ~/.config/minidlna/minidlna.conf with the following contents. If your media is not stored in /Users/foo/.config/minidlna/media, change media_dir to the directory of your choice:
Finally, start minidlnad
:
If you have the OS X Firewall turned on, you will be prompted to allow minidlnad
through the firewall. Of course, allow it through if you want to be able to stream anything.
By default, minidlnad will scan for new media every 895 seconds. You can change this by killing the current minidlnad
process:
Mac Yosemite Install
And starting minidlnad
with the following command:
You can force a re-scan of your media directory by killing the minidlnad
process and starting it with the following command:
Create Install Media Yosemite
Now, you should be able to open Media Player on your PS4 and stream your media. Supported media formats can be found here.