Archive for February, 2017

MythTV on a Synology NAS

I have a DiskStation 1512+, which has an Atom D2700 CPU with two cores running at 2.13 Ghz and 3 GB of RAM.  While it’s not speedy by today’s standards, DSM is easy to use and includes the ability to do a lot with a few mouse clicks, including run Docker, which in itself gives you a lot of flexibility.  I also have an HDHomerun Prime tuner, which would seem to be a good match for MythTV, if I could get it running on this NAS.

I’ve looked into running MythTV on Docker in the past.  Searching around the net, I’ve found people talking about it, and there are even some Docker images available for MythTV, but documentation hasn’t exactly been a strong point.  There is an image for Unraid of an older version of MythTV, but I wanted to use .28.  Fortunately, someone made a newer container with that version!  It works on a Synology, if installed correctly…  With a few caveats.  And since I had trouble finding good instructions on getting this to work on a Synology NAS, I thought I would post it here for anyone else who wants to try this.

My Installation
1. DSM 6.1-15047
2. Docker 1.11.2-0316 installed via Package Center

To Install

  1. Login to DSM and start Docker
  2. Go to the Registry and search for MythTV
  3. Download mp54u/myth28:latest
  4. When done, to the the Image section, click on the image and hit the Launch button
  5. In the Create Container window that pops up, hit the Advanced Settings button
  6. Click on the Network tab, then check the box Use the same network as Docker Host
  7. On the Volume tab, create three mount paths:
    1. Create/Select /media/MythTV and set the path to /home/mythtv
    2. Create/Select /media/MythTV/recordings and set the path to /var/lib/mythtv
    3. Create/Select /media/MythTV/db and set the path to /db
  8. On the Environment tab, add a variable called TZ and set the value to  the appropriate timezone.  In my case, this was America/New_York.  There should be no spaces in the name here.  Google for Linux and TimeZones and you’ll probably be able to find a list of them.  Make sure to use the right one.
  9. Launch your new MythTV container.  Give it a couple minutes before continuing.
  10. Open a VNC client.  Put in your DiskStation’s IP, and remote control it.
  11. You should be logged into your Docker now.

Note:  The username and password are both mythtv.

At this point, you should be able to run the MythTV Backend Setup tool and configure MythTV.  After it’s configured, MythWeb will be running on your DiskStation, port 6760.

This forum post, which is a little specific to Unraid and involves the older docker image with MythTV .25 or so, should help you set it up past this point.  Note – He talks about using RDP to control it, but that did not seem to work when using Host networking, but VNC did from my Mac (using Chicken of the VNC).  Be aware that I have had issues exiting from the MythTV Backend Setup tool where VNC seems to lock up.  I’ve had another time where it exited normally, but the Backend didn’t seem to start afterward.  In both cases, a quick restart of the Docker container got it back up and running again.  If anyone comes across these issues and figures out a good long term fix, please leave it in the comments!

Front End
In my opinion, about the best front end that will run on a set top box is MrMC.  It’s available for AppleTV and for FireTV and is pretty inexpensive.  It includes the MythTV PVR add-on and is easy to configure, especially if you have experience with Kodi.

February 28, 2017 at 11:33 pm 4 comments


February 2017

Posts by Month

Posts by Category