# MythTV 0.27 on MacPorts using HDHomeRun Prime and schedules direct

- Link: https://tongfamily.com/2015/01/30/mythtv-0-27-on-macports/
- Published: 2015-01-30T23:18:00-08:00
- Author: rich

Trying to build this. We used 0.25 for a long time, but this is now obsolete. And
the RAID0 drives were showing problems, so went to a complete rebuild with [MythTV with MacPorts](http://www.mythtv.org/wiki/Building_Myth_for_Mac_with_MacPorts#Build_and_Install_Myth_0.27.4).
It now uses mariadb instead of mysql.
 So onto running [setup for Mac MythTV](http://www.mythtv.org/wiki/MythTV_on_Mac_OS_X)
isn’t the same as the [MacPorts setup](http://www.mythtv.org/wiki/MacPorts) and 
isn’t quite right as it assumes /opt/dvr but MacPorts puts it in /opt/local, so 
here are the changes and the most important thing is that the mariadb so it needs
a different path and mysql so we had to add mariadb to the path and then change 
from /opt/dvr to /opt/local for the rest

    ```
    echo "export PATH="/opt/local/lib/mariadb/bin:$PATH" &gt;&gt; ~/.profile
    source ~/.profile
     sudo -u <em>mysql mysqlinstall</em>db
    sudo cp /opt/local/share/mythtv/database/my.cnf /opt/local/etc/mariadb
    sudo launchctl load -w /Library/LaunchDaemons/org.macports.mariadb-server.plist
    mysql -u root &lt; /opt/local/share/mythtv/database/mythconverg_init.sql
     ```
    Now make sure the mysqld is running and then run:
    ```

mysql -u mythtv -p mythconverg
 “` And see if the password mythtv works Finally 
load the timezone data which 0.27 needs: ` mysql_tzinfo_to_sql /usr/share/zoneinfo
| mysql -u root mysql  The setup utility from /Applications/MacPorts/MythTV/MythTV_Setup
doesn’t work, but mythtv_setup from the command line does Finally we need to install
[HDHomeRun Prime](http://www.mythtv.org/wiki/Silicondust_HDHomeRun_Prime) which 
is complicated but straightforward, it pretends it is three tuners. Then run MythBackend
from /Applications/Macports/MythTV Then run MythFrontend and do the setup there.
Schedulesdirect.org === Using Schedulesdirect.org is the only way to get a program
guide. They are a reasonable $25/year for this. One tricky part is what channels
to show. The HD HomeRun Prime cannot handle encrypted stations, so you need to turn
off the HBO and other stations. 

### Share this:

 * [  Mastodon ](https://tongfamily.com/2015/01/30/mythtv-0-27-on-macports/?share=mastodon)
 * [  LinkedIn ](https://tongfamily.com/2015/01/30/mythtv-0-27-on-macports/?share=linkedin)
 * [  Facebook ](https://tongfamily.com/2015/01/30/mythtv-0-27-on-macports/?share=facebook)
 * [  WhatsApp ](https://tongfamily.com/2015/01/30/mythtv-0-27-on-macports/?share=jetpack-whatsapp)
 * [  Email ](https://tongfamily.com/2015/01/30/mythtv-0-27-on-macports/?subject=%5BShared%20Post%5D%20MythTV%200.27%20on%20MacPorts%20using%20HDHomeRun%20Prime%20and%20schedules%20direct&body=https%3A%2F%2Ftongfamily.com%2F2015%2F01%2F30%2Fmythtv-0-27-on-macports%2F&share=email)
 * [More](https://tongfamily.com/2015/01/30/mythtv-0-27-on-macports/#)

 * [  Telegram ](https://tongfamily.com/2015/01/30/mythtv-0-27-on-macports/?share=telegram)
 * [  Print ](https://tongfamily.com/2015/01/30/mythtv-0-27-on-macports/#print?share=print)
 * [  Pinterest ](https://tongfamily.com/2015/01/30/mythtv-0-27-on-macports/?share=pinterest)
 * [  Tumblr ](https://tongfamily.com/2015/01/30/mythtv-0-27-on-macports/?share=tumblr)
 * [  X ](https://tongfamily.com/2015/01/30/mythtv-0-27-on-macports/?share=twitter)

### Like this:

Like Loading…
