Mythbuntu Control Panel

From MythTV Official Wiki
Jump to: navigation, search

Software-update-available.png This page is up-to-date as of MythTV version 31, the current release is 31.0

Introduction

Mythbuntu Control Panel (MCP) is installed after installing Ubuntu or Xubuntu, and it is used to install MythTV and perform MythTV related administration tasks. It aims to minimize the need to perform tasks using the command line to configure the system. Also, MCP aims to be compatible with the most recent stable version of MythTV. In some cases, it may be necessary to perform some additional manual configuration tasks, such as using an additional method of ensuring the network is available before the backend starts. Ubuntu can be downloaded from https://ubuntu.com/download/desktop. When installing Ubuntu, the minimal install option can be chosen to avoid installing applications that are not needed, such as a word processor.

Installing MythTV Using Mythbuntu Control Panel on Ubuntu or Xubuntu

The instructions below describe how to install Mythbuntu Control Panel, add a Mythbuntu MythTV Updates repository, install MythTV Backend and MythTV Frontend, perform required system setup tasks, launch MythTV Backend Setup, and set MythTV Frontend to start automatically when the computer starts.

Installing Mythbuntu Control Panel

Use the first option below to install MCP on the most recent long-term-support version of Ubuntu or Xubuntu and receive automatic MCP updates. Use the second option to install MCP on Ubuntu or Xubuntu without enabling automatic MCP updates. With either option, MCP can be used to add a Mythbuntu MythTV Updates PPA to automatically receive MythTV updates.

Option 1:

Open Terminal, and copy the commands shown below.

sudo add-apt-repository ppa:mythcp/mcp
sudo apt-get update
sudo apt install mythbuntu-control-panel

Option 2:

Adding a Mythbuntu MythTV Updates Repository

Using a Mythbuntu MythTV Updates PPA is recommended as it is updated more frequently as compared to the version of MythTV found in the Ubuntu Software application.

Add a Mythbuntu MythTV Updates PPA:

  • Start Mythbuntu Control Panel by clicking on the icon in the Ubuntu or Xubuntu applications menu.
  • Click on the Repositories tab.
  • Click on the check box to activate the MythTV Updates repository.
  • Select the MythTV version to be installed.
  • Click on Apply, and confirm the change.
  • Close MCP, start Software Updater, and install any updates found.


Mcp scrnshot repos.png

Installing MythTV

If you want to watch and record content using the computer being configured, install the primary backend and desktop frontend. If the computer will be used for recording and not viewing content, install the primary backend. If the computer will be used for viewing and not recording content, install the desktop frontend. Select the xmltv option to install XMLTV if needed for your guide data source. XMLTV is required for using Schedules Direct with MythTV v31 and future MythTV versions.

Install MythTV:

  • Click on the System Roles tab.
  • Select the applicable roles.
  • Click on Apply, and confirm the change.
  • Close MCP, and reboot the computer.


MCP scrnshot roles 02.png

Performing System Setup Tasks

Some of the items on this tab may have already been completed when installing MythTV. If a method other than using MCP was used to add the user to the mythtv group, it may be necessary to use MCP to remove the user from the mythtv group and add the user to the mythtv group again using MCP. If only the frontend was installed, some if the items will remain grayed out. The networking option will remain grayed out until the backend is configured and running. Enable the networking option to have the backend wait for the network to be active before the backend starts and to allow other devices on the network to access the backend. Apply the option to run MythTV Backend Setup using the mythtv user if needed for the setup tasks being completed, or apply this option whenever launching MythTV Backend Setup. Enabling the option to run MythTV Backend Setup as the mythtv user will allow MythTV Backend Setup to configure XMLTV as described at https://www.mythtv.org/wiki/XMLTV, or additional manual tasks will be required to configure XMLTV. Stop MythTV Backend before launching MythTV Backend Setup, and do not reboot before launching MythTV Backend Setup. When exiting MythTV Backend Setup, do not run mythfilldatabase when prompted if not running setup as the mythtv user. If the mythtv user is being used when running MythTV Backend Setup, mythfilldatabase can be allowed to run, but do not start the backend when prompted.

Perform applicable setup tasks:

  • Click on the Setup tab.
  • Select the option to add the user to the MythTV group.
  • Click on Apply, and confirm the change.
  • Close MCP, and reboot the computer.
  • Select the option to add a link to config.xml.
  • Click on Apply, and confirm the change.
  • Select the option to run MythTV Backend Setup as the mythtv user if needed or preferred as described above.
  • Click on Apply, and confirm the change.
  • Select the option to stop the backend.
  • Click on Apply, confirm the change and do not reboot.
  • If the backend was installed, click MythTV Backend Setup.
  • Configure the backend depending on what you want MythTV to do, the hardware you have, and the guide data source as described in the wiki.
  • Close MCP, and reboot the computer.
  • If other devices on the network need to access the backend, enable the networking option.
  • Click on Apply, and confirm the change.


MCP scrnshot setup 02.png

Setting MythTV Frontend to Start Automatically

If it is desired to have the frontend start automatically when the computer boots, enable this option. It is also common to access Settings in the Ubuntu or Xubuntu menu, and set the computer to log in automatically.

Set the frontend to start automatically:

  • Click on the Startup Behavior tab.
  • Select the option to enable MythTV Frontend to start automatically.
  • Click on Apply, and confirm the change.


MCP scrnshot startup.png

Mythbuntu Control Panel Development

Additional unstable configuration tabs are included with MCP, and they are disabled by default. The unstable modules can be enabled using the Developmental tab. Enable these on a testing computer or virtual machine. Please help make MCP better by testing these features. If you are familiar with Python, please help make MCP better by contributing code edits. The MCP code is available at https://github.com/mythcp/mythbuntu-control-panel.