Difference between revisions of "MythTV Light"

From MythTV Official Wiki
Jump to: navigation, search
m (Repository Setup)
m
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  
{{UpToDate 0.28}}  
+
{{UpToDate 30}}  
  
 
== Overview ==
 
== Overview ==
MythTV Light is a prebuilt package for certain Debian based systems. It installs the programs and menu shortcuts, and all dependencies. It does not install the database or any services for starting the backend. It does not install any automated backup operations. Since it is installed using apt-get, uninstalling and upgrading are easy to do.
+
MythTV Light is a prebuilt package for Raspberry Pi Debian based systems. It installs the programs and menu shortcuts, and all dependencies. It does not install the database or any services for starting the backend. It does not install any automated backup operations. Since it is installed using apt-get, uninstalling and upgrading are easy to do.
  
 
MythTV Light includes both frontend and backend components. It can be installed as a remote frontend with little effort. It can also be used for a backend, but you will have to set up the database yourself and set up a service to start up the backend. The package relieves you of the necessity to configure and compile the software.
 
MythTV Light includes both frontend and backend components. It can be installed as a remote frontend with little effort. It can also be used for a backend, but you will have to set up the database yourself and set up a service to start up the backend. The package relieves you of the necessity to configure and compile the software.
  
 
==Raspberry Pi==
 
==Raspberry Pi==
The raspberry Pi models 2 and 3 are supported as remote frontends. Building MythTV yourself on a raspberry Pi is a time-consuming task. MythTV Light packages solve the problem. MythTV Light is available for Raspbian jessie.
+
The raspberry Pi models 2,3 and 4 are supported as remote frontends. Building MythTV yourself on a raspberry Pi is a time-consuming task. MythTV Light packages solve the problem. MythTV Light is available for Raspbian.
  
There are some people running a backend on a Raspberry Pi. This is possible but the capabilities will be limited.
+
There are some people running a backend on a Raspberry Pi models 2 and 3. This is possible but the capabilities will be limited.
  
== i386 and amd64 ==
+
For Pi model 4 a much more comprehensive backend is possible, for more information see mythtv forum topic https://forum.mythtv.org/viewtopic.php?f=46&t=3232
There are MythTV Light packages for desktop computers running Ubuntu. These are an alternative to the packages from MythBuntu, for those who would like to do their own database and service setup. There are also pre-release packages available for the next version.
 
  
 
== Instructions ==
 
== Instructions ==
Line 22: Line 21:
  
 
{| class="wikitable"  
 
{| class="wikitable"  
! Operating System || Line to Add
+
! Operating System || MythTV version || Line to Add
 
|-
 
|-
 
|Raspbian jessie for Raspberry Pi
 
|Raspbian jessie for Raspberry Pi
|<pre>deb http://dl.bintray.com/bennettpeter/deb/ jessie myth28</pre>
+
|<center>0.27</center>
 +
|<code><nowiki>deb http://dl.bintray.com/bennettpeter/deb/ jessie myth27</nowiki></code>
 
|-
 
|-
|Ubuntu xenial for Raspberry Pi
+
|Raspbian jessie for Raspberry Pi
|<pre>deb http://dl.bintray.com/bennettpeter/deb xenial myth28</pre>
+
|<center>0.28</center>
 +
|<code><nowiki>deb http://dl.bintray.com/bennettpeter/deb/ jessie myth28</nowiki></code>
 +
|-
 +
|Raspbian jessie for Raspberry Pi
 +
|<center>29</center>
 +
|<code><nowiki>deb http://dl.bintray.com/bennettpeter/deb/ jessie myth29</nowiki></code>
 +
|-
 +
|Raspbian stretch for Raspberry Pi
 +
|<center>0.28</center>
 +
|<code><nowiki>deb http://dl.bintray.com/bennettpeter/deb/ stretch myth28</nowiki></code>
 +
|-
 +
|Raspbian stretch for Raspberry Pi
 +
|<center>29</center>
 +
|<code><nowiki>deb http://dl.bintray.com/bennettpeter/deb/ stretch myth29</nowiki></code>
 +
|-
 +
|Raspbian stretch for Raspberry Pi
 +
|<center>30</center>
 +
|<code><nowiki>deb http://dl.bintray.com/bennettpeter/deb/ stretch myth30</nowiki></code>
 
|-
 
|-
|Ubuntu xenial for desktop computer
+
|Raspbian buster for Raspberry Pi
|<pre>deb http://dl.bintray.com/bennettpeter/deb xenial myth28</pre>
+
|<center>30</center>
 +
|<code><nowiki>deb http://dl.bintray.com/bennettpeter/deb/ buster myth30</nowiki></code>
 
|-
 
|-
 
|}
 
|}
  
This will get mythtv version 0.28. To get pre-release packages for version 29, substitute myth29 in the above line. Not all packages are available for myth29 at this time.
+
The Mythtv 0.27 version is unsupported, as Raspberry Pi support was only official with version 0.28.  
 
 
There is also a package for Raspberry Pi for MythTV 0.27. Substitute myth27 in the jessie line. This is not a supported version, as Raspberry Pi support was only official with 0.28.  
 
  
 
