The MythTV frontend and backend were installed so the system can be used to watch and record TV content, and the system can be used by other MythTV frontends in my home. An Asus H110T was used with Intel graphics. A single hard drive was used for the operating system and all other files. Also, an HDHomeRun Prime was used with Comcast Xfinity.
The guide data source is from SiliconDust and TVMaze, and this differs from the more commonly used Schedules Direct source. This video shows example backend setup steps using Schedules Direct, which differ from the steps shown below.
- Install Ubuntu using the minimal install option. The installation iso file and instructions for installing Ubuntu Desktop LTS can be found at https://ubuntu.com.
- Boot into Ubuntu and start Software Updater.
- Install all available updates.
- Reboot, and repeat steps two and three until Software Updater indicates there are no more updates.
- Set a static IP address:
- Left click on the network icon on the top-right of the screen, left click on the right arrow next to the network connection, and left click Wired Settings.
- Left click the gear icon next to the current working network connection.
- Left click the IPv4 tab.
- Left click Manual, and enter appropriate values for the address, netmask, and gateway. The netmask and gateway values match what my Android phone lists when connected to my home network by tapping Settings, Network and Internet, Wi-Fi, gear icon, and Advanced.
- Left click the toggle to turn automatic DNS off, and enter appropriate values for the DNS addresses. For example, 75.75.75.75,75.75.76.76 is common for Comcast.
- The automatic routes can be left on.
- Click Apply.
- Reboot, start Firefox, and verify the connection is working.
- Install Mythbuntu Control Panel (MCP) by following the instructions here.
- Start MCP, click Repositories, select version 32, and click Apply.
- Close MCP, start Software Updater, and install any updates found.
- Start MCP, click System Roles, select Primary Backend and Desktop Frontend, and click Apply. There is no need to select the XMLTV option if hdhrepg2myth or mythrecmaze is being used as guide data source. Schedules Direct users need to select the XMLTV option.
- Close MCP, and reboot the computer.
- Start MCP, click Setup, and do the following:
- Do the first several steps here to add the current user to the mythtv group and add a link to config.xml. The option to run MythTV Backend Setup as the mythtv user can be used if hdhrepg2myth or mythrecmaze is being used as guide data source, but it is optional. Schedules Direct users need to enable this option to use MythTV Backend Setup to configure the guide data grabber.
- Always select the option to stop the backend if it is running. This item will remain grayed out if the backend is not running. At this step in a new install, the backend will normally not be running.
- Click the MythTV Backend Setup button.
- Setup the backend (part one):
- In General, set the security pin to 0000.
- In General, set the IPv4 primary IP address to the address used in setting the static IP address above.
- In Capture Cards, press enter with new capture card highlighted, press the down key to highlight new capture card, and press enter.
- Select HDHomeRun networked tuner, press the right arrow key, press enter with use HDHomeRun... selected to enable it, and in Recording Options, deselect EIT scanning.
- Repeat the above step three times for the three available tuners.
- In Video Sources, create a new source, name it NG, set the listing grabber to no grabber, the CF table to default, and the network ID to -1. This step will be different for Schedules Direct users (see the video linked to above).
- In Input Connections, create three connections, set the display name to Prime1, Prime2 and Prime3, set the name to MPEG2TS, and set the source to NG. This step will be different for Schedules Direct users.
- In Storage Directories, set the default to /var/lib/mythtv/recordings/, and set live TV to /var/lib/mythtv/livetv/. Do not copy and paste the path text.
- Save, and press Esc to exit myth-setup. Do not start the backend, and do not update the database when prompted upon exiting. This step will be different for Schedules Direct users.
- Reboot the PC.
- Start MCP, click Setup, and apply the option to enable networking.
- Scan for channels and add channels to MythTV:
- Start Firefox, and access the HDHomeRun Prime's web page interface by going to http://my.hdhomerun.com/discover and then going to the "base url" listed on the discover page.
- Left click Channel Lineup.
- Left click Detect Channels, and give it about 20 minutes to detect all channels. The channel numbers should appear as the scan progresses. Channels marked "DRM" will not work with MythTV. With Comcast, only premium channels such as HBO are generally marked "DRM".
- Add channels to MythTV using the hdhrchan2myth.py script. The usage instructions can be found here. This script is compatible with using the guide data sources noted above. If Schedules Direct is to be used, using this script is not recommended. This step will be different for Schedules Direct users (see the video linked to above).
- Start MCP, click Setup, stop the backend if running, and click the MythTV Backend Setup button.
- Setup the backend (part two):
- In Channels, delete or hide the channels that are not needed by pressing the D key or setting the visible option to not visible.
- In Input Connections, set the starting channel to the desired channel number.
- Exit the backend setup. Do not start the backend, and do not update the database when prompted upon exiting. This step will be different for Schedules Direct users (see the video linked to above).
- Reboot the PC.
- Optionally start MCP, and install Mythweb. Mythweb is very convenient for setting and managing recordings.
- Set the sound output in Ubuntu:
- Left click the lower left Show Applications icon, and left click Settings.
- In Sound, set the output to HDMI/displayPort-Built-in Audio.
- Close the settings window.
- Setup the frontend:
- Left click the lower left Show Applications icon, and left click MythTV Frontend.
- In Setup, select Setup Wizard.
- In the wizard, choose an audio device, and select Test Speakers. Change the audio device and test again until the test sound can be heard.
- Also in the wizard, choose VAAPI Normal for the video playback profile. After this step, it should be possible to watch live TV.
- In Video, select Playback.
- Use the arrow keys to highlight Current Video Playback Profile, and press the right arrow key.
- For the vaapi entry, deselect Deblocking filter, and set the primary and fallback deinterlacer to none. I have all 720p channels, so I do not need deinterlacing.
- Set the deinterlacer quality for both rates to none.
- Optionally install hdhrepg2myth using the directions shown here. This provides guide data from SiliconDust.
- Optionally install mythrecmaze using the directions shown here. This provides guide data from TVMaze.
- Start MCP, click Startup Behavior, and apply the option to automatically start MythTV Frontend.
No comments:
Post a Comment