XBMC will be renamed to Kodi for v14. Read here for more details

MythTV PVR

From Kodi
(Redirected from PVR/Backend/MythTV)
Jump to: navigation, search
Live TV and PVR Setup Guide:
  1. Introduction
  2. Setting up the recording software
  3. Configuring live TV settings in XBMC
  4. The basics of Live TV and recording
Home icon grey.png   ▶ PVR ▶ Recording software ▶ MythTV PVR

MythTV is a Free Open Source software digital video recorder (DVR) project that is designed to run on Linux, although other operating system packages are available. With MythTV you can watch live TV, schedule recordings, view episode guide information, and many other features you'd expect from a DVR type device. MythTV can also be set up with multiple backends (master/slave) and multiple frontends to spread out the workload of recording, scheduling, and post processing jobs. More information on MythTV can be found on their official website.

The released addon supports MythTV Backend version 0.27 - 0.28.

Contents


1 Installing MythTV

MythTV can be set up on a variety of Linux distributions and also on Mac OS X. The MythTV Wiki page has several pages of detailed instruction sets for various distros and tuner types.

2 MythTV quick start guide

Incomplete.png INCOMPLETE:
This page or section is incomplete. Please add information or correct uncertain data which is marked with a ?

If your tuner hardware is not detected or is having issues, check http://linuxtv.org for driver support.

3 Connecting XBMC to MythTV

  1. Go to Settings -> Add-ons -> Enabled add-ons -> PVR Clients and select the MythTV add-on
  2. Select "Configure"


4 MythTV addon designed for Kodi (pvr.mythtv)

The addon supports MythTV Backend version 0.27 - 0.28. It inter-operates with new API provided by MythTV backend since 0.27. To use it first you have to enable the API services of your backend by running mythtv-setup and set the security pin as "0000". Addon provides Live TV, recording playback and schedules services. It includes its internal demuxer for mpeg-ts standard and allows access of sources and storages of all MythTV infrastructure including master and its slaves backends.

5 Settings

5.1 General

Pvr.mythtv000.png
MythTV Backend Hostname or IP
The hostname or IP address of the server where MythTV / master backend is installed. If backend and frontend run on the same machine then 'localhost' can be used.
MythTV Backend Port
The default is 6543 but this will need updating if you have changed it in the MythTV settings.
MythTV Backend Port for API services
The default is 6544 but this will need updating if you have changed it in the MythTV settings.
MythTV Backend Ethernet address (WOL)
Add the MAC address of your backend to allow the addon to wake up the backend using WOL. Also addon will wait any user activities to send the magic packet, otherwise the backend won't be wake up to save power.
Enable Live TV
This enables Live TV. Switch it off if you do want to use MythTV only for watching recordings.
Allow Live TV to move scheduled shows
This allows MythBackend to move scheduled recordings to another tuner if the scheduled tuner is blocked by an active Live TV playback. If turned off, you might miss recordings!
Conflict handling
This allows to configure the Live TV vs. scheduled recoding conflict handling. The setting determines how the addon should handle upcoming recordings for a tuner, that is being used for Live TV at the moment.
- Prefer Live TV when recording has later slot: (default) Continue watching Live TV in case there is a known later slot for the recording. Reschedule to record this repeat instead. If there's no later slot, stop Live TV and start the recording now.
- Prefer recording and stop Live TV: Stop Live TV and start the scheduled recording.
- Prefer Live TV and cancel conflicting recording: Ignore the conflicting, upcoming recording and continue to watch Live TV instead.

5.2 Recording template

Configuration of the default rules for new recordings. Recording rule templates have been introduced in MythTV 0.26. For older MythTV versions, please use and configure the addon-Internal template provider.

Pvr.mythtv001.png
Template provider
- MythTV: Use MythTV's default recording rule template
- Internal: Use XBMC's respectively the addon's settings
Automatically Look Up Metadata
Advises the MythTV backend to download metadata for this recording.
Commercial Flag new recordings
Advises the MythTV backend to run the commercial flag job for this recording.
Allow recordings to expire?
Allows the MythTV backend to automatically delete the recording when necessary.
Transcode new recordings and Transcoder
Advises the MythTV backend to automatically transcode the recording into a different format.
Run user Job #1-4
Advises the MythTV backend to automatically run the user defined jobs for this recording.
Note
Start and End Offset is configured in XBMC Live TV settings

5.3 Advanced

Pvr.mythtv002.png
Include more debug information in the log file
If turned on, additional debugging information is written to the log file. This should be turned on if you want to debug or report problems. It should be off for normal usage.
Enable demuxing MPEG-TS
Enables the addon internal demuxing of the stream. Advantages are faster channel switching and better timeshift functionality.
Note: This might not work with all video formats. Disable this settings in case you experience playback problems.
Block backend shutdown
If turned on, backend will waiting KODI exit or sleep before shutdown. It should be turned on for normal usage. It could be off for KODI installed on the same host as Myth backend configured to handle shutdown, else backend won't initiate shutown until KODI is running.
Note: This option do not block shutdown or suspend initiated by KODI itself. Also when KODI screen saver becomes activated addon allows backend shutdown until any user activities.
Tuning delay (sec)
Depending of your hardware, a delay could be needed to spawn Live TV.
Group recordings by title
Always , Only for series , Never
Enable commercial skip (EDL)
Always , Dialog , Never


Next step: Configuring XBMC




6 Troubleshooting

  1. If you're experiencing troubles with the addon, MythTV section of XBMC Forum is the correct place to ask for help.
  2. Always include a full debug log with the addon setting Include more debug information in the log file enabled. (also please make yourself familiar with XBMC troubleshooting)
  3. Issues that are only related to this addon (not to XBMC itself or XBMC's general PVR code) should be reported here: https://github.com/janbar/xbmc-pvr-addons/issues (if unsure, ask in the forum first!)

7 Development

8 Additional guides and links

Personal tools
Namespaces

Variants
Actions
Navigation
Wiki help
Toolbox