Run this command once to get keys for the bintray repository:
 
Run this command once to get keys for the bintray repository:
Line 43: Line 59:
 
wget -O - https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
 
wget -O - https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
 
</pre>
 
</pre>
 +
 +
Update the cache
 +
<pre>sudo apt update</pre>
 +
 +
With Raspberry Pi do not perform a full upgrade because updates after version 2017-11-29 of Raspbian Stretch cause problems with MythTV.
 +
 +
Raspbian Stretch has now been replaced with Buster which is required for Pi model 4 and is also the default for all previous Pi models.
 +
  
 
=== Install Package ===
 
=== Install Package ===
Line 53: Line 77:
  
 
Note that if you already have installed the mythtv packages from Ubuntu or Mythbuntu, this will cause them to be uninstalled before installing MythTV Light.
 
Note that if you already have installed the mythtv packages from Ubuntu or Mythbuntu, this will cause them to be uninstalled before installing MythTV Light.
 
==== xenial package ====
 
Note that the version numbering is now based on the MythTV repository. If you had previously installed a MythTV Light package for xenial from github, this one may be seen by apt as a downgrade. To ensure that you get the latest installed you may have to first uninstall the prior version.
 
  
 
=== Install Plugins ===
 
=== Install Plugins ===
Line 64: Line 85:
 
sudo apt-get install mythplugins-light
 
sudo apt-get install mythplugins-light
 
</pre>
 
</pre>
 
==== xenial package ====
 
Currently there is no plugins package for xenial in ths repository.
 
  
 
=== After Installation ===
 
=== After Installation ===

Revision as of 09:22, 1 September 2019

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

Overview

MythTV Light is a prebuilt package for Raspberry Pi Debian based systems. It installs the programs and menu shortcuts, and all dependencies. It does not install the database or any services for starting the backend. It does not install any automated backup operations. Since it is installed using apt-get, uninstalling and upgrading are easy to do.

MythTV Light includes both frontend and backend components. It can be installed as a remote frontend with little effort. It can also be used for a backend, but you will have to set up the database yourself and set up a service to start up the backend. The package relieves you of the necessity to configure and compile the software.

Raspberry Pi

The raspberry Pi models 2,3 and 4 are supported as remote frontends. Building MythTV yourself on a raspberry Pi is a time-consuming task. MythTV Light packages solve the problem. MythTV Light is available for Raspbian.

There are some people running a backend on a Raspberry Pi models 2 and 3. This is possible but the capabilities will be limited.

For Pi model 4 a much more comprehensive backend is possible, for more information see mythtv forum topic https://forum.mythtv.org/viewtopic.php?f=46&t=3232

Instructions

Repository Setup

Add the following line to the file /etc/apt/sources.list:

Operating System MythTV version Line to Add
Raspbian jessie for Raspberry Pi
0.27
deb http://dl.bintray.com/bennettpeter/deb/ jessie myth27
Raspbian jessie for Raspberry Pi
0.28
deb http://dl.bintray.com/bennettpeter/deb/ jessie myth28
Raspbian jessie for Raspberry Pi
29
deb http://dl.bintray.com/bennettpeter/deb/ jessie myth29
Raspbian stretch for Raspberry Pi
0.28
deb http://dl.bintray.com/bennettpeter/deb/ stretch myth28
Raspbian stretch for Raspberry Pi
29
deb http://dl.bintray.com/bennettpeter/deb/ stretch myth29
Raspbian stretch for Raspberry Pi
30
deb http://dl.bintray.com/bennettpeter/deb/ stretch myth30
Raspbian buster for Raspberry Pi
30
deb http://dl.bintray.com/bennettpeter/deb/ buster myth30

The Mythtv 0.27 version is unsupported, as Raspberry Pi support was only official with version 0.28.

Run this command once to get keys for the bintray repository:

wget -O - https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -

Update the cache

sudo apt update

With Raspberry Pi do not perform a full upgrade because updates after version 2017-11-29 of Raspbian Stretch cause problems with MythTV.

Raspbian Stretch has now been replaced with Buster which is required for Pi model 4 and is also the default for all previous Pi models.


Install Package

To install or upgrade the latest package for the version requested:

sudo apt-get update
sudo apt-get install mythtv-light

Note that if you already have installed the mythtv packages from Ubuntu or Mythbuntu, this will cause them to be uninstalled before installing MythTV Light.

Install Plugins

To install or upgrade the frontend plugins:

sudo apt-get update
sudo apt-get install mythplugins-light

After Installation

For a backend installation, continue with installing mythweb, the database, mythtv user, etc. Instructions start at Install MythWeb.

For a remote frontend, all that needs to be done is setup the $HOME/.mythtv/config.xml file.

For Raspberry Pi specific instructions see Raspberry Pi.