Install HTPC Manager on Mac OSX

htpc-managerHTPC Manager is an all-in-one management system for your home media server and media center. Thanks to hellowlol's fork, HTPC Manager supports Sonarr and Sickrage as well as Plex, Kodi, CouchPotato and others. It even supports usenet software Sabnzbd and NZBGET along with torrent software like Transmission and uTorrent. The benefit of HTPC Manager is you have a centralized management center so you only need 1 login to access all of your software services, this means fewer open ports and more security. This guide was tested on Mac OSX Yosemite but should work on Mavericks and other versions of the Apple operating system.

Install HTPC Manager on Mac OS X

You need x-code tools which is a collection of command line tools which includes git which is necessary to grab the latest HTPC Manager

All of the following commands are run in the Mac Terminal

xcode-select --install

Install Pip for easy installation of Python modules

sudo easy_install pip

Install Python Modules

Install CherryPy for the HTPC Manager web server

sudo pip install CherryPy

Install Psutil for retreiving CPU and other system information

sudo pip install Psutil

Install Pillow for image processing to display movie and TV show posters

sudo pip install Pillow

Install Homebrew Utilities

You need to Homebrew first for smartmontools and vnstat on Mac OSX

ruby -e "$(curl -fsSL"

Install Smartmonitoring tools for hard drive info

brew install smartmontools

Install Vnstat using Homebrew for network traffic stats through your ethernet or wireless adapter

brew install vnstat

Make vnstat start on boot by copying the plist file and changing the owner to root

sudo cp -fv /usr/local/opt/vnstat/*.plist /Library/LaunchDaemons
sudo chown root /Library/LaunchDaemons/homebrew.mxcl.vnstat.plist

Start vnstat now by invoking the plist

sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.vnstat.plist

Install HTPC Manager

git clone /Applications/HTPCManager

Enter the HTPC Manager folder

cd /Applications/HTPCManager

Start HTPC Manager



Autostart HTPC Manager on Mac OSX

In terminal, create the LaunchDaemons folder if it doesn't already exist

mkdir -p ~/Library/LaunchDaemons

Create the HTPC Manager plist file

nano ~/Library/LaunchDaemons/htpcmanager.plist

Paste this HTPC Manager Mac OSX plist script

<plist version='1.0'>

Reboot and you can access HTPC Manager on your Mac at http://ip.address:8085
If it doesn't autostart you may need to use the LaunchAgents file instead so copy the plist file there using the Terminal

cp ~/Library/LaunchDaemons/htpcmanager.plist ~/Library/LaunchAgents/htpcmanager.plist

This concludes the install HTPC Manager on Mac OSX guide, a configuration guide will follow in the future.