Configuring MythTV

From MythTV Official Wiki
(Redirected from Mythtv-setup)
Jump to navigation Jump to search

This page is up-to-date as of MythTV version 34, the current release is 35.0

Once the software has been installed, MythTV must be configured before you can use it. It needs to know what TV tuners you will use, where to store recordings and other files, how you will be using it.

This guide assumes you have already installed MythTV, MySQL, created the MySQL user id and set up your backend to automatically start as detailed in previous sections of this User Manual.

In a new setup, you will need to make sure your capture devices are connected and working. In most cases there are tools outside of MythTV that can test a capture device. This wiki has articles on most capture devices with instructions.

Click to toggle between current and legacy versions
Showing current version (v34 or higher)

Beginning at version v34, MythTV backends are configured via a browser using "the web app". Ensure mythbackend is running as user mythtv on the backend, or start it manually.

sudo -u mythtv mythbackend

and browse to

http://your_backend:6544/setupwizard/dbsetup

Javascript will need to be enabled for your_backend, and firefox users may need to disable Enhanced Tracking Protection for the site as well.

Continue configuration at Setup Database.

Showing legacy versions (prior to v34)

The backend setup program, mythtv-setup, is run on each backend computer. It uses a user interface that is designed for a TV screen, like the frontend. If the backend does not have a physical display attached, the backend setup can still be run remotely from another computer, using ssh Forwarding. If you installed MythTV from the MythBuntu or Ubuntu package the backend will run even if no setup has been done. If you compiled from source the backend will not run until you have setup at least one tuner.

While running the backend setup, mythbackend must be shut down. Otherwise changing existing card inputs, deleting anything, or scanning for channels may not work. If you installed the Ubuntu or Mythbuntu package, a shell script will take care of that for you. If you built from source you should make sure to stop the backend before running setup.

From mythtv 31 using Ubuntu or Mythbuntu package you will be asked to input a password to stop or start mythbackend. The password required is for the current user login (not the mythtv user database password). The reason is that mythbackend is started or stopped using systemctl commands which require sudo permission.

The first time you run this on a new database, you will be prompted to select your Country and Language. If setup exits after this, run it again. You may be prompted to upgrade your database. Confirm the upgrade.

You will now see the GUI for MythTV to setup the backend server and in particular the channel tuning for our broadcast streams.

These screens are designed for use with a TV and keyboard. The mouse will not work consistently. With the keyboard use up and down arrow to move between fields. Use the left and right arrow to select options from a list.

These are the top level menu items available for configuration:

  1. General — General Backend settings
  2. Capture Cards — Add and configure your capture devices here
  3. Recording Profiles
  4. Video Sources — create guide data. This may require you to subscribe to an online service that provides programming information specific to your location and TV service.
  5. Input connections — tell your Capture Card(s) to which Video Source they should connect. (If you are setting up an IR blaster, you will need to add a script here that controls it.)
  6. Channel Editor — scan and configure your channels here
  7. Storage Directories — Configure which folders your recordings will be saved to.
  8. System Events

Continue configuration at Setup_General



↑ Software Installation Setup Database→