How To Install Mythbuntu

Summary

How To Install Mythbuntu

How To Install Mythbuntu

This tutorial describes how to install Kodi and access it from a menuon your MythTV PVR.

There are great features to both MythTV and Kodi. MythTV is anexcellent PVR for recording and watching your favourite TV shows. Onthe other hand, Kodi shines as a media center and works well forstreaming video. Rather than forcing a choice of one over the other,why not have both! This tutorial will show you how.

You have two choices when installing MythTV on Ubuntu. You can either install from the standard Ubuntu, Kubuntu or Xubuntu CD and then add the additional packages or try the ready made Mythbuntu distribution. Mythbuntu contains all the packages you need for Ubuntu and MythTV on one CD. If you are interested in learning how to install Mythbuntu on your computer, keep reading for step-by-step instructions. Step 1: Go To The Website. The first step to installing the Mythbuntu operating system, not to be confused with the Biotech operating system, is to visit their website. Go to www.mythbuntu.org to begin your installation.

These steps were documented using Mythbuntu 14.04 which uses MythTV0.27.

How

Contents

Background

Occasionally I like to stream a show from a TV Network's web site, orI simply wish to watch an Internet video on the living room TV. Inthe past I used theFirefox web browser from MythTVto stream the video. However navigating in Firefox requires a mouseor touchpad, and I really wanted something that would work with my MCEremote control. The solution I found is the Kodi media center wherevideos can often be easily streamed using the Video Add-ons section ofKodi.

For the curious, Kodi is the new name for what was previously calledXBMC (X Box Media Center).

A. Open a Terminal Window

Many of the following steps require a terminal window to enter commands.

If you haveConfigured MythTV Automatic Wakeup and Shutdownon your Mythbuntu PVR, then see that tutorial section forTemporarily Using PVR as a Desktop Computer. Remember to Lock Shutdown.

Start Applications -> System -> Xfce Terminal to open a terminalwindow.

B. Fix Video Tearing on XFCE [Optional]

If you previously followed the tutorial forTear Free Firefox Menu in MythTVthen you can skip ahead to the next step.

Otherwise if you experience video tearing then see my other tutorialsectionFix Video Tearing on XFCEto install the compton compositor.

C. Install Kodi Media Center

  1. Update the system package lists.

  2. Add the Kodi (formerly XBMC) Personal Package Archive (PPA)

  3. Reload the system package lists.

  4. Install Kodi

Kodi should now be installed. You can invoke kodi from a terminalto start the media center.

When I first started kodi I saw a prompt for TheAudioDb.com for MusicVideos that indicated Add-on is incompatible or has been markedbroken in repository. I choose Yes to disable this add-on on mysystem.

D. Install Video Add-ons in Kodi

With Kodi up and running, install a few Video Add-ons to watch videosources.

  1. Navigate left to Videos.

  2. Navigate down to Add-ons and press Enter.

  3. Navigate to Get more... and press Enter.

    TIP: Is the list of video add-ons empty?
    If the list of video add-ons is empty after pressing Enteron Get more... then press left arrow to access theside menu. Next navigate down to Check for updates andpress enter. Press right arrow to close the side menu.

  4. Navigate to an entry you wish to install (for example TED Talks)and press Enter.

  5. Navigate to Install and press Enter.

    NOTE: Some Video Add-ons have additional requirements
    Some Video Add-ons require extra setup, such as an account, or arerestricted by region. To see if an add-on works we have to try itout. If we cannot configure the add-on to work then simplyuninstall the add-on.

  6. Press Escape to back out to list of Video Add-ons.

  7. Repeat steps 4 through 6 to add other video sources you like.

  8. Press Escape to back out to list of installed Video Add-ons.

  9. Press Escape to return to top level Kodi menu.

TIP: How to Play a Kodi Video
To play a video go into the Video Add-ons, select one of the installedchoices and navigate the selection of videos within. PressEnter on a video to start playback. The playback menu can beinvoked with the M key or big green Start button on anMCE remote control.

E. Exit Kodi

To exit from Kodi:

Backend
  1. Press Escape until the top level kodi menu is shown.

  2. Navigate down to the power button icon in the lower left cornerof the screen and press Enter.

  3. Navigate to Exit and press Enter to exit Kodi.

F. Add Kodi to MythTV Menu

The following steps are performed in a terminal window.

  1. Open an editor and create a script file to optionally invokecompton and Kodi.

  2. Copy the following sample mythtv-kodi.sh file and paste it intothe editor.

    ----- Begin mythtv-kodi.sh -----

    ----- End mythtv-kodi.sh -----

  3. Save the file and exit the editor.

  4. Make the script file executable.

  5. Ensure you have a override copy of the Information Center.xml file.

    If you do not have a ~/.mythtv/info_menu.xml file then copy onefrom MythTV.

  6. Edit ~/.mythtv/info_menu.xml and add Kodi menuentry near bottom, but above any FireFox entries if these exist.

    Insert the Kodi button text (shown below) near the end of the filejust above the </mythmenu> line.

    In my case I have Firefox menu entries so I placed the kodi menuentry above the Firefox ones.

    Save the file and exit the editor.

G. Close Terminal Window

Normally I wouldn't list this step, but I needed a title for those ofus folks who haveConfigured MythTV Automatic Wakeup and Shutdown.Remember to Unlock Shutdown. SeeTemporarily Using PVR as a Desktop Computer.

Completed Kodi Menu in MythTV

Mythtv Setup

Install mythtv on ubuntu

Following is a picture of the completed MythTV Menu with a Kodi entry.

This menu also shows entries for Firefox, both native and using wine,as per my tutorialTear Free Firefox Menu in MythTV.

Install

References

While researching how to install Kodi media center on Mythbuntu Ifound the following references useful:

Appendix A: Revert to Confluence Skin

Kodi Kryton 17 introduced a new skin called Estuary which changesthe menu system for Kodi. To revert back to the prior Confluenceskin, use the following steps.

  1. Navigate to Settings (gear icon) and press Enter.

  2. Navigate to Interface settings and press Enter.

  3. Navigate to Skin.

  4. Navigate right to Look and feel pane.

  5. Navigate to Skin and press Enter.

  6. Navigate to Get more... and press Enter.

  7. Navigate to Confluence and press Enter.

    The Confluence skin should download.

  8. At Keep skin? - Would you like to keep this change? prompt navigate to Yes and press Enter.

  9. Press Escape twice to back out to main menu.