← Back to team overview

mythbuntu-dev team mailing list archive

[Merge] lp:~debfx/mythtv/mythtv-fixes into lp:mythtv

 

Felix Geyer has proposed merging lp:~debfx/mythtv/mythtv-fixes into lp:mythtv.

Requested reviews:
  mythbuntu-dev (mythbuntu-dev)


Add build-dep on libqt4-webkit-dev as it is no longer part of libqt4-dev.The attached diff has been truncated due to its size.
-- 
https://code.launchpad.net/~debfx/mythtv/mythtv-fixes/+merge/26069
Your team mythbuntu-dev is requested to review the proposed merge of lp:~debfx/mythtv/mythtv-fixes into lp:mythtv.
=== added file '.bzrignore'
--- .bzrignore	1970-01-01 00:00:00 +0000
+++ .bzrignore	2010-05-26 16:08:33 +0000
@@ -0,0 +1,24 @@
+./AUTHORS
+./bindings
+./config
+./configfiles
+./configure
+./contrib
+./COPYING
+./database
+./docs
+./FAQ
+./filters
+./i18n
+./keys.txt
+./libs
+./mythtv.pro
+./programs
+./README
+./settings.pro
+./themes
+./UPGRADING
+./version.pro
+./version.sh
+debian/patches/.dpkg-source-applied
+.pc

=== added directory 'debian'
=== added file 'debian/41-mythtv-permissions.rules'
--- debian/41-mythtv-permissions.rules	1970-01-01 00:00:00 +0000
+++ debian/41-mythtv-permissions.rules	2010-05-26 16:08:33 +0000
@@ -0,0 +1,5 @@
+#For firewire capture devices, we need access rights
+#to raw1394.  Note, that this may be a security risk
+#because devices on firewire can then do anything they
+#please as root on your system.
+KERNEL=="raw1394", GROUP="mythtv"

=== added file 'debian/changelog'
--- debian/changelog	1970-01-01 00:00:00 +0000
+++ debian/changelog	2010-05-26 16:08:33 +0000
@@ -0,0 +1,2464 @@
+mythtv (0.23.0+fixes24158-0ubuntu3) UNRELEASED; urgency=low
+
+  [ Thomas Mashos ]
+  * Added missingok for mirobridge log in logrotate (LP: #581283)
+
+  [ Felix Geyer ]
+  * Add build-dep on libqt4-webkit-dev as it is no longer part of libqt4-dev.
+
+ -- Felix Geyer <debfx-pkg@xxxxxxxx>  Wed, 26 May 2010 17:59:41 +0200
+
+mythtv (0.23.0+fixes24158-0ubuntu2) lucid; urgency=low
+
+  * debian/patches/proper_shutdown_behavior_for_ubuntu.patch: 
+    - Drop support for a configurable shutdown or reboot command in the GUI
+    - Only use DBUS for shutdown and halt
+
+ -- Mario Limonciello <Mario_Limonciello@xxxxxxxx>  Fri, 23 Apr 2010 10:56:00 -0500
+
+mythtv (0.23.0+fixes24158-0ubuntu1) lucid; urgency=low
+  
+  * New upstream snapshot (r24158)
+    - work around XMLtv bug causing obscenely poor response.
+  * debian/control: Build-Depend on libmysqlclient16-dev, as previous 
+    depends are being removed from the archive. (LP: #563053)
+
+ -- Dave Walker (Daviey) <DaveWalker@xxxxxxxxxx>  Fri, 16 Apr 2010 16:47:24 +0100
+
+mythtv (0.23.0+fixes24133-0ubuntu1) lucid; urgency=low
+
+  [ Dave Walker (Daviey) ]
+  * New upstream snapshot (r24133)
+    - Fixes crash of mythfrontend when upconverting audio to 5.1 (LP: #550562)
+    - Improve Jamu handling of invalid database data (LP: #549352)
+    - Remove mythtranscode's internal copy of the slow-delete code and instead 
+      send a request to the backend to delete the file. (LP: #481104)
+    - LiveTV & recording with V4L cards on 64-bit backend fixed. (LP: #562690)
+  * debian/mcc-mirobridge/*: New icon, UI alignment changes and description 
+    text added.  Courtesy of R. Doug Vaughan.
+  * debian/rules: Added cxx option "-maltivec" to PowerPC specifc configure 
+    option to fix FTBFS for that architecture. (LP: #559614)
+
+  [ Mario Limonciello ]  
+  * 40_libudev.path:
+    - Add -ludev to the library check.
+  * debian/control:
+    - Drop linux-libc-dev build-dep.
+  * Actually disable halt and reboot commands by default.
+
+ -- Dave Walker (Daviey) <DaveWalker@xxxxxxxxxx>  Thu, 15 Apr 2010 00:04:14 +0100
+
+mythtv (0.23.0+fixes23820-0ubuntu1) lucid; urgency=low
+
+  * New upstream snapshot (r23820)
+  * debian/patches/40_libudev.patch: Use libudev to get the information
+    instead of calling udevinfo which has been superseded by udevadm,
+    which is not compatiable.  (LP: #479509)
+  * debian/control: Added Build-Depends of libudev-dev, linux-libc-dev
+    to satisfy 40_libudev.patch.
+  * debian/mcc-mirobridge/, debian/mythtv-backend.install:
+    Install the Mythbuntu-Control-Centre plugin for mirobridge
+    if mythtv-backend is installed. (LP: #520731)
+  * Refreshed patches.
+  * debian/changelog: Fixed old entry that had a non-valid email address
+    causing lintian errors.
+
+ -- Dave Walker (Daviey) <DaveWalker@xxxxxxxxxx>  Sat, 27 Mar 2010 19:18:15 +0000
+
+mythtv (0.23.0+fixes23789-0ubuntu2) lucid; urgency=low
+
+  * debian/rules:
+    - Compile-type=debug for better debugging purposes.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Thu, 25 Mar 2010 23:22:48 -0500
+
+mythtv (0.23.0+fixes23789-0ubuntu1) lucid; urgency=low
+
+  [ Jamie Bennett ]
+  * Fix FTBFS on armel (LP: #537714)
+
+  [ Mario Limonciello ]
+  * mythtv-{common,backend}.{config,templates,postinst}: (LP: #483748)
+    - Simplify debconf questions by avoiding showing the generated pw
+    - Don't warn about mythtv group.
+    - Don't notify about running mythtv-setup.  This is optional (but
+      of course encouraged!)
+  * Set version to include a "+" delimitter.
+  * Restore libfaad-dev dependency. (LP: #546552)
+
+  [ Dave Walker (Daviey) ]
+  * New snapshot (r23789), based from 0.23-fixes.
+  * debian/control:
+    - mythtv-frontend set to Conflict with mythflix, as it's dropped
+      upstream. (LP: #544521)
+    - Remove unnecessary and potentially problematic use of Pre-Depends.
+    - Set the debug package to Priority extra.
+    - Change *-perl Section's from libs to perl
+    - add ${shlibs:Depends} for mythtv-common Depends field
+    - Minor spelling fix.
+    - Fixes the long description for one of the packages, ensuring the
+      description doesn't exceed 80 characters.
+    - Vcs-* set to -fixes, rather than -trunk.
+  * debian/rules:
+    - Use debconf-updatepo to update translations when required
+    - Ensure license files are not included in the binary packages, except 
+      for debian/copyright.
+    - Fixes the permissions of certain files in the packaging.
+  * debian/copyright:
+    - updated to reflect that mythtv is GPL-2 only.
+    - inserted better licence statement and Copyright reference.
+  * debian/mythtv-*.templates
+    - Simplified strings; removed verbosity and improved readability.
+  * Prevent the maintainer scripts from failing in case any questions 
+    can't be displayed.
+  * Added holding debian/mythtv-frontend.config, mainly to appease lintian.
+  * debian/mythtv-frontend.menu: Changed section to Applications/Graphics.
+  * debian/mythtv-backend.postinst: Load debconf libraries.
+  * debian/source.lintian-overrides: Removes the unecessary override of the 
+    binNMU warnings.
+  * Fix perl binding installation.
+
+ -- Dave Walker (Daviey) <DaveWalker@xxxxxxxxxx>  Tue, 23 Mar 2010 19:32:33 +0000
+
+mythtv (0.23.0~trunk23623-0ubuntu1) lucid; urgency=low
+
+  [ Dave Walker ]
+  * debian/control:  Added quilt as a build-depends, primarily
+    for karmic builds.
+
+  [ Mario Limonciello ]
+  * New checkout (r23623).
+    - Fixes audio issues w/ ac3 audio.
+  * debian/patches/36_setgroups_too:
+    - Set the right args for setgroups. (LP: #524822)
+  * debian/rules:
+    - Explicitly set all shell scripts executable.  Fixes problems on < lucid
+      builds.
+  * debian/control:
+    - Correct the replaces statements. (LP: #527288)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sat, 27 Feb 2010 14:33:45 -0600
+
+mythtv (0.23.0~trunk23567-0ubuntu4) lucid; urgency=low
+
+  [ Mario Limonciello ]
+  * debian/control:
+    - Build-depends on libxrandr-dev for xrandr support.
+    - Restore Build-depends on libfftw3-dev (not really a top secret option)
+  * debian/source_mythtv.py:
+    - Don't use bool, apport doesn't like them.
+  * debian/patches/36_setgroups_too:
+    - Run setgroups() before setgid/setuid (LP: #524822)
+
+  [ Andres Mejia ]
+  * Refresh all patches. Use '-p ab' format with no index or timestamps.
+  * Add comment for each patch.
+  * Update debian/control file for minor cosmetic changes.
+  * Don't depend on transcode for mythtv-transcode-utils since it's not needed.
+  * Don't Build-Depends-Conflicts on libmyth-dev.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 21 Feb 2010 12:13:59 -0600
+
+mythtv (0.23.0~trunk23567-0ubuntu3) lucid; urgency=low
+
+  * Rebuild for pulseaudio problems caused from an earlier libpulse-dev
+    package. (LP: #524191)
+  * debian/mythtv-setup.sh:
+    - Fix an extra '-' that was included.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Thu, 18 Feb 2010 22:54:59 -0600
+
+mythtv (0.23.0~trunk23567-0ubuntu2) lucid; urgency=low
+
+  * debian/mythtv-backend.preinst:
+    - Remove old /etc/default/mythtv-backend if not modified.  The upstart job
+      still optionally use it, but it will cause the backend to not drop
+      permissions with the old contents.
+  * debian/mythtv-database.templates:
+    - flush out unused templates.
+  * debian/rules:
+    - Add some confflags from ffmpeg's debian/rules to try a little harder
+      on armel and powerpc.
+  * debian/mythtv_0.23.0.sql:
+    - Update to the current schema in this build.
+    - Set default security pin so UPNP will work OOTB.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Thu, 18 Feb 2010 01:35:24 -0600
+
+mythtv (0.23.0~trunk23567-0ubuntu1) lucid; urgency=low
+
+  * Bump builds to start with 0.23
+  * debian/control: 
+    - Fix vcs-bzr
+    - Update depends to include ttf-droid, ttf-liberation, and ttf-dejavu.
+      (LP: #224114)
+    - Drop quilt build-dep, it appears to be included w/ dh7
+    - Bump standards version
+  * Introduces stable pulseaudio support (In Theory! :)) (LP: #311328)
+  * Print message to stdout for MythTV.pm (LP: #327406)
+  * debian/patches:
+    - Drop 16_hal_shutdown.  No longer necessary after r23518.
+  * Allow shutdowns when mythtv is running (LP: #174712)
+    - Comes from upstream changeset r23455.
+  * Mythbackend now supports the --user flag to drop permissions from
+    upstream changeset r23521.
+  * Use the upstart script from the upstream contrib directory instead.
+    Now uses the --user flag to drop permissions. (LP: #445953)
+  * Update 30_python26_transition for changes upstream.
+  * mythtv-database.templates:
+    - refer to the proper location for backups.
+  * Switch to use the upstream backup scripts. (LP: #469792)
+  * Helps with HDTV stuttering. (LP: #451394)
+  * Drop old debian/myth-*.sh scripts since we now use dbus for shutdown
+    and reboot etc.
+  * Drop old debian/mythtv-backend.default.  It's just available for upgrades.
+  * Drop old debian/mythtv-backend.init initscript.  We're only supporting
+    upstart going forward with these builds.
+  * Drop unnecessary patch, 02_settings_pro.dpatch
+  * Drop unused patch, 23_video_device_symlinks.dpatch
+  * Drop unused patch, 25_skiploop_option.dpatch
+  * Convert packaging to dh7.
+  * Convert packaging to source v3 (w/ quilt).
+  * Add debian/README.source as a symlink to the quilt README.source
+  * Convert all .files into .install.
+  * Refresh patches as quilt format instead
+  * Rewrite get-orig-source rules to parse the changelog for version info.
+  * Drop any of the Top Secret Options build flags
+  * Include a custom snippet for debian/rules mythtv packages in libmyth-dev.
+  * Drop old, unused templates from debian/templates.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Tue, 16 Feb 2010 21:23:04 -0600
+
+mythtv (0.22.0+fixes23527-0ubuntu1) lucid; urgency=low
+
+  [ Mario Limonciello ]
+  * New snapshot (r23527)
+  * debian/mythtv-database.postinst:
+    - If the mythtv.cnf conffile is missing, don't freak out. (LP: #477926)
+  * debian/control:
+    - Build depends on libvdpau-dev for armel too.  We don't know if
+      tegra2's will be using VDPAU, but if they do, this will help.
+
+  [ Thomas Mashos ]
+  * Populate directories to hold videos in prefilled SQL file. (LP: #469583)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 14 Feb 2010 19:13:55 -0600
+
+mythtv (0.22.0+fixes23193-0ubuntu1) lucid; urgency=low
+
+  * New snapshot (r23193)
+  * debian/patches/09_perl:
+    - Correct the install path which broke when we renamed the packages.
+      (LP: #498355)
+  * debian/control:
+    - Do the replaces for anything below 22958 to cover other PPA builds
+      too. (LP: #498810)
+  * debian/source_mythtv.py:
+    - Update the hook to indicate whether the user has installed mythtv-dbg
+      or mythplugins-dbg at the time of the crash.
+  * debian/mythtv-common.links:
+    - Create symlinks for the mythplugins and myththemes source packages to
+      use the same apport hook as mythtv.
+  * debian/rules:
+    - Try harder to mark perl and python scripts executable.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Tue, 19 Jan 2010 20:43:24 -0600
+
+mythtv (0.22.0+fixes22957-0ubuntu2) lucid; urgency=low
+
+  * debian/control:
+    - Actually do the replaces for anything below 22957 instead to cover any
+      PPA builds that people upgrade from or the very early lucid builds.
+      (LP: #494705)
+
+ -- Mario Limonciello <mario_limonciello@xxxxxxxx>  Wed, 09 Dec 2009 16:14:29 -0600
+
+mythtv (0.22.0+fixes22957-0ubuntu1) lucid; urgency=low
+
+  * Update to a new snapshot. (r22957) (LP: #493405)
+  * debian/control:
+    - Drop mythstream from suggests.
+    - Replaces on mythtv-frontend
+    - Make mythtv-common arch all.  All roles can support mythshutdown,
+      and this fixes the archive skew from an i386 and amd64 build being
+      out of sync.
+    - Rename libmyth-perl to libmythtv-perl per debian request. (LP: #XXXXX)
+  * Move mythshutdown into mythtv-common.
+  * debian/libmyth-perl.files, rename to libmythtv-perl.files
+  * debian/rules:
+    - Remove references to libmyth-perl
+    - Set all perl and python scripts executable (LP: #482585)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Tue, 08 Dec 2009 19:45:24 -0600
+
+mythtv (0.22.0+fixes22899-0ubuntu1) lucid; urgency=low
+
+  * Update to a snapshot post 0.22 release (r22899).
+  * Drop 31_vdpau_profiles.dpatch as it's been merged upstream.
+  * Install mythconverg_backup and mythconverg_restore scripts
+    in the mythtv-database package rather than mythtv package.
+  * debian/control:
+    - Drop version number in dependencies to myth* to prevent
+      version skew from PPA builds.
+    - Build depends on open source libvdpau optionally.
+    - Build depends on libxvidcore-dev | libxvidcore4-dev for libxvidcore
+      transition happening in lucid. (LP: #486169)
+  * Generate a -dbg package so that builds from a PPA can actually
+    be useful.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Tue, 24 Nov 2009 21:43:38 -0600
+
+mythtv (0.22.0+fixes22594-0ubuntu1) karmic; urgency=low
+
+  * New upstream snapshot.  
+    - This should be the final one for Karmic.
+    - Unfortunately, this will be a commit or two shy of the actual
+      0.22 release.
+    - Fixes upgrade scenarios from 0.21 where themes that previously
+      existed are now gone.
+  * debian/patches/31_vdpau_profiles.dpatch:
+    - Backport of trunk 22466 to add VDPAU profiles for 0.22 by default.
+  * debian/mythtv-backend.upstart:
+    - Stop on 016 rather than on "starting shutdown".
+      Prevents issues with the backend respawning during reboot.
+  * debian/dialog.sh:
+    - Use kdesudo rather than kdesu. (LP: #458177)
+  * debian/source_mythtv.py:
+    - Don't grab jamu or hardware logs.  Launchpad is timing out because
+      actual crashes are too big when uploaded, so we'll try to get these
+      pieces on a case by case basis instead.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 18 Oct 2009 12:57:26 -0500
+
+mythtv (0.22.0~zrc1-0ubuntu1) karmic; urgency=low
+
+  * Upstream 0.22 rc1 snapshot.
+    - Had to name the version funny because we've done builds with trunk in
+      the name and trunk is greater than rc. (zrc1 rather than rc1)
+  * Legacy init script needs different arguments.  Only affects
+    Jaunty & earlier builds. (LP: #450278)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Wed, 14 Oct 2009 21:18:18 -0500
+
+mythtv (0.22.0~trunk22413-0ubuntu1) karmic; urgency=low
+
+  [ Gary Butters ]
+  * debian/control:
+    - Depends on wmctrl
+  * Add support to use wmctrl to bring mythfrontend to the foreground
+    if already running. (LP: #352077)
+
+  [ Mario Limonciello ]
+  * New upstream snapshot (r22413)
+  * Add a bug_pattern_base to the mythbuntu crashdb.
+  * Fix mythbuntu crashdb to refer to project not product.
+  * Simplify the apport hook so that we can catch on any set of non
+    distro packages.
+  * debian/rules:
+    - Make *sure* /etc/default/mythtv-backend is getting installed.
+      It seems that dh_installinit didn't want to install it when we use upstart.
+
+ -- Mario Limonciello <mario_limonciello@xxxxxxxx>  Mon, 12 Oct 2009 17:13:20 -0500
+
+mythtv (0.22.0~trunk22359-0ubuntu1) karmic; urgency=low
+
+  [ Mario Limonciello ]
+  * New upstream checkout (r22359)
+    - Themes have been shuffled around a bunch.
+    - Fixes transcode arguments (LP: #429089)
+  * debian/control:
+    - Conflicts and replaces for themes that are now part of this package
+  * debian/mythtv-setup.desktop:
+    - Set to a real icon.
+  * Set up some symlinks for the dejavu fonts so they aren't installed several
+    times.
+  * debian/rules:
+    - Remove references to firewire_tester.  We're not building it.
+  * Simplify upstart script a bit.
+  * Drop old logic for checking that ~mythtv/.mythtv/mysql.txt exists, and move
+    it into the postinst.
+  * Ship a mythbuntu crashdb for apport to catch crashes and submit against the
+    mythbuntu project.
+  * Add an apport hook for mythtv packages.
+    - PPA builds will be directed at launchpad.net/mythbuntu
+    - Normal builds will end up against launchpad.net/ubuntu/+source/mythtv
+
+  [ Dave Walker ]
+    * Incremeted to new upstream version to current trunk head.
+    * Replaced sysv style init script with Upstart.
+      - debian/control: Bump build-dependency on debhelper for Upstart-aware
+        dh_installinit (debhelper >=7). 
+      - debian/mythtv-backend.upstart added.
+    * Standards-Version bumped to 3.8.2.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 11 Oct 2009 13:43:15 -0500
+
+mythtv (0.22.0~trunk22304-0ubuntu1) karmic; urgency=low
+
+  * New upstream checkout (r22304)
+    - Fixes crash during image loading of mythfrontend (LP: #445173)
+    - Disables pulseaudio harder, fixing sound playback when it's installed.
+      (LP: #436792)
+  * debian/mythtv_0.22.0.sql:
+    - Set Internal as the default player across the board.  Looks like some
+      areas were previously missed.  This only affects new installs.
+      (LP: #445984)
+  * debian/patches/10_mythfilldatabase_log.dpatch:
+    - Update to actually log to a file not a directory.
+  * debian/patches:
+    - Drop any patches that weren't actually being applied.
+  * Set default theme to Mythbuntu rather than Mythbuntu-9.10 since upstream
+    accepted it without a version number applied.
+  * debian/mythtv-database.{postinst,config}:
+    - Use the debian system maintainer account to set things up if possible.
+    - Drop broken logic for trying to detect when slow writes are needed.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Wed, 07 Oct 2009 23:24:05 -0500
+
+mythtv (0.22.0~trunk22242-0ubuntu1) karmic; urgency=low
+
+  * New upstream checkout (r22242)
+    - Fixes protocol mismatch in 22167 (LP: #440807)
+  * mythtv_0.22.0.sql:
+    - Set correct path for movie directories (LP: #440680)
+    - Set mytharchive work directory (LP: #439213)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 04 Oct 2009 20:43:11 -0500
+
+mythtv (0.22.0~trunk22167-0ubuntu1) karmic; urgency=low
+
+  * New upstream checkout (r22167).
+    - Fixes some segfaults.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Fri, 02 Oct 2009 00:23:18 -0500
+
+mythtv (0.22.0~trunk22101-0ubuntu1) karmic; urgency=low
+
+  [ Mario Limonciello ]
+  * New upstream checkout (r22101)
+  * Try to guard and make sure that ~mythtv is read from /etc/passwd 
+    rather than assuming it's /home/mythtv.
+
+  [ John Baab ]
+  * debian/mythtv-common.postinst:
+    - Added symlink for /home/mythtv/.mythtv/config.xml
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Tue, 29 Sep 2009 01:33:23 -0500
+
+mythtv (0.22.0~trunk21954-0ubuntu1) karmic; urgency=low
+
+  [ Mario Limonciello ]
+  * New upstream checkout (r21954)
+  * debian/mythtv_0.22.sql:
+    - Update to new schema, 1244.
+  * debian/mythtv.desktop:
+    - Use a real icon.
+  * debian/mythtv-frontend.files:
+    - Rename mythtv to mythavtest (see upstream 21904 for details)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 20 Sep 2009 02:13:10 -0500
+
+mythtv (0.22.0~trunk21785-0ubuntu2) karmic; urgency=low
+
+  * debian/control:
+    - Conflicts/replaces for mythcenter themes. (LP: #428211)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Fri, 11 Sep 2009 20:13:57 -0500
+
+mythtv (0.22.0~trunk21785-0ubuntu1) karmic; urgency=low
+
+  [ Mario Limonciello ]
+  * New upstream checkout (r21785)
+  * debian/mythtv-backend.postinst:
+    - Correct a typo in the postinst.
+  * debian/mythtv-common.postinst:
+    - Don't fail on actions that happen to /root (LP: #399120)
+
+  [ Thomas Mashos ]
+  * Removed default media directory db setting
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Fri, 11 Sep 2009 19:17:47 -0500
+
+mythtv (0.22.0~trunk21742-0ubuntu2) karmic; urgency=low
+
+  * debian/control:
+    - Conflicts for mythstream on mythtv-frontend (LP: #415922)
+  * debian/mythtv-backened.postinst, debian/mythtv-backend.dirs:
+    - Create Coverart, Fanart, Screenshots, and Banners directories so jamu
+      can have somewhere to store stuff to.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Thu, 10 Sep 2009 10:25:37 -0500
+
+mythtv (0.22.0~trunk21742-0ubuntu1) karmic; urgency=low
+
+  * New upstream checkout (21742)
+    - Fixes FTBFS on PPC. See changeset 21571 for more details.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Tue, 08 Sep 2009 23:08:37 -0500
+
+mythtv (0.22.0~trunk21556-0ubuntu3) karmic; urgency=low
+
+  * debian/mythtv-database.postinst:
+    - Don't hardcode the location of SQL database to a particular filename.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Wed, 02 Sep 2009 19:49:25 -0500
+
+mythtv (0.22.0~trunk21556-0ubuntu2) karmic; urgency=low
+
+  * debian/mythtv-database.postinst:
+     - Set BlackCuves as default OSD and Mythbuntu-9.10 as default theme.
+  * debian/mythtv_0.22.0.sql:
+     - Update to the current database schema (1242)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Wed, 02 Sep 2009 10:09:26 -0500
+
+mythtv (0.22.0~trunk21556-0ubuntu1) karmic; urgency=low
+
+  * New upstream checkout. (r21556)
+    - Fixes memory leaks with UPNP enabled. (LP: #200761)
+  * debian/control:
+    - Build depend on nvidia 185 or nvidia 180.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 23 Aug 2009 12:18:48 -0500
+
+mythtv (0.22.0~trunk21333-0ubuntu1) karmic; urgency=low
+
+  * New upstream checkout (21333)
+    - Fixes crash with linearblend filter. (LP: #414870)
+  * mythtv_0.21.0.sql:
+    - Set to default to Mythbuntu-9.10 theme for new installs.
+  * rules:
+    - Set the /usr/share/mythtv/*.pl file to be
+      executable as the backend wants to run it regularly.
+    - Update SOURCE_VERSION in version.sh as it's not in version.pro
+      anymore.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Mon, 17 Aug 2009 11:32:56 -0500
+
+mythtv (0.22.0~trunk21328-0ubuntu0) karmic; urgency=low
+
+  [ Thomas Mashos ]
+  * Remove arts support
+  * Add libqt4-opengl-dev as build dep
+
+  [ Mario Limonciello ]
+  * New upstream snapshot.  Switch to 0.22 based builds in preparation
+    for upstream's 0.22 release, which should be ready before karmic.
+  * debian/control: Build depend on nvidia 180
+  * debian/control: Conflicts/Replaces on mythcontrols
+  * debian/rules: enable vdpau
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Mon, 17 Aug 2009 01:23:08 -0500
+
+mythtv (0.21.0+fixes21261-0ubuntu1) karmic; urgency=low
+
+  * New upstream -fixes snapshot (21261)
+    - Fixes HDHomerun compatibility issues with reboot. (LP: #384556)
+    - LCDproc compatibility. (LP: #392362)
+  * debian/control:
+    - Build depends on libpulse0 so that pulseaudio disabling code works.
+  * debian/rules:
+    - Don't compress perl and python scripts that are installed. (LP: #380812)
+  * debian/mythtv-backend.init:
+    - If for some reason $USER_HOME doesn't exist, make it. (LP: #326702)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 16 Aug 2009 00:26:55 -0500
+
+mythtv (0.21.0+fixes19961-0ubuntu8) jaunty; urgency=low
+
+  * Remove any references to creating V4L devices.  Not necessary
+    since Ubuntu is exclusively UDEV.
+  * Correct the exit code in another portion of the init script. (LP: #346694)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 22 Mar 2009 17:53:24 -0500
+
+mythtv (0.21.0+fixes19961-0ubuntu7) jaunty; urgency=low
+
+  * debian/control:
+    - Depends on lsb-release.
+  * Add 30_python26_transition.dpatch to allow python 2.6 builds to work.
+    (LP: #342870)
+  * debian/control, debian/rules:
+    - Use python-central instead of python-support.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Mon, 16 Mar 2009 23:22:46 -0500
+
+mythtv (0.21.0+fixes19961-0ubuntu6) jaunty; urgency=low
+
+  * Fixed problem where init script errors on install 
+
+ -- John Baab <john.baab@xxxxxxxxx>  Fri, 13 Mar 2009 15:52:09 -0400
+
+mythtv (0.21.0+fixes19961-0ubuntu5) jaunty; urgency=low
+
+  * fixed backend init script to correctly detect if a backend is running. 
+
+ -- John Baab <john.baab@xxxxxxxxx>  Thu, 26 Feb 2009 00:54:27 -0500
+
+mythtv (0.21.0+fixes19961-0ubuntu4) jaunty; urgency=low
+
+  * debian/rules:
+    - Drop old references to update-notifier that got missed from building
+      in an unclean tree.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Wed, 25 Feb 2009 17:07:19 -0600
+
+mythtv (0.21.0+fixes19961-0ubuntu3) jaunty; urgency=low
+
+  * Don't display an update-notifier message about failing to reconfigure
+    database.  This doesn't get along well with live disks. (LP: 334547)
+
+ -- Mario Limonciello <mario_limonciello@xxxxxxxx>  Wed, 25 Feb 2009 15:46:22 -0600
+
+mythtv (0.21.0+fixes19961-0ubuntu2) jaunty; urgency=low
+
+  * Fixed symlinking config.xml issue (LP: #327534) 
+
+ -- John Baab <john.baab@xxxxxxxxx>  Tue, 10 Feb 2009 17:08:38 -0500
+
+mythtv (0.21.0+fixes19961-0ubuntu1) intrepid; urgency=low
+
+  [ John Baab ]
+  * Fixes missing config.xml issue (LP: #220604)
+
+  [ Mario Limonciello ]
+  * Check whether $USER_HOME exists in mythtv-backend init
+    script before continuing on. Thanks Will Uther. (LP: #326702)
+  * Update branch to release-0-21-fixes rev #19961.  Pulls in
+    fix related to channel scanning and setting number correctly. (LP: #323769)
+ 
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Mon, 09 Feb 2009 08:49:29 -0600
+
+mythtv (0.21.0+fixes19556-0ubuntu6) jaunty; urgency=low
+
+  [ Thomas Mashos ]
+  * debian/control, debian/rules:
+    - Disable arts support as it's no longer part of jaunty. (LP: #320915)
+
+  [ Mario Limonciello ]
+  * debian/control, debian/rules:
+    - Drop external x264 support.  It's causing a FTBFS.
+
+ -- Mario Limonciello <mario_limonciello@xxxxxxxx>  Wed, 04 Feb 2009 11:09:10 -0600
+
+mythtv (0.21.0+fixes19556-0ubuntu5) jaunty; urgency=low
+
+  * No-change rebuild against libx264-65
+
+ -- Steve Langasek <steve.langasek@xxxxxxxxxx>  Wed, 04 Feb 2009 10:04:20 +0000
+
+mythtv (0.21.0+fixes19556-0ubuntu4) jaunty; urgency=low
+
+  * debian/mythtv-database.postinst:
+    - Clear out mythtv/mysql_mythtv_password when we've read
+      it from /etc/mythtv/mysql.txt.
+  * debian/patches/00list:
+    - actually apply 29_fix_mythwelcome.dpatch
+  * debian/patches/29_fix_mythwelcome.dpatch
+    - clean up .orig file and related mess
+
+ -- Michael Haas <laga@xxxxxxxxxxx>  Sun, 01 Feb 2009 13:10:24 +0100
+
+mythtv (0.21.0+fixes19556-0ubuntu3) jaunty; urgency=low
+
+  * debian/rules: Install udev rules into /lib/udev/rules.d
+  * debian/mythtv-backend.rules: Remove old rules if unchanged
+  * debian/control: Add breaks to ensure the right version of udev is used.
+
+ -- Scott James Remnant <scott@xxxxxxxxxx>  Mon, 12 Jan 2009 18:20:17 +0000
+
+mythtv (0.21.0+fixes19556-0ubuntu2) jaunty; urgency=low
+
+  * Re-upload last version with proper pull from bzr.
+    For some reason a lot of things got were missing
+    due to a broken merge.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Thu, 08 Jan 2009 22:31:26 -0600
+
+mythtv (0.21.0+fixes19556-0ubuntu1) jaunty; urgency=low
+
+  * New upstream fixes snapshot.
+    - Provides some UPNP fixes.
+  * debian/control:
+    - Promote pwgen to pre-depends for mythtv-common
+      so that it can be used in the .config.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Thu, 08 Jan 2009 21:55:34 -0600
+
+mythtv (0.21.0+fixes19136-0ubuntu3) jaunty; urgency=low
+
+  [ Michael Haas ]
+  * Drop debian/patches/28_fix_v4l.dpatch because upstream 
+    fixed this properly in r19250.
+
+  [ Mario Limonciello ]
+  * debian/mythtv-database.postinst:
+    - Don't reset the backend IPs unless you
+      are loading a database
+    - Pre-set mythbuntu theme.  If mythbuntu theme isn't
+      around, G.A.N.T. gets loaded instead, so no expected
+      regresssions.
+  * debian/mythtv-database.config:
+    - Try to get answer from mysql-server config if possible
+      this avoids asking admin pass question twice.
+    - Check if mysql binary is around before repeatedly
+      asking questions.
+   - Check if localhost that mysqld is running.  If it's
+      not, then don't keep asking questions.
+    - Pass on failed answer to postinst (don't reset)
+  * debian/mythtv-common.config:
+    - Display the password that is set, not just "value set"
+  * debian/mythtv-common.postinst:
+    - Only create a user if it doesn't already exist. (LP: #280974)
+  * debian/rules:
+    - Unset executable permissions on .sh and .d files in clean
+      section. (LP: #311573)
+    - Don't restart mythtv-backend on upgrade of packages.
+      Unexpected behavior might happen depending on what other packages
+      are installed at that time and what will still be installed.
+      The common use case for a problem here is dist-upgrades.
+      (LP: #298914)
+  * Store .sh and .d files as non executable in bzr to better reflect
+    flat packaging as seen in the archive.
+  * debian/patches/24_fix_h264_frame_counting.dpatch:
+    - Remove .orig file from the patch as it's unnecessary (LP: #311549)
+  * debian/mythtv-backend.postinst:
+    - If we are mounted on NFS, changing permissions will fail.  Don't
+      fail the postinst in this case. (LP: #299352)
+
+  [ TJ ]
+  * debian/rules:
+    - Cleanup files that upstream is forgetting to clean between builds.
+      (LP: #311552)
+
+ -- Mario Limonciello <mario_limonciello@xxxxxxxx>  Fri, 02 Jan 2009 14:28:58 -0600
+
+mythtv (0.21.0+fixes19136-0ubuntu2) jaunty; urgency=low
+
+  * Add 30_2.6.28_support.dpatch.  Fixes FTBFS when
+    working building against 2.6.28.
+  * debian/control:
+    - Drop references to ubuntu-mythtv-frontend
+    - Reorder build dep on lame so that apt-get build-dep
+      resolves correctly.
+  * Drop these files as they were only used by
+    ubuntu-mythtv-frontend:
+    - debian/background.xpm
+    - debian/dmrc
+    - debian/gdm.conf
+    - debian/mplayer-config
+    - debian/mythbuntu-gdm.conf
+    - debian/mythtv-xsession.desktop
+    - debian/openbox-menu.xml
+    - debian/startmythtv.sh
+    - debian/ubuntu-mythtv-frontend.postinst
+    - debian/ubuntu-mythtv-frontend.prerm
+  * debian/rules:
+    - Drop references to ubuntu-mythtv-frontend
+    - Install all sql files rather than a specific one
+    - Don't install dirs here.  Do that in specific files
+  * debian/session-settings:
+    - Drop some references to ubuntu-mythtv-frontend
+  * debian/mythtv_0.20.1.sql:
+    - Drop, we're at 0.21 now!
+  * debian/mythsql:
+    - Drop old unused script.
+  * debian/mythtv-backend.NEWS:
+    - Drop quite old NEWS file.  We're not updating it anyway.
+  * debian/debian/README.Debian:
+    - Drop.  The comments in here are pretty old and dated.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 14 Dec 2008 00:32:34 -0600
+
+mythtv (0.21.0+fixes19136-0ubuntu1) jaunty; urgency=low
+
+  [ Thomas Mashos ]
+  * Updated posters dir to /var/lib/mythtv/posters
+
+  [ Michael Haas ]
+  * New upstream snapshot.
+  * Added size restriction to frontend and backend logs (10M)
+    - (LP: #250776)
+  * debian/patches:
+    - Add 29_mythwelcome_fix.dpatch to prevent MythWelcome from quitting
+      spuriously (backports revision 18671 from trunk)
+
+  [ Dustin Kirkland ]
+  * debian/mythtv-database.config: test the validity of the input mysql
+    passphrase, up to 5 times (LP: #243504)
+
+  [ Mario Limonciello ]
+  * debian/mythtv-database.postinst:
+    - Clean up old code calls
+    - Adjust for changes to .config
+    - Make sure to clear root password
+  * debian/mythtv-common.config:
+    - Read mysql.txt before starting
+  * debian/mythtv-common.postinst:
+    - Clean up old file checks that are unnecessary.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sat, 13 Dec 2008 18:39:01 -0600
+
+mythtv (0.21.0+fixes18722-0ubuntu1) intrepid; urgency=low
+
+  * Sync against release-0-21-fixes branch. Fixes:
+    - (LP: #260429)
+  * Update 24_fix_h264_frame_counting.dpatch to incorporate changeset
+    18542 from trunk <http://svn.mythtv.org/trac/changeset/18542>
+  * debian/patches/:
+    - drop 27_disable_deinterlacing_in_guide.dpatch because it's been
+      committed upstream
+    - add 28_fix_v4l.dpatch (LP: #259321)
+  * Add debian/mythtv-frontend.dirs back in (LP: #280792)
+  * Add kdesudo to list of graphical sudo providers in
+    debian/dialog_functions.sh to account for KDE 4 in Intrepid (LP: #274602)
+
+ -- Michael Haas <laga@xxxxxxxxxxx>  Wed, 15 Oct 2008 23:56:53 +0200
+
+mythtv (0.21.0+fixes18379-0ubuntu1) intrepid; urgency=low
+
+  * Sync against release-0-21-fixes branch:
+    - Fix inconsistent text in theme xml file (LP: #242000)
+  * Correct arguments for mythfrontend launching. (LP: #212604)
+  * Backport fix for slow guide (LP: #229949)
+  * debian/patches:
+    - 26_h264_ffmpeg_merge.dpatch: drop patch as it's been committed upstream
+
+ -- Michael Haas <laga@xxxxxxxxxxx>  Wed, 24 Sep 2008 00:57:01 +0200
+
+mythtv (0.21.0+fixes18207-0ubuntu6) intrepid; urgency=low
+
+  * debian/mythtv-backend.init: Add the 'status' action (LP: #251325).
+
+ -- Dustin Kirkland <kirkland@xxxxxxxxxx>  Wed, 03 Sep 2008 10:16:21 -0500
+
+mythtv (0.21.0+fixes18207-0ubuntu5) intrepid; urgency=low
+
+  [ Michael Haas ]
+  * Fix init script (LP: #263127)
+
+  [ Mario Limonciello
+  * Don't crash on init script installation. (LP: #261866)
+
+ -- Michael Haas <laga@xxxxxxxxxxx>  Mon, 01 Sep 2008 21:04:13 +0200
+
+mythtv (0.21.0+fixes18207-0ubuntu4) intrepid; urgency=low
+
+  * Update 25_skiploop_option w/ upstream requested changes.
+  * debian/control:
+    - Modify previous change by a nonmaintainer to re-include adept-notifier 
+      as an option.  Dropping it breaks hardy builds, and this package is
+      very often backported.
+    - Add Vcs-Bzr fields to deter further uploads without commiting back
+      to the branch.
+    - Add homepage field.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Thu, 28 Aug 2008 15:59:11 -0500
+
+mythtv (0.21.0+fixes18207-0ubuntu3) intrepid; urgency=low
+
+  * Recommends update-notifier-kde instead of adept-notifier
+
+ -- Anthony Mercatante <tonio@xxxxxxxxxx>  Thu, 28 Aug 2008 15:08:03 +0200
+
+mythtv (0.21.0+fixes18207-0ubuntu2) intrepid; urgency=low
+
+  * debian/control:
+    - Build depend on liblame-dev | libmp3lame-dev instead
+      since liblame-dev is gone for intrepid.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Wed, 27 Aug 2008 17:29:49 -0500
+
+mythtv (0.21.0+fixes18207-0ubuntu1) intrepid; urgency=low
+
+  * New checkout of release-0-21-fixes branch.
+  * debian/patches:
+    - drop 17_pvr_350_tvout_fix.dpatch, 07_glx-procaddressARB-configure.dpatch
+      and 15_hue_fix.dpatch because these changes have been committed
+      upstream
+    - add 24_fix_h264_frame_counting.dpatch,
+      25_skiploop_option.dpatch and 26_h264_ffmpeg_merge.dpatch.
+
+ -- Michael Haas <laga@xxxxxxxxxxx>  Wed, 27 Aug 2008 23:16:52 +0200
+
+mythtv (0.21.0+fixes17416-0ubuntu2) intrepid; urgency=low
+
+  * Build depend on xserver-xorg-video-openchrome or old libchrome*
+    packages (to not break building on earlier releases, but still allow
+    building on intrepid) (LP: #256540)
+  * Start mythfrontend.real from mythfrontend rather than another script
+    instance. (LP: #241015)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Wed, 16 Jul 2008 01:22:49 -0500
+
+mythtv (0.21.0+fixes17416-0ubuntu1) intrepid; urgency=low
+
+  * New checkout of release-0-21-fixes branch.
+  * debian/mythfrontend.sh:
+    - check for /etc/mythtv/session-settings when sourcing it. (LP: #220681)
+  * debian/mythtv-backend.postinst:
+    - check for directories before overriding (LP: #223988)
+  * drop debian/mythtv-database.postrm
+    - Wasn't doing anything productive but causing crashes. (LP: #213200)
+  * debian/control:
+    - Adjust dependencies to only build depend on chrome for i386 and 
+      amd64.  This should fix all other archs. (LP: #211125)
+  * add debian/patches/17_pvr350_tvout_fix:
+    - Fixes PVR-350 tv output's EPG.  (LP: #236498)
+      Thanks bal_zac for tracking this down.
+  * update debian/patches/07_glx-procaddressARB-configure
+    - Certain parts are absorbed upstream.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 01 Jun 2008 17:04:11 -0500
+
+mythtv (0.21.0+fixes16838-0ubuntu3) hardy; urgency=low
+
+  [ Michael Haas ]
+  * mythtv-common: add myth-reboot.sh, myth-halt.sh, myth-suspend.sh and
+    myth-hibernate.sh into /usr/share/mythtv/. These scripts use HAL to shutdown/reboot/etc
+  * Add 16_hal_shutdown.dpatch to adjust some defaults in mythtv to use the
+    new scripts. (LP: #148281)
+
+  [ Mario Limonciello ]
+  * Don't spawn gnome-screensaver in ubuntu-mythtv-frontend.
+    It doesn't work.  ubuntu-mythtv-frontend is going away in Intrepid
+    but not this late in the game here.  (LP: #216431)
+  * Don't depend on a screensaver for u-m-f, since it's broke.
+  * Prevent warnings on first boot about updating the mythconverg DB, by providing
+    the updated mythconverg db.
+
+ -- Michael Haas <laga@xxxxxxxxxxx>  Fri, 11 Apr 2008 20:54:14 +0200
+
+mythtv (0.21.0+fixes16838-0ubuntu2) hardy; urgency=low
+
+  * Update 11_add_myth_prime's internal primer
+    for fixes on SA cable boxes.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Thu, 10 Apr 2008 22:49:01 -0500
+
+mythtv (0.21.0+fixes16838-0ubuntu1) hardy; urgency=low
+
+  [ Michael Haas ]
+  * Don't build depend against liba52.
+  * New upstream checkout: switch to release-0-21-fixes branch
+    - SECURITY FIX:
+      + CVE 2007-6036
+  * Remove the following patches as they're included now:
+    - 12_changeset_16483.dpatch
+    - 13_changeset_16577.dpatch
+  * Add 14_fix_video_fallback.dpatch so we don't fall back to the opengl
+    video renderer if xvmc-blit is not available (LP: #205158)
+  * Add 15_hue_fix.dpatch (see <http://svn.mythtv.org/trac/ticket/5039>)
+
+  [ Mario Limonciello ]
+  * debian/control:
+    - Add xterm to mythtv-backend depends (LP: #202708)
+
+  [ majoridiot ]
+  * Update debian/patches/11_add_mythprime:
+    - Automatically detect both P2P and broadcast connections
+      and prime them now without needing to specify node and device.
+
+ -- Michael Haas <laga@xxxxxxxxxxx>  Fri, 28 Mar 2008 23:47:20 +0100
+
+mythtv (0.21.0-0ubuntu3) hardy; urgency=low
+
+  [ Mario Limonciello ]
+  * Add libchromexvmc1 and libchromexvmcpro1 to build depends to allow
+    VIA XvMC support. (LP: #200633)
+  * Build without faad runtime library loading.  (LP: #202590, #201572)
+  * Add 12_firewire_tester.dpatch:
+    - Creates directory structure for building with firewire tester.
+  * Add 13_changeset_16577.dpatch:
+    - Fixes UPnP breakage on PS3.
+  * debian/rules:
+    - Create symlinks for firewire tester out of contrib (LP: #201876)
+  * Fribidi needs version 0.19.x, but only 0.10.9 is in apt right now.
+    Disable it from debian/rules until newer version available.
+
+  [ Michael Haas ]
+  * Add 07_glx-procaddressARB-configure to fix problem where glXGetProcAddress 
+    can't be found in some OpenGL libs. (LP: #201567)
+  * Remove liba52-0.7.4-dev from build dependencies
+  * debian/rules:
+    - Add call to the glx-procaddressARB patch new argument.
+    - Do not build with unadvertised liba52 support (LP: #203692)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Wed, 12 Mar 2008 03:37:46 -0500
+
+mythtv (0.21.0-0ubuntu2) hardy; urgency=low
+
+  * Add 12_changeset_16483.dpatch:
+    - Fixes DVD menu handling problem found shortly after release.
+      See MythTV #4897 and #4567 for more information.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 09 Mar 2008 20:20:48 -0500
+
+mythtv (0.21.0-0ubuntu1) hardy; urgency=low
+
+  * New upstream version. (LP: #192486)
+  * Include etc/network/if-up.d/mythtv-backend.if-up.d.  This makes sure
+    that if the network is to come up late, myth starts late. (LP: #187348)
+  * Start mysql from mythtv-database postinst if we can.
+  * Start mythtv-setup with taskset -c 0 (Thanks Daniel Kristjansson)
+  * Only --tune to i686 again due to upstream changes in the configure
+    script.  This time add MMX though. (LP: #198104) (LP: #198115)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sat, 08 Mar 2008 01:31:06 -0600
+
+mythtv (0.21.0~fixes16338-0ubuntu3) hardy; urgency=low
+
+  * Install var/log/mythtv into mythtv-frontend package
+    to prevent alternate install CDs from failing in the order
+    packages get installed. (LP: #198314)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Tue, 04 Mar 2008 01:47:57 -0600
+
+mythtv (0.21.0~fixes16338-0ubuntu2) hardy; urgency=low
+
+  * Add chmod to mythtv-frontend.postinst.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Mon, 03 Mar 2008 06:37:04 -0600
+
+mythtv (0.21.0~fixes16338-0ubuntu1) hardy; urgency=low
+
+  * New upstream checkout.
+  * debian/mythtv-frontend.dirs:
+    - Add var/log/mythtv (LP: #185646)
+  * debian/patches/10_mythfilldatabase_log:
+    - Should allow mythfilldatabase to really log (LP: #196553)
+  * debian/patches/11_add_myth_prime:
+    - Adds mythprime binary for firewire priming.
+  * debian/rules:
+    - Turn on fribidi formatting (LP: #195780)
+    - Drop XvMC-OpenGL. (LP: #195780)
+  * debian/mythtv-backend.files:
+    - Install mythprime binary
+  * Add 41-mythtv-permissions.rules to override permissions on
+    raw1394 devices to folks in the mythtv group. (LP: #197202)
+  * Add firewire priming support to mythtv-backend init script.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sat, 01 Mar 2008 01:54:49 -0600
+
+mythtv (0.21.0~fixes16259-0ubuntu1) hardy; urgency=low
+
+  * New upstream checkout.
+  * debian/control:
+    - Add libfftw3-dev to build depends for FFT support.
+    - Add conflicts/replaces for mythappearance. (LP: #195421)
+  * debian/rules:
+    - Replace with pentium3 tuning to attempt to get more MMX
+      optimizations.
+      Should (hopefully) fix (LP: #195306).
+    - Add libfftw3 support (undocumented in configure)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Wed, 20 Feb 2008 02:16:46 -0600
+
+mythtv (0.21.0~fixes16174-0ubuntu1) hardy; urgency=low
+
+  * New upstream checkout.
+    - Drop 07_alsa_default as it has been absorbed upstream (rev 15995)
+  * Depend on libfaad2-dev | libfaad-dev so as to make building
+    on gutsy still possible
+  * Clean up 09_perl_bindings for changes upstream.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sat, 16 Feb 2008 17:14:23 -0600
+
+mythtv (0.21.0~fixes15967-0ubuntu2) hardy; urgency=low
+
+  * Replace --tune=i686 and --cpu=i686 as it was a performance loss
+    to tune to generic. (LP: #191165)
+  * Build with unadvertised faad support.
+  * Build with unadvertised faac support.
+  * Build with unadvertised libmp3lame support.
+  * Build with unadvertised liba52 support.
+  * Build with unadvertised libx264 support.
+  * Build with unadvertised libxvid support.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sat, 16 Feb 2008 02:07:39 -0600
+
+mythtv (0.21.0~fixes15967-0ubuntu1) hardy; urgency=low
+
+  * New upstream checkout.
+    - Upstream has entered feature freeze and this is built
+      against the 0.21-fixes branch now.
+  * Update 07_alsa_default due to upstream changes again.
+  * debian/control:
+    - Add new python bindings package, libmyth-python.
+    - Promote all mysql-server depends to pre-depends.
+  * debian/rules:
+    - Add python-support to build depends
+    - Add libnet-upnp-perl to libmyth-perl depends.
+  * Drop mythtv-common and mythtv-database experimental
+    warnings.
+  * debian/startmythtv.sh:
+    - Launch via xterm to guarantee order that things happen.
+  * Update pre-filled SQL file that is shipped to be 0.21.0 based
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Tue, 12 Feb 2008 20:13:15 -0600
+
+mythtv (0.20.99+trunk15849-0ubuntu2) hardy; urgency=low
+
+  * Update 07_alsa_default which was causing FTBFS
+    due to changes with ALSA handling upstream.
+  * Update 08_default_directory which was causing
+    FTBFS since storage groups got moved.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Fri, 08 Feb 2008 13:54:31 -0600
+
+mythtv (0.20.99+trunk15849-0ubuntu1) hardy; urgency=low
+
+  * New upstream checkout.
+    - Fixes FTBFS on powerpc.
+  * Drop 14_newlibraries since upstream does this now.
+  * debian/rules:
+    - Build with ffmpeg pthread support.
+  * debian/control:
+    - Depend on ttf-liberation | msttcorefonts since ttf-liberation
+      provides fonts with the correct metrics.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 03 Feb 2008 23:10:21 -0600
+
+mythtv (0.20.99+trunk15689-0ubuntu3) hardy; urgency=low
+
+  * debian/control:
+    - Change soname of library package to libmyth-0.21-0
+  * Update 09_perl_bindings_prefix, debian/libmyth-perl.files
+    - Make libmyth-perl install into /usr/share/perl5 
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sat, 02 Feb 2008 14:22:00 -0600
+
+mythtv (0.20.99+trunk15689-0ubuntu2) hardy; urgency=low
+
+  * debian/control:
+    - Make libmyth-perl arch all rather than any
+  * Drop 11_idle_countdown_reset-fix and 13_interlaced_refresh_rate.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Fri, 01 Feb 2008 03:05:05 -0600
+
+mythtv (0.20.99+trunk15689-0ubuntu1) hardy; urgency=low
+
+  " it's about time we switched "
+
+  [ Mario Limonciello ]
+  * Switch to trunk in preparation of upcoming 0.21 release.
+    - Feature freeze is Feb 14, all changes between this and the 0.21
+      release will be bug fixes, but not necessarily tracked on LP.
+  * Merge with ubuntu-mythtv's trunk bzr branch.
+    - Drop perl items from mythtv-common package.
+    - Update debian/rules get-orig-source target to base from -fixes.
+    - Drop 01_debian, 06_gnome_screensaver, 10_alpha-build-fix, 20_backend_crash
+      21_openmedia_mheg5, 22_openmedia_livetv, 26_edit_display, 27_pulseaudio,
+      29_perl_bindings, 31_pvr350_ivtv, 33_israeli_freq, 34_utf8_fixes,
+      35_upnp_length patches.
+  * Update standards version to 3.7.3, no source changes.
+  * debian/rules:
+    - Don't optimize to a particular cpu as that's deprecated in new gcc.
+      Default configure behavior now tunes to generic and arch's to i686.
+  * Add 14_set_newlibraries to force sonames to 0.21 until upstream changes this
+    with their impending freeze.
+  * debian/control:
+    - Adjust packages to 0.21 soname.
+  * Move libmyth-0.20.files to libmyth-0.21.files.
+  * Adjust lintian override for 0.21 soname
+
+  [ Michael Haas ]
+  * Until builds are actually at 0.21, include warnings via preinstall
+    files about the stability.
+  * Add perl bindings to libmyth-perl package.
+  * Drop old debian default directory patch in favor of a storage
+    groups patch, 08_default_direcotry
+  * Add 11_perl_bindings_prefix patch that doesn't work off /usr/local.
+  * Add local patches from tickey 3597 in 11_idle_countdown_reset-fix,
+    13_interlaced_fresh_rate.
+  * debian/rules:
+    - Build with xvmc/opengl and opengl/video
+    - Install examples to proper location
+  * Update default session-settings to give a better warning.
+  * debian/control:
+    - Update for dropped mythdvd package
+    - Add libmyth-perl package.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Wed, 30 Jan 2008 11:24:34 -0600
+
+mythtv (0.20.2+fixes15513-0ubuntu4) hardy; urgency=low
+
+  * Rebuild against newer kdelibs to resolve stat64 symbol
+    problems. (LP: #185033, 185108)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Wed, 23 Jan 2008 01:06:21 -0600
+
+mythtv (0.20.2+fixes15513-0ubuntu3) hardy; urgency=low
+
+  * New upstream checkout (minor fixes).
+  * mythtv-backend.int:
+    - Bump the default starting runlevel to 50.
+  * Add UTF-8 support for UPnP server. (LP: #156689)
+  * Add fixes for 0 length recordings. (LP: #156691)
+  * mythtv-setup.sh:
+    - Fill database *after* starting backend.
+  * debian/control:
+    - Change ntp requirements from suggests to recommends.
+    - Make mythtv-database a suggest rather than recommend.
+    - Drop gdm from depends on ubuntu-mythtv-frontend.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Tue, 18 Dec 2007 03:25:37 -0600
+
+mythtv (0.20.2+fixes15096-0ubuntu2) hardy; urgency=low
+
+  [ Mario Limonciello ]
+  * mythtv-backend.init:
+    - Require networking and remote file systems to be started before
+      running. (LP: #149268)
+    - Find the home directory of our USER and then create a symbolic
+      link in that user's home directory for mysql.txt.
+    - Add LSB support.
+
+  [ Paul McEnery ]
+  * More resilient init script PID handling (LP: #118538)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Mon, 17 Dec 2007 00:15:52 -0600
+
+mythtv (0.20.2+fixes15096-0ubuntu1) hardy; urgency=low
+
+  * New upstream checkout. (LP: #172291)
+  * Drop 32_gcc_4.2_changes.  No longer necessary.
+  * debian/rules:
+    - Disable symbol visibility again.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 09 Dec 2007 15:40:01 -0600
+
+mythtv (0.20.2+fixes14789-0ubuntu2) hardy; urgency=low
+
+  * Add 32_gcc_4.2_changes to prevent FTBFS when using
+    gcc 4.2 in hardy.
+  * Update 31_pvr350_ivtv to remove old ivtv ".orig" file.
+  * debian/rules:
+    - Explicitly turn on symbol visibility
+  * Add 33_israeli_frequencies to include israeli frequencies.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Wed, 14 Nov 2007 19:45:11 -0600
+
+mythtv (0.20.2+fixes14789-0ubuntu1) hardy; urgency=low
+
+  * New upstream checkout (svn changeset 14789)
+    - Drop 23_schedulesdirect.dpatch (included upstream).
+    - Drop 24_mythstream_typo.dpatch (included upstream).
+    - Drop 25_firewire.dpatch (included upstream).
+    - Drop 28_profilebuild.dpatch (included upstream).
+    - Drop 30_xinerama_fix.dpatch (included upstream).
+  * Create a symbolic link to /etc/mythtv/mysql.txt in ~/.mythtv/
+    if you don't already have a mysql.txt.
+  * debian/control: depend on gnome-screensaver | xscreensaver rather
+    than just gnome-screensaver.
+  * Update 06_gnomescreensaver.dpatch with changeset 10090, 14023,
+    and 14755 from trunk. (LP: #147905)
+  * debian/control:
+    - Move all references of mythtv-doc to suggests
+    - Remove mysql-server from recommends
+    - Move reference of xmltv-util to suggests
+  * Add 31_pvr350_ivtv.dpatch to fix pvr-350 ivtv output. (LP: #158562)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Mon, 29 Oct 2007 16:56:16 -0400
+
+mythtv (0.20.2-0ubuntu10) gutsy; urgency=low
+
+  [ Michael Haas ]
+  * Move logging support.  It's now setup to log for any
+    methods other than a terminal launch. (LP: #130925)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Thu, 11 Oct 2007 09:02:36 -0500
+
+mythtv (0.20.2-0ubuntu9) gutsy; urgency=low
+
+  [ Mario Limonciello ]
+  * Change compile type to profile per upstream recommendations.
+  * Include 28_patch_build.dpatch from upstream # 14587 to improve
+    profile builds.
+  * Import debconf translations from rosetta.
+  * Build with perl bindings.  For now include them in mythtv-common,
+    but later they will be included in their own binary package.
+    - Add 29_perl_bindings.dpatch to update settings.pro
+    - Add to mythtv-common package in debian/control
+    - Remove pack list from debian/rules
+    - Add dh_perl  to debian/rules
+    - Build --with-bindings=perl in debian/rules
+
+  [ Michael Haas ]
+  * Add 30_xinerama_fix.dpatch from upstream trunk rev 14520 (LP: #136533)
+
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Mon, 01 Oct 2007 18:47:06 -0500
+
+mythtv (0.20.2-0ubuntu8) gutsy; urgency=low
+
+  [ Mario Limonciello ]
+  * debian/startmythtv.sh:
+    - Switch ~ to $HOME
+    - Only run mtd if not running.
+  * debian/control:
+    - Refresh dependencies for ubuntu-mythtv-frontend
+      to gutsy appropriate package names.
+  * debian/ubuntu-mythtv-frontend.postinst:
+    - Take ownership of ~/.mythtv if necessary. (LP: #145714)
+
+  [ Michael Haas ]
+  * debian/startmythtv.sh:
+    - Correct minor typo in ${MYTHWELCOME}. (LP: #144541)
+
+  [ Jo Shields ]
+  * Start mythtv-setup in a terminal. (LP: #147701)
+
+  [ Brian J. Murrell ]
+  * Clarify text in mythtv-database.postinst (LP: #146328)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Thu, 27 Sep 2007 02:00:01 -0500
+
+mythtv (0.20.2-0ubuntu7) gutsy; urgency=low
+
+  [ Mario Limonciello ]
+  * debian/control:
+    - Mark a 'replaces' for mythtv-backend-0.20.2-0ubuntu1 (LP: #140841)
+    - Make all instances of ntp, ntp | time-daemon (LP: #144268)
+  * Add debian/patches/26_edit_display.dpatch (LP: #139821)
+  * Add debian/patches/27_pulseaudio.dpatch (LP: #138810)
+
+  [ Joel Ebel ]
+  * debian/startmythtv.sh:
+    - Add support to start mtd -d
+    - Add support to check for not executing irexec -d
+
+  [ Michael Haas ]
+  * debian/startmythtv.sh:
+    - Create a frontend and welcome log file in /var/lib/mythtv.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 23 Sep 2007 19:34:56 -0500
+
+mythtv (0.20.2-0ubuntu6) gutsy; urgency=low
+
+  * Add X-AppInstall-Package= to both .desktop files to ensure that
+    they install the 'mythtv' metapackage rather than mythtv-backend
+    or mythtv-frontend when selected in Add/Remove programs.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Mon, 10 Sep 2007 00:23:26 -0500
+
+mythtv (0.20.2-0ubuntu5) gutsy; urgency=low
+
+  * Update 23_schedulesdirect.dpatch:
+    - Include [14430] & [14427] to drop TMS all together.
+  * Add 25_firewire.dpatch:
+    - Backports firewire fixes to prevent the need for currently
+      necessary workarounds.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Thu, 06 Sep 2007 12:06:33 -0500
+
+mythtv (0.20.2-0ubuntu4) gutsy; urgency=low
+
+  * debian/control:
+    - Make update-notifier | adept-notifier recommends so
+      gnome/kde users benefit without harming non users. (LP: #135431)
+  * debian/mythtv-database.postinst:
+    - Check for $unud and only copy if it exists.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Tue, 04 Sep 2007 22:17:13 -0500
+
+mythtv (0.20.2-0ubuntu3) gutsy; urgency=low
+
+  * Add 24_mythstream_typo.dpatch:
+    - Fixes mythstream load errors. (LP: #136483)
+  * debian/control:
+    - Depend on update-notifier | adept-notifier to not pull in
+      unnecessary dependencies for kubuntu users.  (LP: #135431)
+    - Depend on usplash-theme-ubuntu | usplash to make backporting to
+      Dapper easier.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 02 Sep 2007 04:52:33 -0500
+
+mythtv (0.20.2-0ubuntu2) gutsy; urgency=low
+
+  * Add 23_schedulesdirect.dpatch:
+    - Cherry pick [14307] [14324] [14348] to fix a few items
+      found related to schedules direct after 0.20.2 release.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Tue, 28 Aug 2007 16:16:24 -0500
+
+mythtv (0.20.2-0ubuntu1) gutsy; urgency=low
+
+  [ Mario Limonciello ]
+  * New Upstream Checkout:
+    - Tagged release to 0.20.2.
+    - Removes deprecated datadirect support in favor of Schedules
+      Direct for North American users.
+    - Cleans up UPNP support.
+    - Checks for DTS libraries properly
+  * debian/control:
+    - Adjust Suggests for mythtv-frontend.
+    - Adjust recommends for ubuntu-mythtv-frontend
+  * debian/rules:
+    - Add support to show svn version number in mythfrontend --version.
+    - Add support for tagged releases that don't need +fixes appended.
+  * Cleanup source.lintian-overrides for additional warnings.
+  * Drop unnecessary libdts patch as dts has changed upstream to
+    detect when dts_pic is necessary.
+  * Use proper files for upnp support from backported -fixes on
+    mythtv-backend.
+  * Change section to multiverse/graphics so this can build on PPAs.
+
+  [ Nick Hemsley ]
+  * Add support to check for ~/.mythtv/session upon startup for
+    ubuntu-mythtv-frontend meta. (LP: #134028)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Mon, 20 Aug 2007 16:40:59 -0500
+
+mythtv (0.20.1+fixes14194-0.0ubuntu1) gutsy; urgency=low
+
+  * New upstream checkout:
+    - Includes support for mythstream in the menu system.
+  * Change background color to black in gdm configurations.
+  * debian/control:
+    - Move ntp | ntp-simple into metas only.
+    - Make ntp | ntp-simple Suggests on mythtv-frontend or mythtv-backend.
+  * debian/mythfrontend.sh:
+    - Make sure that exec mythfrontend to start
+  * Remove 20_backend_crash_without_tuner.dpatch.  It's included
+    in the current 0.20-fixes branch.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Tue,  14 Aug 2007 09:54:21 -0500
+
+mythtv (0.20.1+fixes13837-0.0ubuntu2) gutsy; urgency=low
+
+  * debian/control:
+    - Update to ${source:version}. (LP: #125685)
+  * Add additional function to ubuntu-mythtv-frontend's prerm.
+  * Source xmodmap configuration if the user has it.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Mon,  9 Jul 2007 20:37:52 -0500
+
+mythtv (0.20.1+fixes13837-0.0ubuntu1) gutsy; urgency=low
+
+  * New svn fixes co, 13837.
+  * Correct minor typo in debian/control.
+  * Add the rest of mythbuntu-gdm.conf
+  * Myth mythtv-transcode-utils conflict older backends.
+  * Modify README.debian to clarify a contrib script.
+  * Prefill the database with populated information.
+    No longer is it "necessary" to run mythtv-setup before
+    starting mythfrontend.
+  * Provide debconf questions that can be used to change
+    bind settings for MySQL and MythTV.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Mon, 25 Jun 2007 10:04:06 -0500
+
+mythtv (0.20.1+fixes13737-0.0ubuntu1) gutsy; urgency=low
+
+  * Update to new SVN Fixes co, 13737.
+  * Adapt new package naming structure.
+  * Add 21_openmedia_mheg5.dpatch importing many MHEG5
+    fixes from trunk. (LP: 119984).
+  * Add 22_openmedia_livetv.dpatch importing many Livetv
+    fixes from trunk. (LP: 119884).
+  * debian/rules:
+    - Add support to grab the latest .orig.tar.gz.
+    - Add debconf-updatepo to the clean: target.
+  * Clean up all fields mismarked as translatable (LP: 118952)
+  * Add source.lintian-overrides to handle a few warnings
+    about binary NMU's.
+  * Add a mythbuntu gdm.conf that will use the mythbuntu-gdm-theme
+    if available at package installation.
+  * Update debian/ubuntu-mythtv-frontend.postinst to use the appropriate
+    gdm theme.
+  * Add mythbuntu-gdm-theme | feisty-gdm-themes to debian/control.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 17 Jun 2007 11:53:58 -0500
+
+mythtv (0.20-svn20070523-0.0ubuntu1) gutsy; urgency=low
+
+  [ Mario Limonciello ]
+  * Merge with debian multimedia:
+    o New SVN release. (last change is 13496)
+    o Rename libmyth0.20-dev to libmyth-dev .
+  * Remaining changes:
+    o Drop 21_changeset12782_hd_homerun as its included in 13496.
+    o Make ubuntu-mythtv-frontend depend on mythbuntu-artwork-usplash
+      rather than the ubuntu artwork if available.
+    o Create mythtv-transcode-utils (LP: #92703)
+    o FE & BE depend on either fake-msttcorefonts or msttcorefonts. (LP: #110068)
+    o Bump debian/compat to 5.
+    o Add an option to /etc/mythtv/session-settings for controlling
+      if mythwelcome is used or mythfrontend.
+    o Add "ntp |" to all ntp-simple depends. (LP: 118705)
+    o Add update-notifier to mythtv-database depends (LP: # 109950)
+
+  [ Nick Fox ]
+  * Add gnome-power-manager to startmythtv.sh script if installed
+    to properly control DPMS.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Tue, 05 June 2007 12:26:31 -0500
+
+mythtv (0.20-svn20070122-0.0ubuntu6) feisty; urgency=low
+
+  [ Mario Limonciello ]
+  * debian/mythtv-database.postinst:
+    - Move "exit 0" after notifier install. (LP: #105948)
+  * debian/mythtv-reconfigure-required.update-notifier:
+    - Update text to more closely reflect packaging changes.
+  * debian/startmythtv.sh:
+    - Add checks to see if backend has been ran yet. (LP: #96737)
+  * debian/mythtv-setup.sh:
+    - Start/Stop mythbackend & offer to fill database for user.
+  * Add mythtv-setup.desktop. (LP: #106002)
+
+  [ Tom Metro ]
+  * Fix minor typo in init mythtv-backend.init. (LP: #106012)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Thu, 12 Apr 2007 14:17:14 -0500
+
+mythtv (0.20-svn20070122-0.0ubuntu5) feisty; urgency=low
+
+  * debian/mythtv-database.config:
+    - Change priority of questions.  User will only get questions
+      when reconfiguring the package. (LP: #99916)
+  * debian/mythtv-common.templates & mythtv-common.postinst
+    - Tell the user about their MySQL password. (LP: #96739)
+  * debian/ubuntu-mythtv-frontend.postinst & mplayer-config
+    - Add mplayer config to make sure screensaver off. (LP: #103191)
+  * Add 07_alsa_default.dpatch to make ALSA default. (LP: #93341)
+  * debian/mythtv-backend.init:
+    - unset DISPLAY & SESSION_MANAGER to prevent ominous QT
+      authentication warnings. (LP: #55827)
+  * Clarify text of debian/dialog_functions.sh.
+  * Add 21_changeset12782_hd_homerun.dpatch (LP: #104965)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Tue,  10 Apr 2007 03:50:16 -0500
+
+mythtv (0.20-svn20070122-0.0ubuntu4) feisty; urgency=low
+
+  * debian/control:
+    - msttcorefonts to mythtv-frontend and mythtv-backend.
+      Appears several themes DO use it. (LP: #93986, #96734, #96768)
+  * Update templates for correct wording about mythtv
+    users/groups (LP: #96739)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sat, 24 Mar 2007 19:30:53 -0500
+
+mythtv (0.20-svn20070122-0.0ubuntu3) feisty; urgency=low
+
+  [ Mario Limonciello ]
+  * Add new wrapper script for mythfrontend and mythtv-setup
+    to guarantee user is in the mythtv group. (LP: #93476).
+  * debian/control: Add zenity | kdebase-bin, gksu | kdebase-bin
+    for wrapper scripts to mythtv-backend and mythtv-frontend.
+  * debian/rules: Install wrapper scripts functions.
+  * debian/control: Add XSBC-Original-Maintainer field.
+  * debian/control: Drop msttcorefonts requirement
+  * debian/control: Add mythtv user to dialout group (LP: #95074).
+
+  [ Kees Cook ]
+  * debian/patches/20_backend_crash_without_tuner.dpatch: stop backend
+    crashes when missing tuner info (LP: #93250).
+
+ -- Kees Cook <kees@xxxxxxxxxx>  Fri, 23 Mar 2007 22:59:29 -0700
+
+mythtv (0.20-svn20070122-0.0ubuntu2) feisty; urgency=low
+
+  * debian/control: Trim down metapackages.
+  * debian/rules: adjusted config file locations.
+  * debian/*myth*.{pre,post}{inst,rm}: moved gdm link, built symlinks to
+    startup configs.  Fixed insecure temp file.
+  * debian/patches/01_debian_patch: Use /var/lib/mythtv/recordings,
+    drop mythtv cron.
+  * Removed debian/mythtv-backend.cron.daily; the database fill must
+    happen from backend scheduler to take advantage of next-run hints.
+
+ -- Kees Cook <kees@xxxxxxxxxx>  Mon, 19 Feb 2007 08:49:46 -0800
+
+mythtv (0.20-svn20070122-0.0ubuntu1) feisty; urgency=low
+
+  * Merge with debian multimedia:
+    o New svn release (12617).
+    o Install desktop file in the right package.
+  * Remaining Changes:
+    o Update debian/rules to more closely match debian multimedia.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Mon, 22 Jan 2007 08:59:52 -0600
+
+mythtv (0.20-svn20061209-0.3ubuntu1) feisty; urgency=low
+
+  * Merge with debian multimedia:
+    o To re-enable dvb support in some archs (amd64, powerpc) :
+       - Build-depends on linux-kernel-headers instead of linux-headers-2.6
+       - and don't set --dvb-path (not necessary).
+    o Call su with - in cron.daily for mythtv-backend package.
+    o Update --dvb-path option to use linux-headers-`uname -r` path.
+    o Build-Conflicts: libmyth-0.20-dev, build with --enable-opengl-vsync.
+    o Add mythtv user to the cdrom group.
+    o Add desktop file for GNOME.
+    o Call update-notifier if mysql-server isn't running
+    o Source /etc/mythtv/mysql.txt in cron.weekly for mythtv-database.
+  * Remaining changes:
+    o Add source.lintian-overrides to cover two lintian warnings
+      with explanations why they are safe to ignore.
+    o Switch to alternative's system for gdm.conf.
+    o Install openbox menu.xml only to /home/mythtv instead of /etc/mythtv.
+    o Remove openbox from PreDepends.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Thu, 28 Dec 2006 15:20:21  -0600
+
+mythtv (0.20-svn20061209-0.1ubuntu1) feisty; urgency=low
+
+  * Merge with debian multimedia:
+    o Add all files in the contrib directory to the mythtv-backend package.
+    o New svn from 0.20 fixes branch (12227).
+    o Source /etc/mythtv/mysql.txt in cron.weekly for the mythtv-database package.
+  * Remaining Changes:
+    o Add a ubuntu-mythtv-frontend.postinst to set permissions on /home/mythtv
+      if it already exists.
+    o Add feisty-gdm-themes | edgy-gdm-themes to ubuntu-mythtv-frontend
+      depends.
+    o Add libgl1-mesa-glx to  ubuntu-mythtv-frontend depends.
+    o Make sure gdm.conf-custom and openbox-menu.xml are placed in /etc/mythtv.
+      Create symlinks for them in /etc/gdm and /etc/xdg/openbox.
+    o Properly set up diversions for /etc/gdm/gdm.conf-custom &
+      /etc/xdg/openbox/menu.xml.
+    o Add a pre-depends to ubuntu-mythtv-frontend to make sure that
+      gdm.conf-custom and menu.xml are generated *before* the diversions.
+    o Add ubuntu-mythtv-secondary-backend metapackage for consistency.
+    o Add ntp-simple to several metapackages.
+    o Change default recordings directory to /media/mythtv/recordings.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 10 Dec 2006 01:36:46 -0600
+
+mythtv (0.20-0.5ubuntu2) feisty; urgency=low
+
+  * Remove unnecessary mythtv-frontend.files.old.
+  * Make startmythtv.sh executable on installation.
+  * Fix depends on ubuntu-mythtv-secondary-backend-frontend.
+  * Update description for ubuntu-mythtv-secondary-backend-frontend.
+  * Add .dmrc to set default session for mythtv user in ubuntu-mythtv-frontend.
+  * Add feh to dependencies to set a nice background for ubuntu-mythtv-frontend.
+  * Provide background.xpm for ubuntu-mythtv-frontend.
+  * Provide menu.xml for openbox in ubuntu-mythtv-frontend.
+  * Provide gdm.conf-custom in ubuntu-mythtv-frontend.
+  * Add ubuntu-mythtv-frontend.preinst and .postrm for menu.xml, gdm.conf-custom diversions.
+  * Add mythtv-themes to Recommends for ubuntu-mythtv-frontend.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Fri,  8 Dec 2006 20:13:36 -0600
+
+mythtv (0.20-0.5ubuntu1) feisty; urgency=low
+
+  * Merge with debian multimedia:
+    o Check in cron script if mythfilldatabase is here and executable.
+    o Updated 0.20 fixes patch (latest is 11627).
+    o Added patch from svn to fix hue when using XV. Mythtv bug 2241.
+    o Added support for make -j
+    o Make sure that mythtv is stopped before mysql in init script.
+    o Added /etc/cron/weekly/mythtv-database to backup mythconverg database.
+    o Added mythtv-backend.configfiles to preserve user changes.
+    o Move CDS_scpd.xml, CMGR_scpd.xml and upnpavcd.xml into
+      mythtv-backend. (Thanks Scott Davilla)
+    o Add ccache to build depends.
+  * Remaining Changes:
+    o Revert the --disable-ccache in debian/rules
+    o Be sure that debian/mythtv-database.prerm includes a DEBHELPER tag
+    o Remove patch #11365 for mythreplex bug.
+      Included in new 0.20-fixes patch from debian multimedia.
+    o Update maintainer, "MythTV Ubuntu Maintainers <ubuntu-mythtv@xxxxxxxxxxxxxxxx>"
+    o Add mysql-server to 'mythtv' metapackage, so that this package
+      can again be used for a quick install on top of a desktop to
+      properly get all necessary dependencies.
+    o Begin to introduce the idea of "profile metapackages" to be used for
+      standalone Ubuntu machines intended soley for mythtv usage.
+      - ubuntu-mythtv-master-backend
+      - ubuntu-mythtv-frontend
+      - ubuntu-mythtv-master-backend-frontend
+      - ubuntu-mythtv-secondary-backend-frontend
+    o Create GDM xsession to be used in frontend profiles
+    o Create openbox startup script to be used in frontend profiles
+      - Include support for irexec, nvidia-settings, gnome-screensaver
+    o Be sure that "mythtv" is added to the cdrom group.  This will make
+      sure that mtd will be able to rip dvds. (Closes: #69651)
+    o Rename 05_gnomescreensaver.dpatch to 06_gnomescreensaver.dpatch
+      to make room for upstream patch 05_11372.dpatch
+    o Update author on 06_gnomescreensaver.dpatch.
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Mon,  04 Dec 2006 02:52:20 -0600
+
+mythtv (0.20-0.2ubuntu3) edgy; urgency=low
+
+  * Silently fail more gracefully during dist-upgrades if mysql-server isn't
+    running.  Instead provide a update-notifier notification to the user to
+    reconfigure the database.  (Closes Ubuntu: #67696, 41339, 58155, 68400)
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sat, 28 Oct 2006 11:38:27 -0500
+
+mythtv (0.20-0.2ubuntu2) edgy; urgency=low
+
+  * Import changeset #11365 from mythtv SVN to resolve mythreplex bug
+    (Closes Ubuntu: #65790)
+  * Update maintainer to be MOTU-Media
+
+ -- Mario Limonciello <superm1@xxxxxxxxxx>  Sun, 15 Oct 2006 13:18:12 -0500
+
+mythtv (0.20-0.2ubuntu1) edgy; urgency=low
+
+  * Merge with debian multimedia.  Remaining changes:
+  * Keep --enable-opengl-vsync enabled
+  * Remove mythtv-debug from suggests in debian/control
+  * Rename 04_gnomescreensaver.dpatch to 05_gnomescreensaver.dpatch
+    to make room for 04_0.20-fixes.dpatch from debian multimedia.
+  * Compile with --compile-type=debug to adhere to requirements
+    for pkg-create-dbgsym.  All debugging symbols are still stripped,
+    but placed in a .ddeb by pkg-create-dbgsym.
+
+ -- Mario Limonciello <superm1@xxxxxxxxx>  Thu,  5 Oct 2006 12:47:25 -0500
+
+mythtv (0.20-0.0ubuntu4) edgy; urgency=low
+
+  * Adds a menu file for mythfrontend (Closes Ubuntu: #737).
+
+ -- Mario Limonciello <superm1@xxxxxxxxx>  Tue,  3 Oct 2006 12:45:37 -0500
+
+mythtv (0.20-0.0ubuntu3) edgy; urgency=low
+
+  * Fix gnome-screensaver patch to properly disable screensaver
+  * Explicitly enable MMX for i386
+
+ -- Mario Limonciello <superm1@xxxxxxxxx>  Fri, 29 Sep 2006 01:31:16 -0500
+
+mythtv (0.20-0.0ubuntu2) edgy; urgency=low
+
+  * Added --disable-ccache to debain/rules so it doesnt try to use
+    ccache on the buildd's
+
+ -- Brandon Holtsclaw <imbrandon@xxxxxxxxxxx>  Thu, 28 Sep 2006 00:22:27 -0500
+
+mythtv (0.20-0.0ubuntu1) edgy; urgency=low
+
+  [ Mario Limonciello ]
+  * Syncronize with debian-multimedia
+  * Add 04_gnomescreensaver.dpatch to disable gnome-screensaver instead of xscreensaver
+
+ -- Brandon Holtsclaw <imbrandon@xxxxxxxxxxx>  Thu, 14 Sep 2006 23:42:09 -0500
+
+mythtv (0.20-0.0) unstable; urgency=low
+
+  * New upstream release
+  * Removed sparc patch.
+  * Removed --enable-dvb-eit who has been removed.
+  * Replace debconf dependency by ${misc:Depends}.
+  * mythtv-database should depends on mysql-client instead of mysql-server.
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Tue, 12 Sep 2006 08:46:02 +0200
+
+mythtv (0.19-0.10) unstable; urgency=low
+
+  * Add 02_0.19-fixes patch. This patch add all the changes from the
+    0.19-fixes svn branch.
+  * New patch to fix build on alpha.
+  * Delete the mythtv user on purge.
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Sat,  1 Jul 2006 15:24:40 +0200
+
+mythtv (0.19-0.9) unstable; urgency=low
+
+  * Really apply the libdts patch.
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Wed, 28 Jun 2006 10:55:30 +0200
+
+mythtv (0.19-0.8) unstable; urgency=low
+
+  * The dts patch should be applied for all archs.
+  * Build with -fPIC
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Tue, 27 Jun 2006 15:01:58 +0200
+
+mythtv (0.19-0.7) unstable; urgency=low
+
+  * Fix typo (a space character) in 01_debian patch. Thanks to Andrew Ruthven.
+  * Set QMAKE_PROJECT_DEPTH to 1 in settings.pro
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Mon, 12 Jun 2006 15:16:53 +0200
+
+mythtv (0.19-0.6) unstable; urgency=low
+
+  * Oooops, update-rc.d was called with wrong arguments.
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Fri, 24 Mar 2006 14:40:58 +0100
+
+mythtv (0.19-0.5) unstable; urgency=low
+
+  * Create /etc/mythtv directories in mythtv-common package.
+  * Start the backend more later than the mysql serveur (24 instead of 20).
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Wed, 22 Mar 2006 13:58:46 +0100
+
+mythtv (0.19-0.4) unstable; urgency=low
+
+  * Added a patch from svn to fix a problem with mysql 5 (mythtv lose
+    "Recording Schedule").
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Wed,  8 Mar 2006 10:04:49 +0100
+
+mythtv (0.19-0.3) unstable; urgency=low
+
+  * Doesn't use CFLAGS but instead --extra-cflags for special gcc flags (sparc).
+  * Remove the pid file when stop is invoked in the mythbackend init.d
+    script so start can work has expected. Thanks to Sebastian Bremicker.
+  * debian/control replace libmysqlclient-dev by libmysqlclient12-dev.
+  * Fix for ppc from Magnus Ihse Bursie to link against libdts.
+  * XvMC is also disabled for ppc.
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Sat, 18 Feb 2006 14:46:03 +0100
+
+mythtv (0.19-0.2) unstable; urgency=low
+
+  * libmyth-0.19-dev and mythtv-debug should depends on libmyth-0.19 instead
+    of libmyth-0.18.1
+  * Build with "--compile-type=debug" for the debug package (Thanks to Brad Fritz).
+  * Revert "Move debug libraries in the right place." introduced in 0.18.1-11
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Thu, 16 Feb 2006 09:57:35 +0100
+
+mythtv (0.19-0.1) unstable; urgency=low
+
+  * Forgot to add Guido's changes.
+  * Add libjack-dev and libdts-dev in Build-Depends.
+  * Doesn't build XvMC support for amd64 (doesn't compile).
+  * New amd64 patch to fix link problem with libdts.
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Wed, 15 Feb 2006 14:40:14 +0100
+
+mythtv (0.19-0.0) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Tue, 14 Feb 2006 18:52:34 +0100
+
+mythtv (0.18.1-11) unstable; urgency=low
+
+  * Move debug libraries in the right place.
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Thu, 26 Jan 2006 11:14:44 +0100
+
+mythtv (0.18.1-10) unstable; urgency=low
+
+  * Doh ! Forget to write the test command in my test.
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Wed, 11 Jan 2006 08:57:12 +0100
+
+mythtv (0.18.1-9) unstable; urgency=low
+
+  * Doesn't restart the backend if already running in postinst.
+  * Patch from Peter Kahle no not use repeat who is a keyword in mysql 5.0
+  * mythtv-database.postinst If hostname is blank set to localhost.
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Tue, 10 Jan 2006 16:01:07 +0100
+
+mythtv (0.18.1-8) unstable; urgency=low
+
+  * Changes from Micah F. Galizia
+    o Use --tune=i486 instead of pentium4.
+    o Enable vld XvMC and XvMC.
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Tue,  3 Jan 2006 15:59:56 +0100
+
+mythtv (0.18.1-7) unstable; urgency=low
+
+  * Move patches in the diff to dpatch.
+  * gettextize debconf templates files.
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Fri, 23 Dec 2005 15:49:52 +0100
+
+mythtv (0.18.1-6) unstable; urgency=low
+
+  * Rebuild after removing the fglrx-driver package.
+  * Add a versioned libiec61883-dev in Build-Depends.
+  * Add libavc1394-dev in Build-Depends.
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Tue, 20 Dec 2005 16:40:07 +0100
+
+mythtv (0.18.1-5) unstable; urgency=low
+
+  * Prefer libmysqlclient15-dev in Build-Depends.
+  * Build with --enable-dvb-eit and --enable-dvb
+
+ -- Christian Marillat <marillat@xxxxxxxxxx>  Sat, 17 Dec 2005 16:32:28 +0100
+
+mythtv (0.18.1-4) unstable; urgency=low
+
+  * Prefer libmysqlclient14-dev
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Mon, 29 Aug 2005 15:16:34 -0700
+
+mythtv (0.18.1-3) unstable; urgency=low
+
+  * Fix menu entry to refer to mythtv-frontend, rather than mythtv (thanks
+    to Paul Andreassen)
+  * Disable silly xinit test entirely
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sat, 11 Jun 2005 12:51:58 -0700
+
+mythtv (0.18.1-2) unstable; urgency=low
+
+  * Fix configure test for xinit to work on Debian as well
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sat, 11 Jun 2005 12:07:11 -0700
+
+mythtv (0.18.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Changes from Micah Galizia <mfgalizi@xxxxxxxxxx>
+   - Patch configure to allow xvmc-vld
+  * Use gcc-3.4 rather than -3.3 (ABI transition for libmyth-0.18.1)
+  * Fix configure xinit test to be compatible with Ubuntu breezy (where
+    xinit has moved to /usr/bin)
+  * Adjust dependencies on libqt3-mt-mysql to accomodate systems both
+    before and after the gcc-4.0 transition
+  * Include static libraries in libmyth-0.18.1-dev where available
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Fri, 10 Jun 2005 12:53:11 -0700
+
+mythtv (0.18-3) unstable; urgency=low
+
+  * Add /usr/X11R6/include to INCLUDEPATH for libmyth
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sun, 29 May 2005 18:57:30 -0700
+
+mythtv (0.18-2) breezy; urgency=low
+
+  * mythtv Recommends: mythtv-themes
+  * Build-Depends: libxext-dev
+  * Update README.Debian to reflect that running as alternate users
+    doesn't quite work anymore (patches welcome)
+  * Configure with --cpu=i486 --tune=pentium4 --enable-mmx
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Thu, 26 May 2005 14:27:54 -0700
+
+mythtv (0.18-1) breezy; urgency=low
+
+  * New upstream release
+    - Use gcc-3.3 explicitly, and build-depend on it, so as to continue to
+      build on Breezy (at least libavcodec doesn't compile with 4.0)
+    - mythtv-setup is now installed for us, no need to do it in debian/rules
+    - Set QMAKE_LIBDIR_X11 in settings.pro
+    - Comment out code in configure which disables x11 support based on
+      presence of xinit(?!)
+  * Explicitly enable lirc, alsa, oss, jack, arts, xvmc, opengl-vsync, dvb,
+    firewire, ivtv and joystick-menu
+    - Add build-depends: libdvb-dev
+  * Build-Depends: libdvb-dev, gcc-3.3
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sun,  1 May 2005 21:22:54 -0700
+
+mythtv (0.17-3) hoary; urgency=low
+
+  * Fix bad merge of backendsettings.cpp
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Mon, 14 Feb 2005 09:50:35 -0800
+
+mythtv (0.17-2) hoary; urgency=low
+
+  * Fix CXXFLAGS to -O2 -g all around (fixes FTBFS on amd64)
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sun, 13 Feb 2005 23:24:53 -0800
+
+mythtv (0.17-1) unstable; urgency=low
+
+  * New upstream release
+  * Add build-depends: libxinerama-dev | xlibs-static-dev (<< 6.8.1-1), libxxf86vm-dev | xlibs-static-dev (<< 6.8.1-1)
+  * Add debian/mysql.txt.dist as template; upstream no longer ships one
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sat, 12 Feb 2005 23:10:39 -0800
+
+mythtv (0.16-2) unstable; urgency=low
+
+  * Drop alternative dependency on libqt3-mt-mysql, since woody isn't
+    really supported anymore anyway, and it was causing confusion
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Fri, 11 Feb 2005 19:33:06 -0800
+
+mythtv (0.16-1) unstable; urgency=low
+
+  * New upstream release
+  * Add an explanation to the package description of mythtv-debug
+    explaining its use
+  * Build without -march=i686
+  * Add a Depends: line to mythtv-debug to appease linda
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Fri, 10 Sep 2004 17:46:18 -0700
+
+mythtv (0.15.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Add mythtv-backend.NEWS file with pointer to datadirect upgrade
+    instructions
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Tue,  1 Jun 2004 12:12:09 -0700
+
+mythtv (0.15-1) unstable; urgency=low
+
+  * New upstream release
+    - Includes support for Zap2It Data Direct service (you'll need to
+      switch to this if you used tv_grab_na with 0.14)
+  * Downgrade xmltv-util dependency to a Recommends, since it's now
+    optional for North American users
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Wed, 26 May 2004 22:53:35 -0700
+
+mythtv (0.14-6) unstable; urgency=low
+
+  * Use copytruncate in logrotate config, so that mythbackend is always
+    writing to mythbackend.log, as a workaround until such time as I get
+    around to adding a signal handler to mythtv to reopen the logfile
+    (thanks to Brad Fritz)
+  * Remove build-depends: linux-kernel-headers
+  * Provide concrete alternative libmysqlclient10-dev for virtual package
+    libmysqlclient-dev
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Mon, 29 Mar 2004 19:43:31 -0800
+
+mythtv (0.14-5) unstable; urgency=low
+
+  * Include ALSA and ARTS support
+  * Preserve permissions on /etc/mythtv/mysql.txt if they are changed
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Fri, 20 Feb 2004 15:32:58 -0800
+
+mythtv (0.14-4) unstable; urgency=low
+
+  * Add missing ttf-freefont dependency
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Wed, 18 Feb 2004 23:36:29 -0800
+
+mythtv (0.14-3) unstable; urgency=low
+
+  * Replace FreeMono.ttf, FreeSans.ttf with a symlink to the one in ttf-freefont
+  * Move setup.xml and font symlinks into mythtv-common, since they're
+    needed by mythtv-setup
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Wed, 18 Feb 2004 11:09:21 -0800
+
+mythtv (0.14-2) unstable; urgency=low
+
+  * Move themes into mythtv-common, as they're needed for the backend
+    setup as well
+  * mythtv-common Replaces mythtv-frontend (<< 0.14-2)
+  * New binary package mythtv-debug, which has debugging symbols for
+    mythtv-frontend, mythtv-backend and libmyth.  No more recompiling just
+    to get backtraces.
+  * Build with -O2 -g -march=pentiumpro (rather than -O3 -fomit-frame-pointer)
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sat, 31 Jan 2004 20:35:36 -0800
+
+mythtv (0.14-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sat, 31 Jan 2004 14:43:48 -0800
+
+mythtv (0.13-6) unstable; urgency=low
+
+  * Add a check to ensure that the package isn't being built under /usr,
+    due to #180240 (which shows no signs of being fixed)
+  * Remove debconf prompts from mythtv-frontend which used to be used to
+    configure the backend location; this is now done inside the UI
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sat, 24 Jan 2004 12:29:06 -0800
+
+mythtv (0.13-5) unstable; urgency=low
+
+  * Don't compress the mythbackend log when rotating it (it doesn't get
+    reopened yet)
+  * Install configfiles/* as examples
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Mon, 12 Jan 2004 09:54:06 -0800
+
+mythtv (0.13-4) unstable; urgency=low
+
+  * Enable DVB and LIRC support
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sun, 14 Dec 2003 11:57:23 -0800
+
+mythtv (0.13-3) unstable; urgency=low
+
+  * Apply tvformat.fix.0.13.diff to fix problem where tvformat column was
+    not properly initialized
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sat, 13 Dec 2003 23:43:53 -0800
+
+mythtv (0.13-2) unstable; urgency=low
+
+  * Include mythtvosd in mythtv-frontend until such time as I decide where
+    it really belongs
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sat, 13 Dec 2003 16:00:49 -0800
+
+mythtv (0.13-1) unstable; urgency=low
+
+  * New upstream release (packaged at last)
+  * No more database upgrade scripts (hurrah)
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Fri, 12 Dec 2003 15:14:01 -0800
+
+mythtv (0.11-6) unstable; urgency=low
+
+  * Rebuild with gcc 3.3.2-0pre2.  Building with 3.3.2-0pre3 is broken due to
+    #210848
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Thu, 18 Sep 2003 10:47:50 -0400
+
+mythtv (0.11-5) unstable; urgency=low
+
+  * Make sure that debian/mythsql is executable (it is created by the
+    Debian diff)
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Tue, 16 Sep 2003 09:06:10 -0400
+
+mythtv (0.11-4) unstable; urgency=low
+
+  * Fix another problem initializing the database on fresh installs
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Wed, 20 Aug 2003 22:29:48 -0400
+
+mythtv (0.11-3) unstable; urgency=low
+
+  * Add Suggests for the various add-ons
+  * Fix a strange problem in the mythtv-database postinst which broke
+    fresh installs
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Wed, 20 Aug 2003 21:30:51 -0400
+
+mythtv (0.11-2) unstable; urgency=low
+
+  * Clean up database handling a bunch, adding a script (mythsql) which
+    can be used by the add-ons to initialize their database without messy
+    postinst tricks
+  * mythtv-common Depends: mysql-client
+  * Fix description for libmyth-0.11-dev
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Fri, 15 Aug 2003 23:28:39 -0400
+
+mythtv (0.11-1) unstable; urgency=low
+
+  * New upstream release
+  * Run qmake before make, because qmake puts broken dependencies into the
+    Makefile
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Fri, 15 Aug 2003 15:24:48 -0400
+
+mythtv (0.10-4) unstable; urgency=low
+
+  * Don't attempt to drop the database in postrm.  Too many people screw up
+    the username/password configuration and then can't purge it
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Wed, 30 Jul 2003 09:03:17 -0400
+
+mythtv (0.10-3) unstable; urgency=low
+
+  * Include mythcommflag in mythtv-backend.  Thanks to Jim <jim@xxxxxxxx>
+    for pointing this out.
+  * Include i18n files for mythfrontend
+  * Include mythtranscode binary in mythtv-backend
+  * Build-Depend on libfreetype6-dev rather than libttf-dev.  Thanks to
+    Eduardo P?rez Ureta <eperez@xxxxxxxxxx>
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Tue, 22 Jul 2003 20:03:46 -0400
+
+mythtv (0.10-2) unstable; urgency=low
+
+  * Add /etc/default/mythtv-backend with some handy options for controlling
+    the startup of the backend
+  * Include patch from upstream CVS to work correctly with xmltv 0.5.15
+  * Use exact versioned dependencies for the mythtv metapackage to make it
+    easy to keep everything in sync
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Thu, 10 Jul 2003 00:02:57 -0400
+
+mythtv (0.10-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Tue,  1 Jul 2003 21:22:40 -0400
+
+mythtv (0.9.1-1) unstable; urgency=low
+
+  * New upstream release
+  * Add keys.txt to documentation
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Tue, 10 Jun 2003 16:51:45 -0400
+
+mythtv (0.9-2) unstable; urgency=low
+
+  * Fix permissions on /var/lib/mythtv and /var/cache/mythtv
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Tue, 10 Jun 2003 14:33:02 -0400
+
+mythtv (0.9-1) unstable; urgency=low
+
+  * New upstream release
+  * Recommend mythtv-doc in a few places
+  * Fix default paths in backend setup; apparently this was lost in the 0.8
+    merge.  The correct defaults are /var/lib/mythtv and /var/cache/mythtv for
+    recordings and live tv, respectively.  Permissions are automatically set
+    appropriately on these directories by default.
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Wed,  4 Jun 2003 23:12:05 -0400
+
+mythtv (0.8-11) unstable; urgency=low
+
+  * Print a warning if any old myth stuff is found in /usr/local
+    (too many complaints about "broken" packages caused by old libraries and
+     binaries)
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Fri,  4 Apr 2003 15:10:00 -0500
+
+mythtv (0.8-10) unstable; urgency=low
+
+  * Clean /var/log/mythtv on purge of mythtv-backend
+  * Clarify the debconf note which explains about running setup, so that
+    it includes a note about X and explains how to start the backend
+    afterward.
+  * Clarify package descriptions to explain their relationships
+  * Raise the priority of the question about the mysql admin password to
+    'high', and add some additional info to it.  There is a dilemma here
+    between confusing users by asking this question (when they have not
+    set a password), and confusing them by skipping it (when the user has
+    set a password)
+  * Move the dependency on the Qt mysql module to libmyth-0.8 where it is
+    shared by all packages which depend on it
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Thu, 20 Mar 2003 09:34:41 -0500
+
+mythtv (0.8-9) unstable; urgency=low
+
+  * Fix display of hostname in informational message in postinst
+  * Fix log rotation (mythfilldatabase.log no longer exists, rotate
+    mythbackend.log)
+  * Fix permissions on /var/log/mythtv in mythtv-backend postinst
+  * Move database drop from mythtv-common to mythtv-database
+  * Fix removal of /etc/mythtv in mythtv-common on purge
+  * Create mythbackend.log with proper permissions
+  * Generate the random database password in mythtv-common, not
+    mythtv-database (would end up with a blank password in
+    /etc/mythtv/mysql.txt)
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Wed, 19 Mar 2003 10:40:37 -0500
+
+mythtv (0.8-8) unstable; urgency=low
+
+  * Fix error introduced in 0.8-7
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Mon, 17 Mar 2003 00:09:43 -0500
+
+mythtv (0.8-7) unstable; urgency=low
+
+  * Close all file descriptors when daemonizing the backend, to avoid a
+    hang when using debconf in mythtv-backend postinst
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sun, 16 Mar 2003 23:41:33 -0500
+
+mythtv (0.8-6) unstable; urgency=low
+
+  * Oops, load confmodule in mythtv-backend.postinst
+  * mythtv-backend Depends: debconf
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sun, 16 Mar 2003 23:30:26 -0500
+
+mythtv (0.8-5) unstable; urgency=low
+
+  * Finish moving creation of v4l devices to mythtv-backend from
+    mythtv-common
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sun, 16 Mar 2003 23:19:05 -0500
+
+mythtv (0.8-4) unstable; urgency=low
+
+  * Make 'mythtv' Architecture: all, since it is just a metapackage now
+  * Do automated database upgrade from 0.7
+  * Fix cron.daily pathname in informational message in setup
+  * Fix quoting in cron.daily/mythtv-backend
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sun, 16 Mar 2003 23:04:16 -0500
+
+mythtv (0.8-3) unstable; urgency=low
+
+  * Return proper exit status from DoSQL in postinst (broke initial
+    creation of the database and error detection)
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sun, 16 Mar 2003 22:43:25 -0500
+
+mythtv (0.8-2) unstable; urgency=low
+
+  * Split database configuration into a separate package, mythtv-database,
+    which should be installed where the mysql server is
+  * Make config file substitution in postinst scripts a bit more robust
+  * Add mythtv-doc package with HOWTO
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sun, 16 Mar 2003 17:14:46 -0500
+
+mythtv (0.8-1) unstable; urgency=low
+
+  * New upstream release
+  * Split up backend and frontend into separate packages
+  * Add some error checking in postinst to give more meaningful error
+    messages when database operations fail
+  * Attempt to migrate cron and logrotate config from mythtv to
+    mythtv-backend
+  * Install new program mythprogfind
+  * Fix up copyright file
+  * Use --quiet in mythfilldatabase cron job, and report errors via cron,
+    rather than writing a logfile
+  * mythtv-backend Depends: libqt3c102-mt-mysql | libqt3-mt-mysql, to
+    support unstable
+  * Clean up dependencies a bit, so they should work correctly for
+    distributed setups (though I have none to test at present)
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sun, 16 Mar 2003 12:52:31 -0500
+
+mythtv (0.7-12) unstable; urgency=low
+
+  * Add missing '-c' option in example for running mythtv-setup
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Thu, 21 Nov 2002 16:27:25 -0500
+
+mythtv (0.7-11) unstable; urgency=low
+
+  * Improve the run_setup template to omit the now-unnecessary --shell
+    option to su, and to give some instruction on how to properly start
+    mythtv for those who don't read README.Debian.
+  * Add workaround for pwgen bug #118181, which exists in woody and was
+    causing the strange failures with exit code 160.
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Tue, 19 Nov 2002 11:24:23 -0500
+
+mythtv (0.7-10) unstable; urgency=low
+
+  * Add Bugs: header to control file.  Please use reportbug to report
+    problems with these packages
+  * Include keys.txt in documentation (describes key bindings)
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sun, 17 Nov 2002 17:22:11 -0500
+
+mythtv (0.7-9) unstable; urgency=low
+
+  * When generating a random password, store it in the debconf database for
+    next time
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Fri, 15 Nov 2002 18:16:06 -0500
+
+mythtv (0.7-8) unstable; urgency=low
+
+  * Fix sections
+  * Redirect mythfilldatabase stderr to the logfile, as well as stdout
+    (filed Debian bug #169157 against xmltv to get this fixed right)
+  * Add missing dependency on pwgen
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Thu, 14 Nov 2002 21:24:31 -0500
+
+mythtv (0.7-7) unstable; urgency=low
+
+  * Depend on pwgen, and generate a random password if none is specified
+  * Fix setup text to not recommend "su --shell" since the mythtv user now
+    has a real shell
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Wed, 13 Nov 2002 23:47:55 -0500
+
+mythtv (0.7-6) unstable; urgency=low
+
+  * Depend on adduser
+  * Ensure that we are doing an upgrade before comparing the version
+    number
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Wed, 13 Nov 2002 23:19:12 -0500
+
+mythtv (0.7-5) unstable; urgency=low
+
+  * Split libmyth into its own package(s) in order to facilitate packaging
+    of add-ons such as mythmusic and mythweb
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Wed, 13 Nov 2002 19:45:51 -0500
+
+mythtv (0.7-4) unstable; urgency=low
+
+  * Add a real package description
+  * Add a README.Debian
+  * Create the mythtv user with shell /bin/sh, and change the shell on
+    upgrade from a previous version
+  * Flesh out some of the debconf questions with more explanations
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Tue, 12 Nov 2002 23:17:58 -0500
+
+mythtv (0.7-3) unstable; urgency=low
+
+  * Revert to the RingBuffer in 0.7-1 for now
+  * Build against woody libc6
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sun, 10 Nov 2002 18:44:49 -0500
+
+mythtv (0.7-2) unstable; urgency=low
+
+  * Revert RingBuffer changes, which caused a drastic performance decrease on
+    my installation
+  * Improve clean target
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sat,  9 Nov 2002 22:19:17 -0500
+
+mythtv (0.7-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sat,  9 Nov 2002 17:38:51 -0500
+
+mythtv (0.6+cvs.20021109-1) unstable; urgency=low
+
+  * Synched with upstream CVS
+  * Make a shlibs file and corresponding virtual package for libmyth
+  * Add dependency on wget, used for fetching channel logos
+  * Fix permissions on configuration files
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sat,  9 Nov 2002 15:56:47 -0500
+
+mythtv (0.6+cvs.20021106-3) unstable; urgency=low
+
+  * Grant privileges to user@localhost as well as user@'%' so that stuff
+    should work with a local database
+  * Add documentation
+  * Call MAKEDEV to create v4l devices with appropriate permissions
+  * Create database tables using mc.sql
+  * Add lots more configuration options
+  * Patch setup to explain how to run mythfilldatabase as the mythtv user
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Sat,  9 Nov 2002 15:20:32 -0500
+
+mythtv (0.6+cvs.20021106-2) unstable; urgency=low
+
+  * First attempt at database setup at install time
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Wed,  6 Nov 2002 23:28:39 -0500
+
+mythtv (0.6+cvs.20021106-1) unstable; urgency=low
+
+  * Synched with upstream CVS
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Wed,  6 Nov 2002 19:38:20 -0500
+
+mythtv (0.6+cvs.20021105-1) unstable; urgency=low
+
+  * Synched with upstream CVS
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Tue,  5 Nov 2002 22:51:35 -0500
+
+mythtv (0.6+cvs.20021031-1) unstable; urgency=low
+
+  * Synched with upstream CVS
+  * Move config files to /etc/mythtv
+  * postinst: Create mythtv user and set permissions
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Thu, 31 Oct 2002 22:28:33 -0500
+
+mythtv (0.6-1) unstable; urgency=low
+
+  * Initial Release.
+
+ -- Matt Zimmerman <mdz@xxxxxxxxxx>  Wed, 16 Oct 2002 23:20:56 -0400
+

=== added file 'debian/clean'
--- debian/clean	1970-01-01 00:00:00 +0000
+++ debian/clean	2010-05-26 16:08:33 +0000
@@ -0,0 +1,13 @@
+debian/shlibs.local
+debian/mythtv-backend.upstart
+config.mak
+config.h
+config.log
+Makefile
+setup/Makefile
+bindings/perl/Makefile.perl.old
+bindings/python/build
+programs/mythbackend/version.cpp
+programs/mythfrontend/version.cpp
+libs/libmythupnp/version.cpp
+.qmake*

=== added file 'debian/compat'
--- debian/compat	1970-01-01 00:00:00 +0000
+++ debian/compat	2010-05-26 16:08:33 +0000
@@ -0,0 +1,1 @@
+7

=== added file 'debian/control'
--- debian/control	1970-01-01 00:00:00 +0000
+++ debian/control	2010-05-26 16:08:33 +0000
@@ -0,0 +1,254 @@
+Source: mythtv
+Section: graphics
+Priority: optional
+Maintainer: MythTV Ubuntu Maintainers <ubuntu-mythtv@xxxxxxxxxxxxxxxx>
+Uploaders: Mario Limonciello <superm1@xxxxxxxxxx>,
+           Andres Mejia <mcitadel@xxxxxxxxx>,
+Homepage: http://www.mythtv.org
+Standards-Version: 3.8.4
+Vcs-Bzr: bzr+ssh://bazaar.launchpad.net/~mythbuntu/mythtv/mythtv-fixes
+Vcs-Browser: http://bazaar.launchpad.net/~mythbuntu/mythtv/mythtv-fixes
+Build-Conflicts: libqt3-mt-dev
+Build-Depends:  debhelper (>= 7.0.50~),
+                quilt,
+                ccache,
+                yasm,
+                libqt4-dev,
+                libqt4-opengl-dev,
+                libqt4-webkit-dev,
+                libdvb-dev,
+                po-debconf,
+                texi2html,
+                python-central,
+                linux-kernel-headers,
+                libdvdnav-dev,
+                libfreetype6-dev,
+                libavc1394-dev,
+                libiec61883-dev (>= 1.0.0),
+                liblircclient-dev,
+                libxinerama-dev | xlibs-static-dev (<< 6.8.1-1),
+                libxxf86vm-dev | xlibs-static-dev (<< 6.8.1-1),
+                libmysqlclient16-dev,
+                libxvmc-dev | xlibs-static-dev (<< 6.8.1-1),
+                libxext-dev | xlibs-static-dev (<< 6.8.1-1),
+                libimlib2-dev,
+                libasound2-dev,
+                libjack0.100.0-dev | libjack-dev,
+                libmp3lame-dev | liblame-dev,
+                libvorbis-dev,
+                libdts-dev,
+                lsb-release,
+                libpulse-dev,
+                libxrandr-dev,
+                libfftw3-dev,
+                libfaad-dev,
+                xserver-xorg-video-openchrome [i386 amd64] | libchromexvmc1 [i386 amd64],
+                xserver-xorg-video-openchrome [i386 amd64] | libchromexvmcpro1 [i386 amd64],
+                libvdpau-dev [i386 amd64 armel] | nvidia-190-libvdpau-dev [i386 amd64] | nvidia-185-libvdpau-dev [i386 amd64] | nvidia-180-libvdpau-dev [i386 amd64],
+                libudev-dev
+
+Package: mythtv
+Architecture: all
+Depends: mysql-server, mythtv-database, mythtv-frontend, mythtv-backend, ntp | time-daemon | ntp-simple, ${misc:Depends}
+Recommends: mythtv-themes
+Suggests: mythtv-doc
+Description: A personal video recorder application (client and server)
+ MythTV implements the following PVR features, and more, with a
+ unified graphical interface:
+ .
+  - Basic 'live-tv' functionality. Pause/Fast Forward/Rewind "live" TV.
+  - Video compression using RTjpeg or MPEG-4
+  - Program listing retrieval using XMLTV
+  - Themable, semi-transparent on-screen display
+  - Electronic program guide
+  - Scheduled recording of TV programs
+  - Resolution of conflicts between scheduled recordings
+  - Basic video editing
+ .
+ http://www.mythtv.org/
+ .
+ This package will install a complete MythTV client/server environment on a
+ single system.  If you are intended on using this as your only MythTV machine,
+ and this machine is already configured as a desktop, this package will get you
+ up and running switfly.
+ .
+ If you are intended on installing this on a standalone/non-desktop machine,
+ you should look into the metapackages available:
+ mythtv-backend-master (backend with a local database)
+ mythtv-backend (backend needing a remote database)
+
+Package: mythtv-common
+Architecture: any
+Depends: pwgen, adduser, mysql-client, ttf-freefont, ttf-liberation, ttf-droid, ttf-dejavu, ${shlibs:Depends}, ${misc:Depends}
+Suggests: mythtv-doc
+Conflicts: mythtv (<< 0.8-1), mythmusic (<< 0.20.99+trunk14393), mythweather (<< 0.20.99+trunk14393), mythcontrols, mythtv-theme-mythcenter, mythtv-theme-mythcenter-wide, mythtv-theme-gray-osd, mythtv-theme-isthmus
+Replaces: mythtv (<< 0.8-1), mythtv-frontend (<< 0.23.0~trunk23548), mythmusic (<< 0.20.99+trunk14393), mythweather (<< 0.20.99+trunk14393), mythcontrols (<< 0.20.trunk19500), mythcontrols, mythtv-theme-mythcenter, mythtv-theme-mythcenter-wide, mythtv-theme-isthmus, mythtv-theme-gray-osd, mythtv-theme-mythbuntu, mythtv-backend (<< 0.23.0~trunk23549)
+Description: A personal video recorder application (common data)
+ MythTV provides a unified graphical interface for recording and viewing
+ television programs. Refer to the mythtv package for more information.
+ .
+ This package contains infrastructure needed by both the client and the
+ server.
+
+Package: mythtv-doc
+Architecture: all
+Conflicts: mythtv (<< 0.8-1)
+Section: doc
+Replaces: mythtv (<< 0.8-1)
+Depends: ${misc:Depends}
+Description: A personal video recorder application (documentation)
+ MythTV provides a unified graphical interface for recording and viewing
+ television programs. Refer to the mythtv package for more information.
+ .
+ This package contains documentation, including the MythTV HOWTO.
+
+Package: mythtv-database
+Architecture: all
+Depends: mythtv-common, libdbd-mysql-perl, mysql-client, cron, ${misc:Depends}
+Recommends: update-notifier | update-notifier-kde | adept-notifier
+Conflicts: mythtv (<< 0.8-1), mythtv-common (<< 0.8-2)
+Replaces: mythtv (<< 0.8-1), mythtv-common (<< 0.8-2)
+Description: A personal video recorder application (database)
+ MythTV provides a unified graphical interface for recording and viewing
+ television programs. Refer to the mythtv package for more information.
+ .
+ This package sets up a MySQL database for use by MythTV. It should be
+ installed on the system where the MySQL server resides.
+
+Package: mythtv-backend
+Architecture: any
+Depends: mythtv-common, mythtv-transcode-utils, ${shlibs:Depends}, cron, wget, zenity | kdebase-bin, gksu | kdebase-bin, libmythtv-perl, xterm, ${misc:Depends}
+Conflicts: mythtv (<< 0.8-1)
+Replaces: mythtv (<< 0.8-1), mythtv-frontend (<= 0.20-0.4)
+Recommends: ntp | time-daemon | ntp-simple, logrotate
+Suggests: mythtv-frontend, mythweb, mythtv-database, xmltv-util
+Description: A personal video recorder application (server)
+ MythTV provides a unified graphical interface for recording and viewing
+ television programs. Refer to the mythtv package for more information.
+ .
+ This package contains only the server software, which provides video and
+ audio capture and encoding services. In order to be useful, it requires a
+ mythtv-frontend installation, either on the same system or one reachable
+ via the network.
+ .
+ A database is also required. The mythtv-database package must be installed,
+ either on the same system, or one reachable via the network.
+ .
+ For a complete installation of all MythTV components, install the 'mythtv'
+ package.
+
+Package: mythtv-transcode-utils
+Architecture: any
+Depends: mythtv-common, ${shlibs:Depends}, ${misc:Depends}
+Conflicts: mythtv-backend (<< 0.20.2-0ubuntu1)
+Replaces: mythtv-backend (<< 0.20.2-0ubuntu1)
+Suggests: mythtv-backend, mytharchive
+Description: Utilities used for transcoding MythTV tasks
+ Some utilities are applicable for both a frontend or a backend machine.
+ This package provides utilities that can be used on both without
+ requiring an entire backend to be installed.
+
+Package: mythtv-frontend
+Architecture: any
+Depends: mythtv-common, ${shlibs:Depends}, adduser, zenity | kdebase-bin, gksu | kdebase-bin, wmctrl, ${misc:Depends}
+Suggests: mythtv-backend, mythmusic, mythweather, mythgallery, mythvideo, mythgame, ntp | time-daemon | ntp-simple
+Conflicts: mythtv (<< 0.8-1), mythappearance (<< 0.21.0), mythstream (<< 0.21.0), mythflix (<< 0.23.0)
+Replaces: mythtv (<< 0.8-1),  mythappearance (<< 0.21.0)
+Description: A personal video recorder application (client)
+ MythTV provides a unified graphical interface for recording and viewing
+ television programs. Refer to the mythtv package for more information.
+ .
+ This package contains only the client software, which provides a front-end
+ for playback and configuration. It requires access to a mythtv-backend
+ installation, either on the same system or one reachable via the network.
+ .
+ A database is also required. The mythtv-database package must be installed,
+ either on the same system, or one reachable via the network.
+ .
+ For a complete installation of all MythTV components, install the 'mythtv'
+ package.
+
+Package: libmyth-0.23-0
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}, libqt4-sql-mysql, ${misc:Depends}
+Conflicts: mythtv (<< 0.7-5)
+Replaces: mythtv (<< 0.7-5)
+Description: Common library code for MythTV and add-on modules (runtime)
+ MythTV provides a unified graphical interface for recording and viewing
+ television programs. Refer to the mythtv package for more information.
+ .
+ This package contains a shared library, libmyth, which is used by various
+ components in the system.
+
+Package: libmyth-dev
+Architecture: any
+Section: libdevel
+Depends: libmyth-0.23-0 (= ${binary:Version}), ${misc:Depends}
+Provides: libmyth-0.23-0-dev
+Conflicts: libmyth-0.23-dev
+Description: Common library code for MythTV and add-on modules (development)
+ MythTV provides a unified graphical interface for recording and viewing
+ television programs. Refer to the mythtv package for more information.
+ .
+ This package contains files needed for developing applications which use
+ libmyth (such as the various add-ons for MythTV)
+
+Package: libmyth-perl
+Architecture: all
+Section: perl
+Depends: libmythtv-perl, ${misc:Depends}
+Description: Transitional package to move people to libmythtv-perl
+ This is a dummy package to help assist people with the transition
+ to the new package name for storing the mythtv perl bindings.
+ .
+ It can be safely removed from your system.
+
+Package: libmythtv-perl
+Architecture: all
+Section: perl
+Depends: ${misc:Depends}, ${perl:Depends}, libdbi-perl, libdbd-mysql-perl, libnet-upnp-perl
+Replaces: mythtv-common (<< 0.20.98 ), libmyth-perl
+Conflicts: mythtv-common (<< 0.20.98 ), libmyth-perl
+Description: A PERL library to access some MythTV features
+ MythTV provides a unified graphical interface for recording and viewing
+ television programs. Refer to the mythtv package for more information.
+ .
+ This package contains files needed for some PERL MythTV add-ons like
+ nuvexport or mythrename.pl.
+
+Package: libmyth-python
+Architecture: all
+Section: libs
+Depends: ${python:Depends}, python-mysqldb, ${misc:Depends}
+Replaces: mythtv-common (<< 0.20.98 )
+Conflicts: mythtv-common (<< 0.20.98 )
+Description: A python library to access some MythTV features
+ MythTV provides a unified graphical interface for recording and viewing
+ television programs. Refer to the mythtv package for more information.
+ .
+ This package contains files needed for some python MythTV add-ons.
+
+
+Package: mythtv-backend-master
+Architecture: all
+Section: metapackages
+Depends: mysql-server, ntp | time-daemon | ntp-simple, mythtv-database, mythtv-backend, ${misc:Depends}
+Recommends: mythweb
+Description: Metapackage to setup and configure a "Master Backend" profile of MythTV.
+ This package will install and configure all necessary packages for this machine
+ to behave as a "Master" Backend for a mythtv network.  This package is intended
+ to be installed on the machine that will behave as the first (and possibly
+ only) backend for the network.  Typically, this package will be installed on a
+ server rather then a desktop. It makes no sense to install it on anything but
+ the first backend machine on the network.
+
+Package: mythtv-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Recommends: libc6-dbg
+Depends: ${misc:Depends}, mythtv-backend (=${binary:Version}) | mythtv-frontend (=${binary:Version})
+Description: Debug symbols for mythtv packages
+ This package provides all debug symbols for mythtv packages since ddebs
+ don't appear to always do the right thing.

=== added file 'debian/copyright'
--- debian/copyright	1970-01-01 00:00:00 +0000
+++ debian/copyright	2010-05-26 16:08:33 +0000
@@ -0,0 +1,68 @@
+This package was debianized by Matt Zimmerman <mdz@xxxxxxxxxx> on
+Wed, 16 Oct 2002 23:20:56 -0400.
+
+It was downloaded from http://www.mythtv.org/
+
+Upstream Authors:
+
+Main Author: 
+    Isaac Richards <ijr@xxxxxxxxxxx>
+
+Original NuppelVideo version: 
+    Roman HOCHLEITNER <roman at mars.tuwien.ac.at>
+libavcodec, from ffmpeg.sf.net:
+    Fabrice Bellard <fabrice.bellard at free.fr>
+Rewritten player class and improved a/v sync code:
+    John Coiner <jcoiner at stanfordalumni.org>
+TangoBlue theme:
+    Forrest Walter - www.forrestwalter.com
+LiquidTV theme:
+    jer warren <>
+Selectable GUI sizes:
+    thor at lamedomainname.com
+Video Filters:
+    Richard Jones <richard at earthmen.com>
+Misc changes:
+    Grant Taylor <gtaylor at picante.com>
+Colorize the EPG:
+    skrpub <skrpub at earthlink.net>
+Bugfixes, EPG updates, more UK friendly database filling, lots of other things:
+    Andrew M. Bishop <amb at gedanken.demon.co.uk>
+Non-integer channel fixes, customizable date displays:
+    Jens Lohmann-Hansen <JensLH at adslhome.dk>
+Modifyable install prefix, recording/scheduler improvements, mono support, more:
+    Jim Radford <jim at blackbean.org>
+Keybinding to toggle fullscreen playback, EPG speedups:
+    Erik Arendse <erik.arendse at bigfoot.com>
+EPG/filldatabase enhancements:
+    Christian Hoenig <me at christianhoenig.de>
+Setup enhancements:
+    Dan Schwarz <dschwarz at bellatlantic.net>
+Large amount of documentation:
+    Robert Kulagowski <rkulagowski at thrupoint.net>
+Alternative EPG layout:
+    John Danner <johndanner at psu.edu>
+Graphical setup UI, database backend for configuration, initial direct rendering support
+    Matt Zimmerman <mdz at debian.org>
+
+Copyright:
+    Copyright (C) 2002-2010 Isaac Richards <ijr@xxxxxxxxxxx> et al.
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; version 2 of the License only.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License along
+    with this program. If not, see <http://www.gnu.org/licenses/>.
+
+MythTV is distributed under the terms of the GPL, version 2 only.
+If you don't have a copy of the GPL, get one at:
+     http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
+
+On Debian systems, a copy of the GPL can be found in
+/usr/share/common-licenses/GPL-2.

=== added file 'debian/dialog_functions.sh'
--- debian/dialog_functions.sh	1970-01-01 00:00:00 +0000
+++ debian/dialog_functions.sh	2010-05-26 16:08:33 +0000
@@ -0,0 +1,179 @@
+#!/bin/sh
+# The following set of functions are borrowed from UCK and xdg-utils
+# with minor modifications as well as a few written myself
+#- Mario Limonciello, March 2007
+###################################################################
+
+find_dialog()
+{
+        if [ -z "$DIALOG" ] ; then
+                DIALOG=`which zenity`
+
+                if [ ! -z "$DIALOG" ]; then
+                        DIALOG_TYPE=zenity
+                fi
+        fi
+
+        if [ -z "$DIALOG" ]; then
+                DIALOG=`which kdialog`
+
+                if [ ! -z "$DIALOG" ]; then
+                        DIALOG_TYPE=kdialog
+                fi
+        fi
+
+        if [ -z $DIALOG ]; then
+                failure "You need zenity or kdialog installed to run mythfrontend"
+        fi
+}
+
+find_session()
+{
+    if [ x"$KDE_FULL_SESSION" = x"true" ]; then 
+	DE=kde;
+	DIALOG=`which kdialog`;
+	DIALOG_TYPE=kdialog;
+        SU=`which kdesudo`
+	SU_TYPE=kdesudo
+    elif [ x"$GNOME_DESKTOP_SESSION_ID" != x"" ]; then 
+	DE=gnome;
+	DIALOG=`which zenity`;
+	DIALOG_TYPE=zenity;
+        SU=`which gksu`
+	SU_TYPE=gksu
+    elif xprop -root _DT_SAVE_MODE | grep ' = \"xfce4\"$' >/dev/null 2>&1; then 
+	DE=xfce;
+	DIALOG=`which zenity`;
+	DIALOG_TYPE=zenity;
+        SU=`which gksu`
+	SU_TYPE=gksu
+    fi
+}
+
+find_su()
+{
+        if [ -z "$SU" ] ; then
+                SU=`which gksu`
+
+                if [ -z "$SU_TYPE" ]; then
+                        SU_TYPE=gksu
+                fi
+        fi
+
+        if [ -z "$SU" ]; then
+                SU=`which kdesu`
+
+                if [ -z "$SU_TYPE" ]; then
+                        SU_TYPE=kdesu
+                fi
+        fi
+
+        if [ -z "$SU" ]; then
+                SU=`which kdesudo`
+
+                if [ -z "$SU_TYPE" ]; then
+                        SU_TYPE=kdesudo
+                fi
+        fi
+
+
+        if [ -z "$SU_TYPE" ]; then
+                failure "You need gksu or kdesu installed to run mythfrontend"
+        fi
+}
+
+dialog_choose_file()
+{
+        TITLE="$1"
+
+        if [ "$DIALOG_TYPE" = "zenity" ] ; then
+                $DIALOG --title "$TITLE" --file-selection "`pwd`/"
+        else
+                if [ "$DIALOG_TYPE" = "kdialog" ] ; then
+                        $DIALOG --title "$TITLE" --getopenfilename "`pwd`/"
+                else
+                        $DIALOG --stdout --title "$TITLE" --fselect "`pwd`/" 20 80
+                fi
+        fi
+}
+
+dialog_msgbox()
+{
+        TITLE="$1"
+        TEXT="$2"
+
+        if [ "$DIALOG_TYPE" = "zenity" ]; then
+                echo -n "$TEXT" | $DIALOG --title "$TITLE" --text-info --width=500 --height=400
+        else
+                $DIALOG --title "$TITLE" --msgbox "$TEXT" 20 80
+        fi
+}
+
+dialog_question()
+{
+        TITLE="$1"
+        TEXT="$2"
+
+        if [ "$DIALOG_TYPE" = "zenity" ]; then
+                $DIALOG --title "$TITLE" --question --text "$TEXT"
+        else
+                $DIALOG --title "$TITLE" --yesno "$TEXT" 20 80
+        fi
+}
+
+failure()
+{
+	echo "$@"
+	exit 1
+}
+
+check_groups()
+{
+if [ -n "$(groups | grep --invert-match mythtv)" ]
+then
+	if [ -e ~/.mythtv/ignoregroup ]
+	then
+		IGNORE_NOT=0
+	else	
+		dialog_question "Incorrect Group Membership" "You must be a member of the \"mythtv\" group before starting any mythtv applications.\nWould you like to automatically be added to the group?\n(Note: sudo access required)"
+		ADD_NOT=$?
+		# 0 means that they do want in
+		# 1 means that they don't want in
+		if [ "$ADD_NOT" = "1" ]; then
+			dialog_question "Incorrect Group Membership" "Would you like to disable this warning in the future and start anyway?"
+			IGNORE_NOT=$?
+			if [ "$IGNORE_NOT" = "0" ]; then
+				mkdir -p ~/.mythtv
+				touch ~/.mythtv/ignoregroup
+			fi
+		else
+			if [ "$DE" = "kde" ]; then
+				$SU_TYPE adduser `whoami` mythtv
+			else
+				$SU_TYPE adduser `whoami` mythtv --message "Please enter your current login password to add `whoami` to the mythtv group."
+			fi
+			dialog_question "Log out/in" "For the changes to take effect, your current login session will have to be restarted.  Save all work and then press OK to restart your session."
+			LOGOUT_NOT=$?
+			if [ "$LOGOUT_NOT" = "0" ]; then
+				if [ "$DE" = "gnome" ]; then
+					gnome-session-save --kill
+				elif [ "$DE" = "kde" ]; then
+					dcop ksmserver ksmserver logout 0 0 0
+				elif [ "$DE" = "xfce" ]; then
+					xfce4-session-logout
+				else
+					dialog_msgbox "No running KDM/Gnome/Xfce" "Please manually log out of your session for the changes to take effect."
+				fi
+				#exit in case they hit cancel here
+				exit 2
+			else		
+				exit 3			
+			fi
+		fi
+	fi
+else
+	IGNORE_NOT=0
+fi
+}
+###################################################################
+

=== added file 'debian/libmyth-0.23-0.install'
--- debian/libmyth-0.23-0.install	1970-01-01 00:00:00 +0000
+++ debian/libmyth-0.23-0.install	2010-05-26 16:08:33 +0000
@@ -0,0 +1,1 @@
+usr/lib/libmyth*.so.*

=== added file 'debian/libmyth-dev.install'
--- debian/libmyth-dev.install	1970-01-01 00:00:00 +0000
+++ debian/libmyth-dev.install	2010-05-26 16:08:33 +0000
@@ -0,0 +1,5 @@
+usr/lib/libmyth*.so
+usr/lib/libmyth*.a
+usr/include/mythtv
+
+debian/mythtv.make usr/share/mythtv

=== added file 'debian/libmyth-python.install'
--- debian/libmyth-python.install	1970-01-01 00:00:00 +0000
+++ debian/libmyth-python.install	2010-05-26 16:08:33 +0000
@@ -0,0 +1,1 @@
+usr/lib/python*/*

=== added file 'debian/libmythtv-perl.install'
--- debian/libmythtv-perl.install	1970-01-01 00:00:00 +0000
+++ debian/libmythtv-perl.install	2010-05-26 16:08:33 +0000
@@ -0,0 +1,1 @@
+usr/share/perl5

=== added directory 'debian/mcc-mirobridge'
=== added directory 'debian/mcc-mirobridge/python'
=== added file 'debian/mcc-mirobridge/python/mirobridgeconfig.py'
--- debian/mcc-mirobridge/python/mirobridgeconfig.py	1970-01-01 00:00:00 +0000
+++ debian/mcc-mirobridge/python/mirobridgeconfig.py	2010-05-26 16:08:33 +0000
@@ -0,0 +1,1561 @@
+## -*- coding: utf-8 -*-
+## File name: mirobridgeconfig.py
+## Mirobridge (Just.Another.Metadata.Utility) - Mythbuntu mcc plugin
+## Purpose: This plugin allows a user install/uninstall and configure MiroBridge and its dependancies
+## Author: R.D.Vaughan
+## Original source was Mario Limonciello's "skeletory.py" mcc example
+#
+# «skeletor» - An Example Plugin for showing how to use MCC as a developer
+#
+# Copyright (C) 2009, Mario Limonciello, for Mythbuntu
+#
+#
+# Mythbuntu is free software; you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation; either version 2 of the License, or at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along
+# with this application; if not, write to the Free Software Foundation, Inc., 51
+# Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+##################################################################################
+
+__version__ = u"0.1.2"
+# 0.0.1 - Initial development
+# 0.1.0 - Public release
+# 0.1.1 - Added detection that the Live CD is being used and the plugin exists
+# 0.1.2 - Changed the gtk icon
+
+from MythbuntuControlCentre.plugin import MCCPlugin
+import gtk
+
+import sys, os, ConfigParser, subprocess, shutil, pwd, datetime
+import urllib2
+import logging
+from socket import gethostname, gethostbyname
+import tarfile
+
+# Added for the crontab functions (os and sys) were already in the mirobridge.py script
+import re, tempfile
+
+
+class MirobridgeconfigPlugin_error(Exception):
+    """An error which stops the MiroBridge MCC plugin from functioning
+    """
+    pass
+
+class MirobridgeconfigPlugin(MCCPlugin):
+    """A Mirobridge Configuration Plugin to install/uninstall and configure MiroBridge and its dependancies"""
+    #
+    #Load GUI & Calculate Changes
+    #
+    def __init__(self):
+        #Initialize parent class
+        information = {}
+        information["name"] = "Mirobridgeconfig"
+        information["icon"] = "gtk-media-play-ltr"
+        information["ui"] = "tab_mirobridge"
+
+        #Detect if booted from Live CD, exit is this is true. This plugin cannot be run from a Live CD boot.
+        lines=[]
+        try:
+            file = open('/proc/cmdline')    # Open for output (to read only)
+            lines = file.readlines( )       # Read entire file into list of line strings
+            file.close( )                   # Flush output buffers to disk
+            if lines[0].find('boot=casper') != -1:
+                print "This is a Live CD boot, the MiroBridge MCC plugin cannot be run from the Live CD"
+                sys.exit(0)
+        except Exception, e:
+            print 'An exception occured while trying to read the "/proc/cmdline" file to detect a Live CD boot.\nError (%s)' % e
+            sys.exit(1)
+
+        self.settings_initialized = True    # Popular the screen variable on initial display
+
+        # Create logger
+        self.logger = logging.getLogger("mirobridgeconf")
+        self.logger.setLevel(logging.DEBUG)
+
+        hdlr = logging.FileHandler(u'/tmp/Mythbuntu_mirobridge_plugin.log')
+        formatter = logging.Formatter(u"%(asctime)s - %(name)s - %(levelname)s - %(message)s")
+        hdlr.setFormatter(formatter)
+        self.logger.addHandler(hdlr)
+
+        self.mbfunctions = MirobridgeConfigFunctions(self.logger)
+
+        MCCPlugin.__init__(self, information)
+    # end __init__()
+
+
+    def captureState(self):
+        """Determines the state of the items managed by this plugin
+        and stores it into the plugin's own internal structures
+        """
+        # Set the current condition of the MiroBridge installation and configuration
+        self.mbfunctions.isInstalled()
+
+
+        ### Used for debugging only. Usually commented out.
+#        print '-----------------------'
+#        print self.mbfunctions.config
+#        print '-----------------------'
+
+
+        self.changes = {}
+        if self.settings_initialized:
+            self.initialiseComboBoxLists()
+            self.settings_initialized = False
+
+        # Always reset active items according to the current installation conditions
+        self.initialiseSettings()
+
+        self.changes['enable_disable_combobox'] = self.enable_disable_combobox.get_active()
+        self.changes['cronjob_freq_combobox'] = self.cronjob_freq_combobox.get_active()
+        self.changes['behaviour_combobox'] = self.behaviour_combobox.get_active()
+
+        # Force Step #2 so the user initiates Miro at least once incase the Miro package was re-installed
+        if self.install_checkbutton.get_active() and self.mbfunctions.config['miro_test_passed']:
+            self.mbfunctions.config['miro_test_passed'] = False
+
+        # Always reset both check buttons to off for every screen rest. Stops both checked boxes being set.
+        # for both (install/uninstall)
+        self.changes['install'] = False
+        self.changes['uninstall'] = False
+
+        # Hide/Show UI objects depending on whether MiroBridge is installed or not
+        if not self.mbfunctions.config['installed']:
+            # Step #1: Something is missing and must be installed
+            self.install_checkbutton.show()
+            self.launch_miro_button.hide()
+            self.import_opml_filechooserbutton.hide()
+            self.uninstall_checkbutton.hide()
+            self.enable_disable_combobox.hide()
+            self.cronjob_freq_combobox.hide()
+            self.behaviour_combobox.hide()
+        elif not self.mbfunctions.config['miro_test_passed']:
+            self.install_checkbutton.hide()
+            self.launch_miro_button.show()
+            # Step #2: Configure Miro Channels and options
+            self.launch_miro_button.set_label(u'Step #2: Configure Miro Channels and options')
+            self.import_opml_filechooserbutton.hide()
+            self.uninstall_checkbutton.hide()
+            self.enable_disable_combobox.hide()
+            self.cronjob_freq_combobox.hide()
+            self.behaviour_combobox.hide()
+        else:
+            # Regular maintenance/configuratio options
+            self.install_checkbutton.hide()
+            self.launch_miro_button.show()
+            self.launch_miro_button.set_label(u'Launch Miro (Channel Add/Change/Delete)')
+            self.import_opml_filechooserbutton.show()
+            self.uninstall_checkbutton.show()
+            self.enable_disable_combobox.show()
+            self.cronjob_freq_combobox.show()
+            self.behaviour_combobox.show()
+    # end captureState()
+
+
+    def applyStateToGUI(self):
+        """Takes the current state information and sets the GUI
+            for this plugin"""
+        self.enable_disable_combobox.set_active(self.changes['enable_disable_combobox'])
+        self.cronjob_freq_combobox.set_active(self.changes['cronjob_freq_combobox'])
+        self.behaviour_combobox.set_active(self.changes['behaviour_combobox'])
+        self.install_checkbutton.set_active(self.changes['install'])
+        self.uninstall_checkbutton.set_active(self.changes['uninstall'])
+    # end applyStateToGUI()
+
+
+    def compareState(self):
+        """Determines what items have been modified on this plugin"""
+        MCCPlugin.clearParentState(self)
+        if self.enable_disable_combobox.get_active() != self.changes['enable_disable_combobox']:
+            if self.enable_disable_combobox.get_active() == 0:
+                self._markReconfigureUser('enable_disable', True)
+            else:
+                self._markReconfigureUser('enable_disable', False)
+        if self.cronjob_freq_combobox.get_active() != self.changes['cronjob_freq_combobox']:
+            self._markReconfigureUser('cronjob_freq', self.cronjob_freq_combobox.get_active())
+        if self.behaviour_combobox.get_active() != self.changes['behaviour_combobox']:
+            self._markReconfigureUser('behaviour', self.behaviour_combobox.get_active())
+        if self.install_checkbutton.get_active() != self.changes['install']:
+            self._markReconfigureUser('install', self.install_checkbutton.get_active())
+            if self.install_checkbutton.get_active():
+                for package in self.mbfunctions.config['dependancies'].keys():
+                    if not self.mbfunctions.config['dependancies'][package] and not package in self._to_install:
+                       self._markInstall(package, install=True) # Add a missing package to install
+            else:
+                for package in self.mbfunctions.config['dependancies'].keys():
+                    if package in self._to_install:
+                       self._markInstall(package, install=False) # User cancelled install
+        if self.uninstall_checkbutton.get_active() != self.changes['uninstall']:
+            self._markReconfigureUser('uninstall', self.uninstall_checkbutton.get_active())
+            # Only the 'miro' package is uninstalled as the others are common and could be being used
+            # by other installed apps
+            package = 'miro'
+            if self.uninstall_checkbutton.get_active():
+                if not package in self._to_remove:
+                   self._markRemove(package, remove=True) # A package to add to uninstall
+            else:
+                if package in self._to_remove:
+                   self._markRemove(package, remove=False) # A package to remove from uninstall list
+    # end compareState()
+
+
+    def initialiseSettings(self):
+        """Initalize the tab values from the values in found during the MiroBridge installation/config check.
+        This function will be ran by the frontend.
+        """
+        # Set the active values
+        if self.mbfunctions.config['cronjob']:
+            self.enable_disable_combobox.set_active(0)
+        else:
+            self.enable_disable_combobox.set_active(1)
+
+        self.cronjob_freq_combobox.set_active(0)
+        if self.mbfunctions.config['cronjob_freq']:
+            for index in range(len(self.mbfunctions.cronjob_freq)):
+                if self.mbfunctions.cronjob_freq[index].lower() == self.mbfunctions.config['cronjob_freq']:
+                    self.cronjob_freq_combobox.set_active(index)
+                    break
+            else:
+                self.cronjob_freq_combobox.set_active(0)
+
+        index = 0
+        if self.mbfunctions.config['cfg']:
+            conflict_count = 0 # Check to see if there are conflicting "All" options in the config file
+            for section in self.mbfunctions.config['cfg'].sections():
+                if section == u'watch_only':
+                    # All Channels will only not be moved to MythVideo
+                    for option in self.mbfunctions.config['cfg'].options(section):
+                        if option == u'all miro channels':
+                            index = 1
+                            conflict_count+=1
+                            break
+                        else:
+                            continue
+                    continue
+                if section == u'mythvideo_only':
+                    # Add the Channel names to the array of Channels that will be moved to MythVideo only
+                    for option in self.mbfunctions.config['cfg'].options(section):
+                        if option == u'all miro channels':
+                            index = 2
+                            conflict_count+=1
+                            break
+                        else:
+                            continue
+                    continue
+                if section == u'watch_then_copy':
+                    # Add the Channel names to the array of Channels once watched will be copied to MythVideo
+                    for option in self.mbfunctions.config['cfg'].options(section):
+                        if option == u'all miro channels':
+                            index = 3
+                            conflict_count+=1
+                            break
+                        else:
+                            continue
+                    continue
+            if conflict_count > 1:
+                errormsg = "Conflicting MiroBridge behavior options found. Only one 'all miro channels' can be set at a time.\nResetting to the default of no 'all miro channels'.\n"
+                self.logger.error(errormsg)
+                index = 0
+        self.behaviour_combobox.set_active(index)
+    # end initialiseSettings()
+
+    def initialiseComboBoxLists(self):
+        '''Set the list values in the combo boxes
+        '''
+        self.enable_disable_combobox.remove_text(0)    # Remove the empty initial first element
+        self.cronjob_freq_combobox.remove_text(0)    # Remove the empty initial first element
+        self.behaviour_combobox.remove_text(0)    # Remove the empty initial first element
+
+        # Populate the choice of Cronjob enable/disable list
+        for value in self.mbfunctions.cronjob:
+            self.enable_disable_combobox.append_text(value)
+        # Populate the choice of Cronjob frequency
+        for value in self.mbfunctions.cronjob_freq:
+            self.cronjob_freq_combobox.append_text(value)
+        # Populate the choice of MiroBridge processing behaviour
+        for value in self.mbfunctions.behaviour:
+            self.behaviour_combobox.append_text(value)
+    # end initialiseComboBoxLists()
+
+    #
+    # Front end : Process selected activities
+    #
+
+    def user_scripted_changes(self,reconfigure):
+        """Local changes that can be performed by the user account.
+        This function will be run by the frontend
+        """
+        #
+        # Install MiroBridge configuration components
+        #
+        if reconfigure.has_key('install'):
+            if reconfigure['install']:  # Set defaults
+                if self.mbfunctions.config['mirochannel'] == None:
+                    self.mbfunctions.addMiroBridgeChannel()
+                self.mbfunctions.maintCronjobs('enable_disable', True)
+                self.mbfunctions.maintCronjobs('cronjob_freq', 0)
+                if not self.mbfunctions.config['cfg']: # If a conf file does not exist then use the example
+                    self.mbfunctions.readExampleConf(self.mbfunctions.location_mirobridge_example_conf_file)
+                    self.mbfunctions.maintConfigFile('behaviour', 0)
+                self.mbfunctions.installDefaultImages()
+        #
+        # Uninstall MiroBridge configuration components
+        # NOTE: Uninstall does not remove any existing Watch Recordings or MythVideo records or video files
+        #
+        elif reconfigure.has_key('uninstall'):
+            if reconfigure['uninstall']:
+                # Remove any the Mirobridge default images/Channel image/Folder image
+                for key in self.mbfunctions.image_set.keys():
+                    filepath = u'%s%s' % (self.mbfunctions.vid_graphics_dirs[key], self.mbfunctions.image_set[key])
+                    if os.path.isfile(filepath):
+                        os.remove(filepath)
+                # Remove any mirobridge cronjobs
+                self.mbfunctions.maintCronjobs('enable_disable', False)
+                # Remove any mirobridge.conf file
+                filename = os.path.expanduser("~")+u'/.mythtv/mirobridge.conf'
+                if os.path.isfile(filename):
+                    os.remove(filename)
+                # Remove the MiroBridge Channel record if it exists
+                channel = self.mbfunctions.MythDB(self.mbfunctions.mythdb).getChannel(9999)
+                if channel['channum'] != None:
+                    if channel['channum'] == '999' and channel['name'] == 'Miro':
+                        self.mbfunctions.delChannel()
+        #
+        # Add/Change MiroBridge cronjob
+        # Add/Change mirobridge.conf
+        #
+        else:
+            for key in ['enable_disable', 'cronjob_freq']: # cronjob maintenance
+                if reconfigure.has_key(key):
+                    self.mbfunctions.maintCronjobs(key, reconfigure[key])
+            if reconfigure.has_key('behaviour'): # mirobridge.conf maintenance
+                self.mbfunctions.maintConfigFile('behaviour', reconfigure['behaviour'])
+    # end user_scripted_changes()
+
+
+    #
+    # Callbacks
+    #
+    def callBacks(self, widget):
+        """React to various button clicks or files selected
+        """
+        if widget is not None:
+            if widget.get_name() == "launch_miro_button":
+                MCCPlugin.launch_app(self, widget, 'miro')
+                self.captureState()
+            elif widget.get_name() == "import_opml_filechooserbutton":
+                filename = self.import_opml_filechooserbutton.get_filename()
+                if filename:
+                    (dirName, fileName) = os.path.split(filename)
+                    (fileBaseName, fileExtension)=os.path.splitext(fileName)
+                    if not fileExtension.endswith(u'.opml'):
+                        self.logger.error(u'The OPML import file must have an extension of ".opml", the selected file has an extension of (%s)' % fileExtension)
+                    elif os.path.isfile(filename):
+                        MCCPlugin.launch_app(self, widget, u'%s -i "%s"' % (self.mbfunctions.location_mirobridge_script, filename))
+                    else:
+                        self.logger.error(u'The import file(%s) does not exist' % filename)
+    # end launch_app()
+
+
+    #
+    # Back end : Process selected activities
+    #
+    def root_scripted_changes(self,reconfigure):
+        """System-wide changes that need root access to be applied.
+        This function is run by the dbus backend
+        """
+        # No root specific config changes required
+        pass
+    # end root_scripted_changes()
+
+
+############################################################################################################
+# MiroBridge MCC support functions
+############################################################################################################
+
+class MirobridgeConfigFunctions():
+    """A set of funtions that perform various tasks with the Mirobridge Configuration"""
+    #
+    # Evaluate the current installation of MiroBridge
+    #
+    def __init__(self, logger):
+        self.logger = logger
+        # Test and initialize the current configuration dictionary
+        self.local_only = True # Default setting that determines to use local directories or storage groups
+        self.accessMythDB() # Test that this is a BE
+        # Test that there is internet access
+        self.checkInternetAccess()
+        # Option lists for UI selection
+        self.cronjob = [u'Enabled', u'Disabled']
+        self.cronjob_freq = [u'Hourly', u'Daily', u'Weekly']
+        self.cronjob_keys = [u'hourly', u'daily', u'weekly']
+        self.behaviour = [
+            u'Default: Emulate Miro video processing',
+            u'Watched Recordings screen only',
+            u'Copy all Miro videos directly to MythVideo',
+            u'Watch Miro videos then copy to MythVideo',
+            ]
+        self.behaviour_section = [
+            u'default',
+            u'watch_only',
+            u'mythvideo_only',
+            u'watch_then_copy',
+            ]
+        self.cron_regx = [
+            # Hourly "?? * * * *"
+            re.compile(u'''[0-9]|[0-9] \* \* \* \*''', re.UNICODE),
+            # Daily "* ?? * * *"
+            re.compile(u'''\* [0-9]|[0-9] \* \* \*''', re.UNICODE),
+            # Weekly "* * * * ??"
+            re.compile(u'''\* \* \* \* [0-9]|[0-9]''', re.UNICODE),
+        ]
+    # end __init__()
+
+    def accessMythDB(self):
+        '''Initialize MythTV python bindings
+        return nothing
+        '''
+        # Find out if the MythTV python bindings can be accessed and instances can be created
+        try:
+            '''If the MythTV python interface is found, we can insert data directly to MythDB or
+            get the directories to store poster, fanart, banner and episode graphics.
+            '''
+            from MythTV import MythDB, MythBE, Channel, MythError, MythLog, MythDBBase
+            self.MythDB = MythDB
+            self.MythBE = MythBE
+            self.MythDBBase = MythDBBase
+            self.Channel = Channel
+            self.MythError = MythError
+            self.MythLog = MythLog
+            self.mythdb = None
+            self.mythbeconn = None
+            self.localhostname = gethostname()
+            try:
+                '''Create an instance of each: MythDB, MythVideo
+                '''
+                self.MythLog._setlevel('none') # Some non option -M cannot have any logging on stdout
+                self.mythdb = self.MythDB()
+                self.MythLog._setlevel('important,general')
+            except self.MythError, e:
+                self.logger.critical(e.args[0])
+                filename = os.path.expanduser("~")+'/.mythtv/config.xml'
+                if not os.path.isfile(filename):
+                    self.logger.critical('A correctly configured (%s) file must exist' % filename)
+                else:
+                    self.logger.critical('Check that (%s) is correctly configured' % filename)
+                raise MirobridgeconfigPlugin_error(e.args[0])
+            except Exception, e:
+                errormsg = "Creating an instance caused an error for one of: MythDBConn or MythVideo, error(%s)\n" % e
+                self.logger.critical(errormsg)
+                raise MirobridgeconfigPlugin_error(errormsg)
+            try:
+                self.MythLog._setlevel('none') # Some non option -M cannot have any logging on stdout
+                self.mythbeconn = MythBE(backend=self.localhostname, db=self.mythdb)
+                self.MythLog._setlevel('important,general')
+            except self.MythError, e:
+                self.logger.critical("MiroBridge and its MCC plugin must be run on a MythTV backend,\nError(%s)" % e.args[0])
+                raise MirobridgeconfigPlugin_error(e.args[0])
+        except Exception, e:
+            errormsg = "MythTV python bindings could not be imported, error(%s)\n" % e
+            self.logger.critical(errormsg)
+            raise MirobridgeconfigPlugin_error(errormsg)
+    # end accessMythDB()
+
+    def checkInternetAccess(self):
+        '''Check that there is an Internet Access
+        return nothing
+        '''
+        try:
+            urllib2.urlopen('http://www.google.com')
+        except Exception, e:
+            errormsg = "MiroBridge requiries an Internet connection, error(%s)\n" % e
+            self.logger.critical(errormsg)
+            raise MirobridgeconfigPlugin_error(errormsg)
+    # end checkInternetAccess()
+
+    def isInstalled(self):
+        '''Check the system for MiroBridge script, all prerequisite packages, config file and default images.
+        Establish what needs to be installed if anything.
+        return nothing
+        '''
+        # Get the location of the MB script and example conf file
+        self.location_mirobridge_script = u''
+        self.location_mirobridge_example_conf_file = u''
+        results = self.callCommandLine(u'dpkg -L mythtv-backend | grep -iE "(mirobridge-example.conf.gz|mirobridge.py)"', stderr=False)
+        if results:
+            for line in results:
+                line = line.strip().replace(u'\n', u'')
+                if line.endswith('mirobridge.py'):
+                   self.location_mirobridge_script = line
+                   continue
+                if line.endswith('mirobridge-example.conf.gz'):
+                   self.location_mirobridge_example_conf_file = line
+                   continue
+        if not self.location_mirobridge_script or not self.location_mirobridge_example_conf_file:
+            errormsg = u"The 'mythtv-backend' package is not installed. Install/Reinstall that package and then retry"
+            self.logger.critical(errormsg)
+            raise MirobridgeconfigPlugin_error(errormsg)
+        # Check that mirobridge.py is installed
+        if not os.path.isfile(self.location_mirobridge_script):
+            errormsg = u"The file 'mirobridge.py' is not installed at (%s)\n" % (self.location_mirobridge_script, )
+            self.logger.critical(errormsg)
+            raise MirobridgeconfigPlugin_error(errormsg)
+        # Check that mirobridge-example.conf.gz is installed
+        if not os.path.isfile(self.location_mirobridge_example_conf_file):
+            errormsg = u"The file 'mirobridge-example.conf.gz' is not installed at (%s)\n" % (self.location_mirobridge_example_conf_file, )
+            self.logger.critical(errormsg)
+            raise MirobridgeconfigPlugin_error(errormsg)
+
+        self.config = {
+            'installed': False,
+            'dependancies': {'miro': False, 'ffmpeg': False, 'python-pyparsing': False, 'imagemagick': False},
+            'mirochannel': None, # None is not created, False cannot be created, True already created
+            'cfg': None,    # Current config file settings if there is a config file
+            'posterdir': False,
+            'bannerdir': False,
+            'fanartdir': False,
+            'cronjob': False,
+            'cronjob_freq': None,
+            'miro_test_passed': False,
+        }
+
+        # Check for MiroBridge package dependancies
+        import apt
+        cache = apt.cache.Cache()
+        for package in self.config['dependancies'].keys():
+            try:
+                if cache[package].installed != None:
+                    self.config['dependancies'][package] = True
+                    if package == 'miro': # version example: 2.5.4-0pcf1
+                        version = cache[package].installed.version
+                        if version[:3] < '2.5':
+                            errormsg = "The installed Miro package must be at least version '2.5.x' or higher, yours is (%s).\nUninstall the Miro package then retry the MCC plugin MiroBridge install.\n" % (version, )
+                            self.logger.critical(errormsg)
+                            raise MirobridgeconfigPlugin_error(errormsg)
+            except KeyError, e:
+                errormsg = "The MiroBridge dependancy package (%s) is not in your repository, error(%s)\n" % (package, e)
+                self.logger.critical(errormsg)
+                raise MirobridgeconfigPlugin_error(errormsg)
+
+        # Check if channelid '9999' has been created and if it is assigned as the Miro channel
+        channel = self.MythDB(self.mythdb).getChannel(9999)
+        if channel['channum'] != None:
+            if channel['channum'] != '999' or channel['name'] != 'Miro':
+                self.logger.critical("MiroBridge found that there is already a Channel record for Channel num (%s) name (%s)\n" % (channel['channum'], channel['name']))
+                self.config['mirochannel'] = False # The channel is already being used!
+            else:
+                self.config['mirochannel'] = True
+
+        # Check if the mirobridge.conf file exists in the users home directory
+        filename = os.path.expanduser("~")+u'/.mythtv/mirobridge.conf'
+        if os.path.isfile(filename):
+            self.config['cfg'] = ConfigParser.SafeConfigParser()
+            self.config['cfg'].read(filename)
+        else: # Check that there is an example config, if there is then use it to create a mirobridge.conf file
+            if not os.path.isfile(self.location_mirobridge_example_conf_file):
+                errormsg = u"The MiroBridge example config file (%s) is missing and it is required\n" % (self.location_mirobridge_example_conf_file, )
+                self.logger.critical(errormsg)
+                raise MirobridgeconfigPlugin_error(errormsg)
+
+        # Get storage groups
+        self.getStorageGroups()
+
+        # Initialize the Video and graphics directory dictionary
+        self.getMythtvDirectories()
+
+        # Specify the MiroBridge default image set names
+        self.image_set = {
+            # posterdir the Miro logo used as the folder and channel image
+            'posterdir': u'mirobridge_coverart.jpg',
+            'bannerdir': u'mirobridge_banner.jpg',
+            'fanartdir': u'mirobridge_fanart.jpg',
+            }
+        # Check for the Mirobridge default images/Channel image/Folder image
+        for key in self.image_set.keys():
+            if os.path.isfile(u'%s%s' % (self.vid_graphics_dirs[key], self.image_set[key])):
+                self.config[key] = True
+                continue
+
+        # Check if there is a mirobridge cronjob and set the values if there is a cronjob
+        self.getCronjobSettings()
+
+        # Is MiroBridge fully installed?
+        installed_total = len(self.config['dependancies'].keys())+len(self.image_set.keys())+3
+        install_count = 0
+        for package in self.config['dependancies'].keys():
+            if self.config['dependancies'][package]:
+               install_count+=1
+        if self.config['cfg'] != None:
+            install_count+=1
+        if self.config['mirochannel'] != None:
+            install_count+=1
+        if self.config['cronjob_freq'] != None:
+            install_count+=1
+        for key in self.image_set.keys():
+            if self.config[key]:
+                install_count+=1
+        if installed_total == install_count:
+            self.config['installed'] = True
+            self.testEnv()  # Verify that the Miro set up was completed with a MiroBridge environment test
+    # end isInstalled()
+
+    def getStorageGroups(self):
+        '''Populate the storage group dictionary with the host's storage groups.
+        return False if there is an error
+        '''
+        self.storagegroupnames = {u'Default': u'default', u'Videos': u'mythvideo', u'Coverart': u'posterdir', u'Banners': u'bannerdir', u'Fanart': u'fanartdir', u'Screenshots': u'episodeimagedir'}
+        self.storagegroups={} # The dictionary is only populated with the current hosts storage group entries
+
+        records = self.mythdb.getStorageGroup(hostname=self.localhostname)
+        if records:
+            for record in records:
+                if record.groupname in self.storagegroupnames.keys():
+                    try:
+                        dirname = unicode(record.dirname, 'utf8')
+                    except (UnicodeDecodeError):
+                        self.logger.error(u"The local Storage group (%s) directory contained\ncharacters that caused a UnicodeDecodeError. This storage group has been rejected." % (record.groupname))
+                        continue    # Skip any line that has non-utf8 characters in it
+                    except (UnicodeEncodeError, TypeError):
+                        pass
+
+                    # Add a slash if missing to any storage group dirname
+                    if dirname[-1:] == u'/':
+                        self.storagegroups[self.storagegroupnames[record.groupname]] = dirname
+                    else:
+                        self.storagegroups[self.storagegroupnames[record.groupname]] = dirname+u'/'
+                continue
+
+        if len(self.storagegroups):
+            # Verify that each storage group is an existing local directory
+            storagegroup_ok = True
+            for key in self.storagegroups.keys():
+                if not os.path.isdir(self.storagegroups[key]):
+                    self.logger.critical(u"The Storage group (%s) directory (%s) does not exist" % (key, storagegroups[key]))
+                    storagegroup_ok = False
+            if not storagegroup_ok:
+                errormsg = "There are MythTV storage group configuration errors correct and retry installation, errors are displayed in the log.\n"
+                self.logger.critical(errormsg)
+                raise MirobridgeconfigPlugin_error(errormsg)
+    # end getStorageGroups
+
+    def getMythtvDirectories(self):
+        """Get all video and graphics directories found in the MythTV DB and add them to the dictionary.
+        Ignore any MythTV Frontend setting when there is already a storage group configured.
+        """
+        # Stop processing if this local host has any storage groups
+        self.dir_dict={u'posterdir': u"VideoArtworkDir", u'bannerdir': u'mythvideo.bannerDir', u'fanartdir': 'mythvideo.fanartDir', u'episodeimagedir': u'mythvideo.screenshotDir', u'mythvideo': u'VideoStartupDir'}
+        self.vid_graphics_dirs={u'default': u'', u'mythvideo': u'', u'posterdir': u'', u'bannerdir': u'', u'fanartdir': u'', u'episodeimagedir': u'',}
+
+        # When there is NO SG for Videos then ALL graphics paths MUST be local paths set in the FE and accessable
+        # from the backend
+        if self.storagegroups.has_key(u'mythvideo'):
+            self.local_only = False
+            # Pick up storage groups first
+            for key in self.storagegroups.keys():
+                self.vid_graphics_dirs[key] = self.storagegroups[key]
+            for key in self.dir_dict.keys():
+                if key == u'default' or key == u'mythvideo':
+                    continue
+                if not self.storagegroups.has_key(key):
+                    # Set fall back graphics directory to Videos
+                    self.vid_graphics_dirs[key] = self.storagegroups[u'mythvideo']
+                    # Set fall back SG graphics directory to Videos
+                    self.storagegroups[key] = self.storagegroups[u'mythvideo']
+        else:
+            self.local_only = True
+            if self.storagegroups.has_key(u'default'):
+                self.vid_graphics_dirs[u'default'] = self.storagegroups[u'default']
+
+        if self.local_only:
+            self.logger.warning(u'There is no "Videos" Storage Group set so ONLY MythTV Frontend local paths for videos and graphics that are accessable from this MythTV Backend can be used.')
+
+        for key in self.dir_dict.keys():
+            if self.vid_graphics_dirs[key]:
+                continue
+            graphics_dir = self.mythdb.settings[self.localhostname][self.dir_dict[key]]
+            # Only use path from MythTV if one was found
+            if key == u'mythvideo':
+                if graphics_dir:
+                    tmp_directories = graphics_dir.split(u':')
+                    if len(tmp_directories):
+                        for i in range(len(tmp_directories)):
+                            tmp_directories[i] = tmp_directories[i].strip()
+                            if tmp_directories[i] != u'':
+                                if os.path.exists(tmp_directories[i]):
+                                    if tmp_directories[i][-1] != u'/':
+                                        tmp_directories[i]+=u'/'
+                                    self.vid_graphics_dirs[key] = tmp_directories[i]
+                                    break
+                                else:
+                                    self.logger.error(u"MythVideo video directory (%s) does not exist(%s)" % (key, tmp_directories[i]))
+                else:
+                    self.logger.error(u"MythVideo video directory (%s) is not set" % (key, ))
+
+            if key != u'mythvideo':
+                if graphics_dir and os.path.exists(graphics_dir):
+                    if graphics_dir[-1] != u'/':
+                        graphics_dir+=u'/'
+                    self.vid_graphics_dirs[key] = graphics_dir
+                else:    # There is the chance that MythTv DB does not have a dir
+                    self.logger.error(u"(%s) directory is not set or does not exist(%s)" % (key, self.dir_dict[key]))
+
+        # Make sure there is a directory set for Videos and other graphics directories on this host
+        dir_for_all = True
+        for key in self.vid_graphics_dirs.keys():
+            if not self.vid_graphics_dirs[key]:
+                self.logger.critical(u"There must be a directory for Videos and each graphics type the (%s) directory is missing." % (key))
+                dir_for_all = False
+        if not dir_for_all:
+            errormsg = "The MythTV video and/or image directories are not configured properly, correct and retry installation, errors are displayed in the log.\n"
+            self.logger.critical(errormsg)
+            raise MirobridgeconfigPlugin_error(errormsg)
+
+        # Make sure that there is read/write access to all the directories Miro Bridge uses
+        access_issue = False
+        for key in self.vid_graphics_dirs.keys():
+            if not os.access(self.vid_graphics_dirs[key], os.F_OK | os.R_OK | os.W_OK):
+                self.logger.critical(u"\nEvery Video and graphics directory must be read/writable for Miro Bridge to function. There is a permissions issue with (%s)." % (self.vid_graphics_dirs[key], ))
+                access_issue = True
+        if access_issue:
+            errormsg = "The MythTV video and/or image directories do not have the proper read/write permission, correct and retry installation, errors are displayed in the log.\n"
+            self.logger.critical(errormsg)
+            raise MirobridgeconfigPlugin_error(errormsg)
+        # end getMythtvDirectories()
+
+
+    def readExampleConf(self, archivename):
+        '''Extract the archive to /tmp and read the mirobridge-example.conf file as the new cfg
+        return nothing
+        '''
+        import gzip
+        tmp_name = '/tmp/mirobridge-example.conf'
+        try:
+            zip_file = gzip.open(archivename, 'r')
+            file_content = zip_file.read()
+            zip_file.close
+        except Exception, e:
+            errormsg = "The mirobridge-example.conf archive file(%s), could not be opened, error(%s)\n" % (archivename, e)
+            self.logger.critical(errormsg)
+            raise MirobridgeconfigPlugin_error(errormsg)
+        try:
+            target_file = open(tmp_name, "w")
+            target_file.write(file_content)
+            target_file.close()
+        except Exception, e:
+            errormsg = "The mirobridge-example.conf could not be created in '/tmp', error(%s)\n" % (e, )
+            self.logger.critical(errormsg)
+            raise MirobridgeconfigPlugin_error(errormsg)
+        self.config['cfg'] = ConfigParser.SafeConfigParser()
+        self.config['cfg'].read(tmp_name)
+        os.remove(tmp_name)
+    # readExampleConf()
+
+
+    def callCommandLine(self, command, stderr=False):
+        '''Perform the requested command line and return an array of stdout strings and stderr strings if
+        stderr=True
+        return array of stdout string array or stdout and stderr string arrays
+        '''
+        stderrarray = []
+        stdoutarray = []
+        try:
+            p = subprocess.Popen(command, shell=True, bufsize=4096, stdin=subprocess.PIPE,
+                stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True)
+        except Exception, e:
+            self.logger.error(u'callCommandLine Popen Exception, error(%s)' % e)
+            if stderr:
+                return [[], []]
+            else:
+                return []
+
+        if stderr:
+            while True:
+                data = p.stderr.readline()
+                if not data:
+                    break
+                try:
+                    data = unicode(data, 'utf8')
+                except (UnicodeDecodeError):
+                    continue    # Skip any line that has non-utf8 characters in it
+                except (UnicodeEncodeError, TypeError):
+                    pass
+                stderrarray.append(data)
+
+        while True:
+            data = p.stdout.readline()
+            if not data:
+                break
+            try:
+                data = unicode(data, 'utf8')
+            except (UnicodeDecodeError):
+                continue    # Skip any line that has non-utf8 characters in it
+            except (UnicodeEncodeError, TypeError):
+                pass
+            stdoutarray.append(data)
+
+        if stderr:
+            return [stdoutarray, stderrarray]
+        else:
+            return stdoutarray
+    # end callCommandLine()
+
+
+    def getCronjobSettings(self):
+        '''Check the status of the MiroBridge cron job and initalize the values
+        return nothing
+        '''
+        self.tab = CronTab()
+        # Check if there is an existing cronjob
+        list = self.tab.find_command(self.location_mirobridge_script)
+
+        self.config['cronjob'] = False
+        if not len(list):
+            return
+
+        self.config['cronjob'] = True
+
+        # Check whether the cronjob is a Hourly, Daily or Weekly
+        mb_cronjob = (u'%s' % list[0])
+        for index in range(len(self.cron_regx)):
+            if self.cron_regx[index].match(mb_cronjob):
+                break
+        else:
+            index = 0 # Set to default of Daily as the cron job did not match hourly, daily or weekly options
+        self.config['cronjob_freq'] = self.cronjob_keys[index]
+    # end getCronjobSettings()
+
+
+    def maintCronjobs(self, action, value):
+        ''' Create the cron job if required
+        Actions:
+        (1) Enable/Disable the cronjob
+        (2) Set the frequency of the cronjob (hourly, daily, weekly)
+        return nothing
+        '''
+        # MiroBrdige cronjob - debus additions added even though they may not be needed for all users
+        miro_cronjob = u'''env `dbus-launch` sh -c 'trap "kill $DBUS_SESSION_BUS_PID" EXIT; %s ' >> '/var/log/mythtv/mirobridge.log' 2>&1'''
+
+        list = self.tab.find_command(self.location_mirobridge_script)
+        # Does the cronjob exist?
+        if not len(list) and action == 'enable_disable' and not value:
+            return  # You cannot disable a cronjob that does not exist
+
+        # Disable the conjob by removing it from the crontab
+        if len(list) and action == 'enable_disable' and not value:
+            self.tab.remove_all(self.location_mirobridge_script)
+            # Write out changes
+            self.tab.write()
+            return
+
+        # For all other actions a cronjob must exist so create one
+        cron = None
+        if not len(list): # Create the MiroBridge cronjob
+            cron = self.tab.new(command=miro_cronjob % self.location_mirobridge_script, comment=u'MiroBridge cronjob')
+            cron.valid = True   # Enable the cronjob to be written to the crontab
+            if self.config['cronjob_freq'] == None:
+                cron.minute().on(45) # On the 45 minute mark on every hour
+            if action == 'enable_disable':
+                self.tab.write()
+                return
+
+        if action == 'cronjob_freq':
+            if not cron:    # Use either the newly created cron job or one that already exists.
+                cron = list[0]
+            cron.clear()    # Reset any frequency settings for thus cronjob
+            if value == 0:
+                cron.minute().on(45) # Hourly - On the 45 minute mark of every hour
+            elif value == 1:
+                cron.hour().on(2) # Daily - At 2:00 AM every day
+            else:
+                cron.dow().on(0) # Weekly - Every Sunday night at midnight
+
+            cron.valid = True   # Enable the cronjob to be written to the crontab
+            self.tab.write()
+    # end maintCronjobs()
+
+
+    def maintConfigFile(self, action, value):
+        '''Actions: Set the behaviour of Mirobridge and how the Miro videos are processed.
+        return nothing
+        '''
+        if action == 'behaviour':
+            tmp = {}
+            if self.behaviour_section[value] == 'default':
+                for key in self.behaviour_section:
+                    if key == 'default':
+                        continue
+                    tmp[key] = {u'all miro channels': u''}
+            else:
+                for key in self.behaviour_section:
+                    if key == 'default':
+                        continue
+                    if key == self.behaviour_section[value]:
+                        tmp[key] = {u'all miro channels': u'  '}
+                        continue
+                    tmp[key] = {u'all miro channels': u''}
+            self.writeMiroBridgeConf(tmp, self.config['cfg'], mythtv=False)
+    # end maintConfigFile()
+
+
+    def installDefaultImages(self):
+        '''Download for image archives from the internet and install any missing default MiroBridge images
+        return nothing
+        '''
+        # Specify the MiroBridge default image download URLs
+        self.image_links = {
+            # posterdir the Miro logo used as the folder and channel image
+            'posterdir': u'http://img641.imageshack.us/img641/2396/mirocoverart.jpg',
+            'bannerdir': u'http://img402.imageshack.us/img402/7100/mirobridgebanner.jpg',
+            'fanartdir': u'http://img76.imageshack.us/img76/9897/mirobridgefanart.jpg',
+            }
+
+        # Download only the missing images
+        for key in self.image_links:
+            filename = u'%s%s' % (self.vid_graphics_dirs[key], self.image_set[key])
+            if not os.path.isfile(filename):
+                url = self.image_links[key]
+                org_url = url
+                tmp_URL = url.replace("http://";, "")
+                url = "http://"+urllib2.quote(tmp_URL.encode("utf-8"))
+                try:
+                    image = urllib2.urlopen(url).read()
+                except IOError, e:
+                    errormsg = "The MiroBridge image image URL (%s) could not be opened, error(%s)\n" % (org_url, e, )
+                    self.logger.error(errormsg)
+                    continue
+
+                try:
+                    output_image = open(filename, "wb")
+                    output_image.write(image)
+                    output_image.close()
+                except IOError, e:
+                    errormsg = "The MiroBridge image URL (%s) could not be downloaded, error(%s)\n" % (filename, e, )
+                    self.logger.error(errormsg)
+                    continue
+                os.chmod(filename, 0666)
+    # end installDefaultImages()
+
+
+    def readFile(self, filename):
+        '''Read in the cron job and pass back an array of each line
+        return array of strings
+        return empty array of no file
+        '''
+        try:
+            myfile = open(filename)                     # Open for output (to read only)
+        except IOError:
+            return False
+
+        aList = myfile.readlines( )                     # Read entire file into list of line strings
+        myfile.close( )                                 # Flush output buffers to disk
+        array=[]                                        # Initialize 2 dimensional array
+        x=0                                                # Initialize array row value
+        for rec in aList:
+            array.append(rec)                        # Put record array into array of records
+        return array
+    # end readFile()
+
+
+    def writeFile(self, filename, textarray):
+        '''Write out the text array to the cron job
+        return True if writing was successful
+        return False if the writing failed
+        '''
+        try:
+            myfile = open(filename, 'w')     # Open for output (creates file)
+        except IOError:
+            return False
+        for rec in textarray:
+            myfile.write(rec)                 # Write a new-line deliminated strings
+        myfile.close()                         # Flush output buffers to disk
+        return True
+    # end writeFile()
+
+
+    def writeMiroBridgeConf(self, configupdates, cfg, mythtv=True):
+        '''Perform add/change/delete functions to the key/value pairs in the mirobridge.conf file
+        return True if the task was completed successfully
+        return False if there were issues
+        '''
+        anything_updated = False
+        for section in configupdates.keys():
+            if not len(configupdates[section]): # Skip any section that has not been changed
+                continue
+            anything_updated = True
+            for key in configupdates[section].keys():
+                if not cfg.has_section(section):
+                    if configupdates[section][key] == u'':
+                        pass
+                    else:
+                        cfg.add_section(section)
+                        cfg.set(section, key, configupdates[section][key])
+                elif configupdates[section][key] == u'':
+                    if cfg.has_option(section, key):
+                        cfg.remove_option(section, key)
+                else:
+                    cfg.set(section, key, configupdates[section][key])
+
+        filename = os.path.expanduser("~")+u'/.mythtv/mirobridge.conf'
+        if not os.path.isfile(filename): # Create the file if it does not exist
+            anything_updated = True
+
+        if anything_updated:
+            try:
+                fd = open(filename, 'wb')
+                cfg.write(fd)
+            except IOError:
+                return False
+            # Change the owner and group from root to mythtv
+            if mythtv:
+                os.system('chown mythtv:mythtv %s & chmod g+rw %s' % (filename, filename))
+        return True
+    # end writeMiroBridgeConf()
+
+
+    def addMiroBridgeChannel(self):
+        '''Add the Mirobridge Channel and icon if possible
+        return nothing
+        '''
+        # Check if channelid '9999' has been created and if it is assigned as the Miro channel
+        channel = self.MythDB(self.mythdb).getChannel(9999)
+        if channel['channum'] != None:
+            if channel['channum'] != '999' or channel['name'] != 'Miro':
+                self.logger.critical("MiroBridge cannot create a channel record as the channel is already used for Channel num (%s) name (%s)\n" % (channel['channum'], channel['name']))
+                return
+            else:
+                return # The channel has already been created for MiroBridge
+
+        data={}
+        data['chanid'] = 9999
+        data['channum'] = '999'
+        data['freqid'] = '999'
+        data['atsc_major_chan'] = 999
+        data['icon'] = u'%s%s' % (self.vid_graphics_dirs['posterdir'], self.image_set['posterdir'])
+        data['callsign'] = u'Miro'
+        data['name'] = u'Miro'
+        data['last_record'] = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S')
+
+        # Create the MiroBridge Channel record
+        try:
+            self.Channel().create(data)
+        except MythError, e:
+            errmsg = u"Failed writing the Miro channel record. Most likely the Channel Id and number already exists.\nUse MythTV set up program (mythtv-setup) to alter or remove the offending channel.\nSpecified Channel ID (%d) and Channel Number (%d), error(%s)" % (channel_id, channel_num, e.args[0])
+            self.logger.critical(errmsg)
+            raise MirobridgeconfigPlugin_error(errmsg)
+    # end addMiroBridgeChannel()
+
+
+    def delChannel(self):
+        '''Just delete a Channel record. Never abort as sometimes a record may not exist. This routine is
+        not supported in the native python bindings as MiroBridge uses the Channel table outside of its
+        original intent.
+        return nothing
+        '''
+        db = self.MythDBBase(None)
+        c = db.cursor()
+        query = 'DELETE FROM channel WHERE chanid=9999 AND name="Miro"'
+        try:
+            c.execute(query)
+        except Exception, e:
+            self.logger.error(u"Channel record delete failed (%s)" % (e, ))
+            pass
+        c.close()
+
+    def testEnv(self):
+        '''Run the MiroBridge environment test to see if the installation and configuration is complete
+        Use the return code to determine the results and set 'miro_test_passed' indicator accordingly.
+        '''
+        try:
+            retcode = subprocess.check_call([self.location_mirobridge_script, u"-t"])
+        except subprocess.CalledProcessError, e:
+            self.logger.error(u'Testing the MiroBridge environment with the "-t" option failed, error(%s)' % e)
+            return
+
+        # MiroBridge is read to run
+        self.config['miro_test_passed'] = True
+# end class delChannel()# end MirobridgeConfigFunctions()
+
+
+###########################################################################################
+# This code has no package in the Ubuntu repository. It was easier to copy than install.
+# Found at: http://pypi.python.org/pypi/python-crontab/0.9.4
+###########################################################################################
+
+#
+# Copyright 2008, Martin Owens.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+# Rewritten from scratch, but based on the code from gnome-schedual by:
+# - Philip Van Hoof <me at pvanhoof dot be>
+# - Gaute Hope <eg at gaute dot vetsj dot com>
+# - Kristof Vansant <de_lupus at pandora dot be>
+#
+
+"""
+Example Use:
+
+from crontab import CronTab
+
+tab = CronTab()
+cron = tab.new(command='/usr/bin/echo')
+
+cron.minute().during(5,50).every(5)
+cron.hour().every(4)
+
+cron2 = tab.new(command='/foo/bar',comment='SomeID')
+cron2.every_reboot()
+
+list = tab.find_command('bar')
+cron3 = list[0]
+cron3.clear()
+cron3.minute().every(1)
+
+print unicode(tab.render())
+
+for cron4 in tab.find_command('echo'):
+    print cron4
+
+for cron5 in tab:
+    print cron5
+
+tab.remove_all('echo')
+
+t.write()
+"""
+
+# These imports were moved to the top of the miroconfig.py file
+#import os, re, sys
+#import tempfile
+
+__version__ = '0.9.3'
+
+CRONCMD = "/usr/bin/crontab"
+ITEMREX = re.compile('^\s*([^@#\s]+)\s+([^@#\s]+)\s+([^@#\s]+)' +
+    '\s+([^@#\s]+)\s+([^@#\s]+)\s+([^#\n]*)(\s+#\s*([^\n]*)|$)')
+SPECREX = re.compile('@(\w+)\s([^#\n]*)(\s+#\s*([^\n]*)|$)')
+DEVNULL = ">/dev/null 2>&1"
+
+MONTH_ENUM = [
+    'jan', 'feb', 'mar', 'apr', 'may',
+    'jun', 'jul', 'aug', 'sep', 'oct',
+    'nov', 'dec',
+]
+WEEK_ENUM  = [
+    'sun', 'mon', 'tue', 'wed', 'thu',
+    'fri', 'sat', 'sun',
+]
+
+SPECIALS = {
+    "reboot"  : '@reboot',
+    "hourly"  : '0 * * * *',
+    "daily"   : '0 0 * * *',
+    "weekly"  : '0 0 * * 0',
+    "monthly" : '0 0 1 * *',
+    "yearly"  : '0 0 1 1 *',
+    "annually": '0 0 1 1 *',
+    "midnight": '0 0 * * *'
+}
+
+S_INFO = [
+    { 'name' : 'Minutes',      'max_v' : 59, 'min_v' : 0 },
+    { 'name' : 'Hours',        'max_v' : 23, 'min_v' : 0 },
+    { 'name' : 'Day of Month', 'max_v' : 31, 'min_v' : 1 },
+    { 'name' : 'Month',        'max_v' : 12, 'min_v' : 1, 'enum' : MONTH_ENUM },
+    { 'name' : 'Day of Week',  'max_v' : 7,  'min_v' : 0, 'enum' : WEEK_ENUM },
+]
+
+class CronTab(object):
+    """
+    Crontab object which can access any time based cron using the standard.
+
+    user = Set the user of the crontab (defaults to $USER)
+    fake_tab = Don't set to crontab at all, set to testable fake tab variable.
+    """
+    def __init__(self, user=None, fake_tab=None):
+        self.user  = user
+        self.root  = ( os.getuid() == 0 )
+        self.lines = None
+        self.crons = None
+        self.fake = fake_tab
+        self.read()
+
+    def read(self):
+        """
+        Read in the crontab from the system into the object, called
+        automatically when listing or using the object. use for refresh.
+        """
+        self.crons = []
+        self.lines = []
+        if self.fake:
+          lines = self.fake.split('\n')
+        else:
+          lines = os.popen(self._read_execute()).readlines()
+        for line in lines:
+            cron = CronItem(line)
+            if cron.is_valid():
+                self.crons.append(cron)
+                self.lines.append(cron)
+            else:
+                self.lines.append(line.replace('\n',''))
+
+    def write(self):
+        """Write the crontab to the system. Saves all information."""
+        # Add to either the crontab or the fake tab.
+        if self.fake != None:
+          self.fake = self.render()
+          return
+
+        filed, path = tempfile.mkstemp()
+        fileh = os.fdopen(filed, 'w')
+        fileh.write(self.render())
+        fileh.close()
+        # Add the entire crontab back to the user crontab
+        os.system(self._write_execute(path))
+        os.unlink(path)
+
+    def render(self):
+        """Render this crontab as it would be in the crontab."""
+        crons = []
+        for cron in self.lines:
+            if type(cron) == CronItem and not cron.is_valid():
+                crons.append("# " + unicode(cron))
+                sys.stderr.write(
+                    "Ignoring invalid crontab line `%s`\n" % str(cron))
+                continue
+            crons.append(unicode(cron))
+        result = '\n'.join(crons)
+
+        if len(result): # This may be an empty crontab as if all cronjobs were deleted
+            if result[-1] not in [ '\n', '\r' ]:
+                result += '\n'
+        return result
+
+    def new(self, command='', comment=''):
+        """
+        Create a new cron with a command and comment.
+
+        Returns the new CronItem object.
+        """
+        item = CronItem(command=command, meta=comment)
+        self.crons.append(item)
+        self.lines.append(item)
+        return item
+
+    def find_command(self, command):
+        """Return a list of crons using a command."""
+        result = []
+        for cron in self.crons:
+            if cron.command.match(command):
+                result.append(cron)
+        return result
+
+    def remove_all(self, command):
+        """Removes all crons using the stated command."""
+        l_value = self.find_command(command)
+        for c_value in l_value:
+            self.remove(c_value)
+
+    def remove(self, item):
+        """Remove a selected cron from the crontab."""
+        self.crons.remove(item)
+        self.lines.remove(item)
+
+    def _read_execute(self):
+        """Returns the command line for reading a crontab"""
+        return "%s -l%s" % (CRONCMD, self._user_execute())
+
+    def _write_execute(self, path):
+        """Return the command line for writing a crontab"""
+        return "%s %s%s" % (CRONCMD, path, self._user_execute())
+
+    def _user_execute(self):
+        """User command switches to append to the read and write commands."""
+        if self.user:
+            return ' -u %s' % str(self.user)
+        return ''
+
+    def __iter__(self):
+        return self.crons.__iter__()
+
+    def __unicode__(self):
+        return self.render()
+
+
+class CronItem(object):
+    """
+    An item which objectifies a single line of a crontab and
+    May be considered to be a cron job object.
+    """
+    def __init__(self, line=None, command='', meta=''):
+        self.command = CronCommand(unicode(command))
+        self._meta   = meta
+        self.valid   = False
+        self.slices  = []
+        self.special = False
+        self.set_slices()
+        if line:
+            self.parse(line)
+
+    def parse(self, line):
+        """Parse a cron line string and save the info as the objects."""
+        result = ITEMREX.findall(line)
+        if result:
+            o_value = result[0]
+            self.command = CronCommand(o_value[5])
+            self._meta   = o_value[7]
+            self.set_slices( o_value )
+            self.valid = True
+        elif line.find('@') < line.find('#') or line.find('#')==-1:
+            result = SPECREX.findall(line)
+            if result and SPECIALS.has_key(result[0][0]):
+                o_value = result[0]
+                self.command = CronCommand(o_value[1])
+                self._meta   = o_value[3]
+                value = SPECIALS[o_value[0]]
+                if value.find('@') != -1:
+                    self.special = value
+                else:
+                    self.set_slices( value.split(' ') )
+                self.valid = True
+
+    def set_slices(self, o_value=None):
+        """Set the values of this slice set"""
+        self.slices = []
+        for i_value in range(0, 5):
+            if not o_value:
+                o_value = [None, None, None, None, None]
+            self.slices.append(
+                CronSlice(value=o_value[i_value], **S_INFO[i_value]))
+
+    def is_valid(self):
+        """Return true if this slice set is valid"""
+        return self.valid
+
+    def render(self):
+        """Render this set slice to a string"""
+        time = ''
+        if not self.special:
+            slices = []
+            for i in range(0, 5):
+                slices.append(unicode(self.slices[i]))
+            time = ' '.join(slices)
+        if self.special or time in SPECIALS.values():
+            if self.special:
+                time = self.special
+            else:
+                time = "@%s" % SPECIALS.keys()[SPECIALS.values().index(time)]
+
+        result = "%s %s" % (time, unicode(self.command))
+        if self.meta():
+            result += " # " + self.meta()
+        return result
+
+
+    def meta(self, value=None):
+        """Return or set the meta value to replace the set values"""
+        if value:
+            self._meta = value
+        return self._meta
+
+    def every_reboot(self):
+        """Set to every reboot instead of a time pattern"""
+        self.special = '@reboot'
+
+    def clear(self):
+        """Clear the special and set values"""
+        self.special = None
+        for slice_v in self.slices:
+            slice_v.clear()
+
+    def minute(self):
+        """Return the minute slice"""
+        return self.slices[0]
+
+    def hour(self):
+        """Return the hour slice"""
+        return self.slices[1]
+
+    def dom(self):
+        """Return the day-of-the month slice"""
+        return self.slices[2]
+
+    def month(self):
+        """Return the month slice"""
+        return self.slices[3]
+
+    def dow(self):
+        """Return the day of the week slice"""
+        return self.slices[4]
+
+    def __str__(self):
+        return self.__unicode__()
+
+    def __unicode__(self):
+        return self.render()
+
+
+class CronSlice(object):
+    """Cron slice object which shows a time pattern"""
+    def __init__(self, name, min_v, max_v, enum=None, value=None):
+        self.name  = name
+        self.min   = min_v
+        self.max   = max_v
+        self.enum  = enum
+        self.parts = []
+        self.value(value)
+
+    def value(self, value=None):
+        """Return the value of the entire slice."""
+        if value:
+            self.parts = []
+            for part in value.split(','):
+                if part.find("/") > 0 or part.find("-") > 0 or part == '*':
+                    self.parts.append( self.get_range( part ) )
+                else:
+                    if self.enum and part.lower() in self.enum:
+                        part = self.enum.index(part.lower())
+                    try:
+                        self.parts.append( int(part) )
+                    except:
+                        raise ValueError(
+                            'Unknown cron time part for %s: %s' % (
+                            self.name, part))
+        return self.render()
+
+    def render(self):
+        """Return the slice rendered as a crontab"""
+        result = []
+        for part in self.parts:
+            result.append(unicode(part))
+        if not result:
+            return '*'
+        return ','.join(result)
+
+    def __str__(self):
+        return self.__unicode__()
+
+    def __unicode__(self):
+        return self.render()
+
+    def every(self, n_value):
+        """Set the every X units value"""
+        self.parts = [ self.get_range( '*/%d' % int(n_value) ) ]
+
+    def on(self, *n_value):
+        """Set the on the time value."""
+        self.parts += n_value
+
+    def during(self, value_from, value_to):
+        """Set the During value, which sets a range"""
+        range_value = self.get_range(
+            "%s-%s" % (str(value_from), str(value_to)))
+        self.parts.append( range_value )
+        return range_value
+
+    def clear(self):
+        """clear the slice ready for new vaues"""
+        self.parts = []
+
+    def get_range(self, range_value):
+        """Return a cron range for this slice"""
+        return CronRange( self, range_value )
+
+
+class CronRange(object):
+    """A range between one value and another for a time range."""
+    def __init__(self, slice_value, range_value=None):
+        self.value_from = None
+        self.value_to = None
+        self.slice = slice_value
+        self.seq   = 1
+        if not range_value:
+            range_value = '*'
+        self.parse(range_value)
+
+    def parse(self, value):
+        """Parse a ranged value in a cronjob"""
+        if value.find('/') > 0:
+            value, self.seq = value.split('/')
+        if value.find('-') > 0:
+            from_val, to_val = value.split('-')
+            self.value_from = self.clean_value(from_val)
+            self.value_to  = self.clean_value(to_val)
+        elif value == '*':
+            self.value_from = self.slice.min
+            self.value_to  = self.slice.max
+        else:
+            raise ValueError, 'Unknown cron range value %s' % value
+
+    def render(self):
+        """Render the ranged value for a cronjob"""
+        value = '*'
+        if self.value_from > self.slice.min or self.value_to < self.slice.max:
+            value = "%d-%d" % (int(self.value_from), int(self.value_to))
+        if int(self.seq) != 1:
+            value += "/%d" % (int(self.seq))
+        return value
+
+    def clean_value(self, value):
+        """Return a cleaned value of the ranged value"""
+        if self.slice.enum and str(value).lower() in self.slice.enum:
+            value = self.slice.enum.index(str(value).lower())
+        try:
+            value = int(value)
+            if value >= self.slice.min and value <= self.slice.max:
+                return value
+        except ValueError:
+            raise ValueError('Invalid range value %s' % str(value))
+
+    def every(self, value):
+        """Set the sequence value for this range."""
+        self.seq = int(value)
+
+    def __str__(self):
+        return self.__unicode__()
+
+    def __unicode__(self):
+        return self.render()
+
+
+class CronCommand(object):
+    """Reprisent a cron command as an object."""
+    def __init__(self, line):
+        self._command = line
+
+    def match(self, command):
+        """Match the command given"""
+        if command in self._command:
+            return True
+        return False
+
+    def command(self):
+        """Return the command line"""
+        return self._command
+
+    def __str__(self):
+        """Return a string as a value"""
+        return self.__unicode__()
+
+    def __unicode__(self):
+        """Return unicode command line value"""
+        return self.command()
+# end of crontab functions

=== added directory 'debian/mcc-mirobridge/ui'
=== added file 'debian/mcc-mirobridge/ui/tab_mirobridge.ui'
--- debian/mcc-mirobridge/ui/tab_mirobridge.ui	1970-01-01 00:00:00 +0000
+++ debian/mcc-mirobridge/ui/tab_mirobridge.ui	2010-05-26 16:08:33 +0000
@@ -0,0 +1,509 @@
+<?xml version="1.0"?>
+<interface>
+  <requires lib="gtk+" version="2.16"/>
+  <!-- interface-naming-policy toplevel-contextual -->
+  <object class="GtkVBox" id="tab_mirobridge">
+    <property name="visible">True</property>
+    <property name="border_width">6</property>
+    <property name="orientation">vertical</property>
+    <child>
+      <object class="GtkAlignment" id="headings_alignment">
+        <property name="visible">True</property>
+        <property name="xalign">0</property>
+        <property name="yalign">0</property>
+        <property name="xscale">0</property>
+        <child>
+          <object class="GtkVBox" id="headings_vbox">
+            <property name="visible">True</property>
+            <property name="orientation">vertical</property>
+            <child>
+              <object class="GtkLabel" id="heading_label">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes">&lt;big&gt;&lt;b&gt;MiroBridge Installation/Configuration&lt;/b&gt;&lt;/big&gt;</property>
+                <property name="use_markup">True</property>
+              </object>
+              <packing>
+                <property name="position">0</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkHSeparator" id="headings_hseparator">
+                <property name="visible">True</property>
+              </object>
+              <packing>
+                <property name="expand">False</property>
+                <property name="position">1</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLabel" id="desc_label">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="label" translatable="yes">Enjoy the best videos the Internet has to offer with
+MiroBridge providing an automated interface
+between Miro's videos and MythTV's
+Watch Recordings screen and MythVideo.</property>
+              </object>
+              <packing>
+                <property name="position">2</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLinkButton" id="wiki_linkbutton">
+                <property name="label" translatable="yes">MiroBridge Wiki</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">True</property>
+                <property name="has_tooltip">True</property>
+                <property name="relief">none</property>
+                <property name="xalign">0</property>
+                <property name="uri">http://www.mythtv.org/wiki/MiroBridge</property>
+              </object>
+              <packing>
+                <property name="position">3</property>
+              </packing>
+            </child>
+            <child>
+              <object class="GtkLinkButton" id="miro_linkbutton">
+                <property name="label" translatable="yes">Miro</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">True</property>
+                <property name="has_tooltip">True</property>
+                <property name="relief">none</property>
+                <property name="xalign">0</property>
+                <property name="uri">http://www.getmiro.com/</property>
+              </object>
+              <packing>
+                <property name="position">4</property>
+              </packing>
+            </child>
+          </object>
+        </child>
+      </object>
+      <packing>
+        <property name="expand">False</property>
+        <property name="position">0</property>
+      </packing>
+    </child>
+    <child>
+      <object class="GtkHSeparator" id="under_window_title_hseparator">
+        <property name="visible">True</property>
+      </object>
+      <packing>
+        <property name="expand">False</property>
+        <property name="fill">False</property>
+        <property name="padding">6</property>
+        <property name="position">1</property>
+      </packing>
+    </child>
+    <child>
+      <object class="GtkVBox" id="all_fields">
+        <property name="visible">True</property>
+        <property name="orientation">vertical</property>
+        <property name="spacing">10</property>
+        <child>
+          <object class="GtkAlignment" id="install_alignment">
+            <property name="visible">True</property>
+            <property name="xalign">0</property>
+            <property name="yalign">0</property>
+            <property name="xscale">0</property>
+            <property name="left_padding">25</property>
+            <child>
+              <object class="GtkCheckButton" id="install_checkbutton">
+                <property name="label" translatable="yes">Step #1: Install Miro and/or dependancies</property>
+                <property name="visible">True</property>
+                <property name="can_focus">True</property>
+                <property name="receives_default">False</property>
+                <property name="tooltip_text" translatable="yes">Check this box then click the "Apply" button to install the dependencies and automatically configure MiroBridge. Until the install is complete the other options on this tab are hidden.
+
+This option will appear even after the initial install if individual components have been removed or delete. In effect you can repair a broken install.</property>
+                <property name="draw_indicator">True</property>
+              </object>
+            </child>
+          </object>
+          <packing>
+            <property name="position">0</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkHSeparator" id="under_install_hseparator">
+            <property name="visible">True</property>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="padding">6</property>
+            <property name="position">1</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkAlignment" id="cronjobs_alignment">
+            <property name="visible">True</property>
+            <property name="xalign">0</property>
+            <property name="yalign">0</property>
+            <property name="xscale">0</property>
+            <child>
+              <object class="GtkVBox" id="cronjobs_vbox">
+                <property name="visible">True</property>
+                <property name="orientation">vertical</property>
+                <child>
+                  <object class="GtkAlignment" id="enable_disable_alignment">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="yalign">0</property>
+                    <property name="xscale">0</property>
+                    <child>
+                      <object class="GtkHBox" id="enable_disable_hbox">
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">This selection stops or restarts MiroBridge processing. Suspend the MiroBridge cronjob by selecting "Disable".</property>
+                        <child>
+                          <object class="GtkAlignment" id="enable_disable_label_alignment">
+                            <property name="visible">True</property>
+                            <property name="xalign">0</property>
+                            <property name="xscale">0</property>
+                            <child>
+                              <object class="GtkLabel" id="enable_disable_label">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">MiroBridge cronjob:</property>
+                              </object>
+                            </child>
+                          </object>
+                          <packing>
+                            <property name="position">0</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkAlignment" id="enable_disable_combobox_alignment">
+                            <property name="visible">True</property>
+                            <property name="left_padding">10</property>
+                            <child>
+                              <object class="GtkComboBox" id="enable_disable_combobox">
+                                <property name="visible">True</property>
+                                <property name="model">enable_disable_liststore</property>
+                                <child>
+                                  <object class="GtkCellRendererText" id="enable_disable_cellrenderertext"/>
+                                  <attributes>
+                                    <attribute name="text">0</attribute>
+                                  </attributes>
+                                </child>
+                              </object>
+                            </child>
+                          </object>
+                          <packing>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="position">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkAlignment" id="cronjob_freq_alignment">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="yalign">0</property>
+                    <property name="xscale">0</property>
+                    <child>
+                      <object class="GtkHBox" id="cronjob_freq_hbox">
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Select one of three options for how frequent the MiroBridge processing is run:
+1) Hourly starts: 45th minute of each hour (Default)
+2) Daily  starts: 2:00AM everyday
+3) Weekly starts: Sunday Midnight each week</property>
+                        <child>
+                          <object class="GtkAlignment" id="cronjob_freq_label_alignment">
+                            <property name="visible">True</property>
+                            <child>
+                              <object class="GtkLabel" id="cronjob_freq_label">
+                                <property name="visible">True</property>
+                                <property name="label" translatable="yes">MiroBridge conjob frequency:</property>
+                              </object>
+                            </child>
+                          </object>
+                          <packing>
+                            <property name="position">0</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkAlignment" id="cronjob_freq_combobox_alignment">
+                            <property name="visible">True</property>
+                            <property name="left_padding">10</property>
+                            <child>
+                              <object class="GtkComboBox" id="cronjob_freq_combobox">
+                                <property name="visible">True</property>
+                                <property name="model">cronjob_freq_liststore</property>
+                                <child>
+                                  <object class="GtkCellRendererText" id="cronjob_freq_cellrenderertext"/>
+                                  <attributes>
+                                    <attribute name="text">0</attribute>
+                                  </attributes>
+                                </child>
+                              </object>
+                            </child>
+                          </object>
+                          <packing>
+                            <property name="position">1</property>
+                          </packing>
+                        </child>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="position">1</property>
+                  </packing>
+                </child>
+              </object>
+            </child>
+          </object>
+          <packing>
+            <property name="position">2</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkAlignment" id="behavior_alignment">
+            <property name="visible">True</property>
+            <property name="xalign">0</property>
+            <property name="yalign">0</property>
+            <property name="xscale">0</property>
+            <child>
+              <object class="GtkVBox" id="behaviour_vbox1">
+                <property name="visible">True</property>
+                <property name="orientation">vertical</property>
+                <child>
+                  <object class="GtkHSeparator" id="under_cronobs_hseparator">
+                    <property name="visible">True</property>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="padding">6</property>
+                    <property name="position">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkAlignment" id="behaviour_label_alignment">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="yalign">0</property>
+                    <property name="xscale">0</property>
+                    <child>
+                      <object class="GtkLabel" id="behaviour_label">
+                        <property name="visible">True</property>
+                        <property name="label" translatable="yes">&lt;b&gt;Behaviour Options&lt;/b&gt;</property>
+                        <property name="use_markup">True</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="position">1</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkAlignment" id="behaviour_combobox_alignment">
+                    <property name="visible">True</property>
+                    <child>
+                      <object class="GtkComboBox" id="behaviour_combobox">
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">Default: Emulate Miro video processing:
+All newly downloaded videos are added to the Watch Recordings screen, after they have been watched they are moved to MythVideo and eventually are removed by Miro according to Miro's own expiry settings (X number of days).
+
+Watched Recordings screen only:
+Force all Miro videos to never be added to MythVideo. This is a watch-and-forget option. The Videos will be removed by Miro according to Miro's own expiry settings (X number of days)
+
+Copy all Miro videos directly to MythVideo:
+Force all Miro Channel videos to be copied directly to MythVideo and never displayed in the MythTV's "Watch Recordings" screen. These copied videos are removed from Miro entirely. Miro never expires/removes a copied video which act like any other MythVideo video file.
+
+Watch Miro videos then copy to MythVideo:
+Force all Miro videos to be copied directly to MythVideo AFTER they have been watched in the MythTV "Watch Recordings" screen. This option is a good balance between having new videos highlighted through the MythTV's "Watch Recordings" screen and automatically saving the video in MythVideo once it has been watched. This option is most frequently used for Movie trailers. Miro never expires/removes a copied video which act like any other MythVideo video file.</property>
+                        <property name="model">behaviour_liststore</property>
+                        <child>
+                          <object class="GtkCellRendererText" id="behaviour_cellrenderertext"/>
+                          <attributes>
+                            <attribute name="text">0</attribute>
+                          </attributes>
+                        </child>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="position">2</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkHSeparator" id="under_behaviourhseparator">
+                    <property name="visible">True</property>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="padding">6</property>
+                    <property name="position">3</property>
+                  </packing>
+                </child>
+              </object>
+            </child>
+          </object>
+          <packing>
+            <property name="position">3</property>
+          </packing>
+        </child>
+        <child>
+          <object class="GtkAlignment" id="last_elems_alignment">
+            <property name="visible">True</property>
+            <property name="xalign">0</property>
+            <property name="yalign">0</property>
+            <property name="xscale">0</property>
+            <child>
+              <object class="GtkVBox" id="last_elems_vbox">
+                <property name="visible">True</property>
+                <property name="orientation">vertical</property>
+                <child>
+                  <object class="GtkLabel" id="config_miro_channels_label">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label" translatable="yes">&lt;b&gt;Configure Miro Video Channels&lt;/b&gt;</property>
+                    <property name="use_markup">True</property>
+                  </object>
+                  <packing>
+                    <property name="position">0</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkAlignment" id="launch_miro_alignment">
+                    <property name="visible">True</property>
+                    <property name="xscale">0.60000002384185791</property>
+                    <child>
+                      <object class="GtkButton" id="launch_miro_button">
+                        <property name="label" translatable="yes">Launch Miro (Channel Add/Change/Delete)</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">True</property>
+                        <property name="tooltip_text" translatable="yes">Launch the Miro GUI application so that you can:
+1) Set the location where Miro will download videos
+2) Add or change Miro video channels
+3) Modify the channel names
+4) Set the auto expiry days
+5) Ensure that auto download is enabled</property>
+                        <signal name="clicked" handler="callBacks"/>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="position">1</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkLabel" id="import_opml_label">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="label" translatable="yes">&lt;b&gt;Import an OPML file (*.opml)&lt;/b&gt;</property>
+                    <property name="use_markup">True</property>
+                  </object>
+                  <packing>
+                    <property name="position">2</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkAlignment" id="import_opml_alignment">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="xscale">0.60000002384185791</property>
+                    <child>
+                      <object class="GtkFileChooserButton" id="import_opml_filechooserbutton">
+                        <property name="visible">True</property>
+                        <property name="tooltip_text" translatable="yes">*** The file browser window stays displayed while the OPML file is being imported ***
+
+Import an OPML file that has been exported from a separate Miro configuration. The import file must have an extension of ".opml". This is an excellent way of copying your Miro Channel configuration from a previous Miro install or for using a separate PC with a keyboard to choose and rename your Miro Channels.</property>
+                        <property name="create_folders">False</property>
+                        <signal name="selection_changed" handler="callBacks" after="yes"/>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="position">3</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkHSeparator" id="over_uninstall_hseparator">
+                    <property name="visible">True</property>
+                  </object>
+                  <packing>
+                    <property name="expand">False</property>
+                    <property name="padding">12</property>
+                    <property name="position">4</property>
+                  </packing>
+                </child>
+                <child>
+                  <object class="GtkAlignment" id="uninstall_alignment">
+                    <property name="visible">True</property>
+                    <property name="xalign">0</property>
+                    <property name="yalign">0</property>
+                    <property name="xscale">0</property>
+                    <property name="left_padding">25</property>
+                    <child>
+                      <object class="GtkCheckButton" id="uninstall_checkbutton">
+                        <property name="label" translatable="yes">Uninstall MiroBridge</property>
+                        <property name="visible">True</property>
+                        <property name="can_focus">True</property>
+                        <property name="receives_default">False</property>
+                        <property name="tooltip_text" translatable="yes">Uninstall the Miro package and remove MiroBridge related files including images, configuration file and the cronjob.
+Uninstall does not remove any existing Watch Recordings or MythVideo records or video files. Those must be removed by the through either the Watch Recordings screen delete 'd' and/or MythVideo delete 'd' options.</property>
+                        <property name="draw_indicator">True</property>
+                      </object>
+                    </child>
+                  </object>
+                  <packing>
+                    <property name="position">5</property>
+                  </packing>
+                </child>
+              </object>
+            </child>
+          </object>
+          <packing>
+            <property name="position">4</property>
+          </packing>
+        </child>
+      </object>
+      <packing>
+        <property name="expand">False</property>
+        <property name="padding">6</property>
+        <property name="position">2</property>
+      </packing>
+    </child>
+  </object>
+  <object class="GtkListStore" id="enable_disable_liststore">
+    <columns>
+      <!-- column-name enable_disable_array -->
+      <column type="gchararray"/>
+    </columns>
+    <data>
+      <row>
+        <col id="0" translatable="yes"></col>
+      </row>
+    </data>
+  </object>
+  <object class="GtkListStore" id="behaviour_liststore">
+    <columns>
+      <!-- column-name behaviour_array -->
+      <column type="gchararray"/>
+    </columns>
+    <data>
+      <row>
+        <col id="0" translatable="yes"></col>
+      </row>
+    </data>
+  </object>
+  <object class="GtkListStore" id="cronjob_freq_liststore">
+    <columns>
+      <!-- column-name cronjob_freq_array -->
+      <column type="gchararray"/>
+    </columns>
+    <data>
+      <row>
+        <col id="0" translatable="yes"></col>
+      </row>
+    </data>
+  </object>
+</interface>

=== added file 'debian/mysql.txt.dist'
--- debian/mysql.txt.dist	1970-01-01 00:00:00 +0000
+++ debian/mysql.txt.dist	2010-05-26 16:08:33 +0000
@@ -0,0 +1,4 @@
+DBHostName=localhost
+DBUserName=mythtv
+DBName=mythconverg
+DBPassword=

=== added file 'debian/mythbuntu-crashdb.conf'
--- debian/mythbuntu-crashdb.conf	1970-01-01 00:00:00 +0000
+++ debian/mythbuntu-crashdb.conf	2010-05-26 16:08:33 +0000
@@ -0,0 +1,5 @@
+mythbuntu = {
+	'impl' : 'launchpad',
+	'project' : 'mythbuntu',
+        'bug_pattern_base': None,
+}

=== added file 'debian/mythfrontend.sh'
--- debian/mythfrontend.sh	1970-01-01 00:00:00 +0000
+++ debian/mythfrontend.sh	2010-05-26 16:08:33 +0000
@@ -0,0 +1,95 @@
+#!/bin/sh
+# Mario Limonciello, March 2007
+# partially merged with startmythtv.sh by Michael Haas, October 2007
+
+pidof mythfrontend.real 2>&1 >/dev/null && wmctrl -a "MythTV Frontend" 2>/dev/null && exit 0
+
+#source our dialog functions
+. /usr/share/mythtv/dialog_functions.sh
+
+#find the session, dialog, and su manager we will be using for display
+find_session
+find_dialog
+find_su
+
+#check that we are in the mythtv group
+check_groups
+
+#create a symbolic link for mysql.txt so it can't be overwritten
+mkdir -p $HOME/.mythtv
+if [ ! -e $HOME/.mythtv/mysql.txt ]; then
+	ln -s /etc/mythtv/mysql.txt $HOME/.mythtv/mysql.txt
+fi
+
+if [ "$1" = "--service" ]; then
+    #source frontend session settings
+    if [ -f /etc/mythtv/session-settings ]; then
+        . /etc/mythtv/session-settings
+    fi
+    echo "Please note: additional command line arguments will not be passed"
+    echo "  to mythfrontend when using --service"
+    echo "Please set them in /etc/mythtv/session-settings instead"
+
+    # set log files
+    MYTHFELOG="/var/log/mythtv/mythfrontend.log"
+    MYTHWELCOMELOG="/var/log/mythtv/mythwelcome.log"
+
+    # make sure that our log files exist
+    # it's ok if we fail, we'll fall back to a different logfile location later on
+    if [ ! -f "${MYTHFELOG}" ]; then
+        touch "${MYTHFELOG}" || true
+    fi
+    if [ ! -f "${MYTHWELCOMELOG}" ]; then
+        touch "${MYTHWELCOMELOG}" || true
+    fi
+    # make sure log files are writeable by members of the "mythtv" group
+    # again, it's ok if we fail so we redirect STDERR to /dev/null
+    chgrp mythtv "${MYTHFELOG}" 2>/dev/null && \
+    chmod g+rw "${MYTHFELOG}" 2>/dev/null || true
+    chgrp mythtv "${MYTHWELCOMELOG}" 2>/dev/null && \
+    chmod g+rw "${MYTHWELCOMELOG}" 2>/dev/null || true
+
+    # Are the log files writeable as well? If not, warn the user and
+    # fall back to tempory log location
+    if [ ! -w "${MYTHFELOG}" ]; then
+        echo "Sorry, "${MYTHFELOG}" is not writeable. Please make sure it's writeable"
+        echo "  for the \"mythtv\" group."
+        echo "Logging to /tmp/mythfrontend.${$}.log instead"
+        MYTHFELOG="/tmp/mythfrontend.${$}.log"
+    fi
+
+    if [ ! -w "${MYTHWELCOMELOG}" ]; then
+        echo "Sorry, "${MYTHWELCOMELOG}" is not writeable. Please make sure it's writeable"
+        echo "  for the \"mythtv\" group."
+        echo "Logging to /tmp/mythwelcome.${$}.log instead"
+        MYTHWELCOMELOG="/tmp/mythwelcome.${$}.log"
+    fi
+
+
+    #if group membership is okay, go ahead and launch
+    if [ "$IGNORE_NOT" = "0" ]; then
+        # start mythtv frontend software
+        if [ "$MYTHWELCOME" = "true" ]; then
+            if [ ! -z $MYTHFRONTEND_OPTS ]; then
+                echo "Note: It looks like you set MYTHFRONTEND_OPTS in /etc/mythtv/session-settings" | tee -a "${MYTHWELCOMELOG}"
+                echo "However, mythwelcome won't recognize these." | tee -a "${MYTHWELCOMELOG}"
+                echo "You have to set to set your startup options in the mythwelcome settings screens" | tee -a "${MYTHWELCOMELOG}"
+                echo "Starting mythwelcome.." | tee -a "${MYTHWELCOMELOG}"
+            fi
+            # Note: if mythwelcome would support -O to override database settings,
+            # we could tell it to start the frontend with $MYTHFRONTEND_OPTS
+            # This is not possible yet, but maybe it'll happen in the future
+            exec mythwelcome | tee -a "${MYTHWELCOMELOG}"
+        else
+            echo "Starting mythfrontend.real.." >> "${MYTHFELOG}"
+            exec /usr/bin/mythfrontend.real --logfile "${MYTHFELOG}" ${MYTHFRONTEND_OPTS}
+        fi
+    fi
+# if we're not in --service mode, just behave normally
+elif [ "$1" != "--service" ]; then
+    # if group membership is okay, go ahead and launch
+    if [ "$IGNORE_NOT" = "0" ]; then
+        exec /usr/bin/mythfrontend.real "$@"
+    fi
+fi
+ 

=== added file 'debian/mythtv-backend.configfiles'
--- debian/mythtv-backend.configfiles	1970-01-01 00:00:00 +0000
+++ debian/mythtv-backend.configfiles	2010-05-26 16:08:33 +0000
@@ -0,0 +1,4 @@
+/etc/logrotate.d/mythtv-backend
+/etc/default/mythtv-backend
+/etc/init.d/mythtv-backend 
+/etc/cron.daily/mythtv-backend

=== added file 'debian/mythtv-backend.dirs'
--- debian/mythtv-backend.dirs	1970-01-01 00:00:00 +0000
+++ debian/mythtv-backend.dirs	2010-05-26 16:08:33 +0000
@@ -0,0 +1,12 @@
+usr/share/doc/mythtv-backend
+var/log/mythtv
+var/cache/mythtv
+var/lib/mythtv/recordings 
+var/lib/mythtv/videos
+var/lib/mythtv/fanart
+var/lib/mythtv/screenshots
+var/lib/mythtv/banners
+var/lib/mythtv/coverart
+var/lib/mythtv/db_backups
+var/lib/mythtv/livetv
+var/lib/mythtv/trailers

=== added file 'debian/mythtv-backend.docs'
--- debian/mythtv-backend.docs	1970-01-01 00:00:00 +0000
+++ debian/mythtv-backend.docs	2010-05-26 16:08:33 +0000
@@ -0,0 +1,1 @@
+contrib

=== added file 'debian/mythtv-backend.if-up.d'
--- debian/mythtv-backend.if-up.d	1970-01-01 00:00:00 +0000
+++ debian/mythtv-backend.if-up.d	2010-05-26 16:08:33 +0000
@@ -0,0 +1,22 @@
+#! /bin/sh
+set -e
+
+# Don't bother to restart mytbackend when lo is configured.
+if [ "$IFACE" = lo ]; then
+	exit 0
+fi
+
+# Only run from ifup.
+if [ "$MODE" != "start" ]; then
+	exit 0
+fi
+
+# Is /usr mounted?
+if [ ! -e /usr/bin/mythbackend ]; then
+	exit 0
+fi
+
+stop mythtv-backend || true
+start mythtv-backend || true
+
+exit 0

=== added file 'debian/mythtv-backend.install'
--- debian/mythtv-backend.install	1970-01-01 00:00:00 +0000
+++ debian/mythtv-backend.install	2010-05-26 16:08:33 +0000
@@ -0,0 +1,17 @@
+#Come from make install
+usr/bin/mythbackend
+usr/bin/mythcommflag
+usr/bin/mythfilldatabase
+usr/bin/mythjobqueue
+usr/bin/mythtv-setup.real
+
+#Copied in from debian/
+debian/mythtv-setup.desktop 			usr/share/applications
+debian/41-mythtv-permissions.rules		lib/udev/rules.d
+debian/mythtv-backend.if-up.d 			etc/network/if-up.d
+debian/mythtv-setup.sh				usr/share/mythtv
+
+## Mythbuntu control centre
+# plugin for mcc-mirobridge
+debian/mcc-mirobridge/python  usr/share/mythbuntu/plugins
+debian/mcc-mirobridge/ui      usr/share/mythbuntu/plugins

=== added file 'debian/mythtv-backend.links'
--- debian/mythtv-backend.links	1970-01-01 00:00:00 +0000
+++ debian/mythtv-backend.links	2010-05-26 16:08:33 +0000
@@ -0,0 +1,1 @@
+usr/share/mythtv/mythtv-setup.sh usr/bin/mythtv-setup

=== added file 'debian/mythtv-backend.logrotate'
--- debian/mythtv-backend.logrotate	1970-01-01 00:00:00 +0000
+++ debian/mythtv-backend.logrotate	2010-05-26 16:08:33 +0000
@@ -0,0 +1,17 @@
+/var/log/mythtv/mythbackend.log {
+        daily
+	size=10M
+        rotate 7
+        notifempty
+        copytruncate
+}
+
+/var/log/mythtv/mirobridge.log {
+        daily
+        size=10M
+        rotate 7
+        notifempty
+        copytruncate
+        missingok
+}
+

=== added file 'debian/mythtv-backend.postinst'
--- debian/mythtv-backend.postinst	1970-01-01 00:00:00 +0000
+++ debian/mythtv-backend.postinst	2010-05-26 16:08:33 +0000
@@ -0,0 +1,47 @@
+#!/bin/sh -e
+
+. /usr/share/debconf/confmodule
+
+case "$1" in
+    configure)
+
+        for dir in /var/log/mythtv \
+                   /var/lib/mythtv/recordings \
+                   /var/cache/mythtv \
+                   /var/lib/mythtv/banners \
+                   /var/lib/mythtv/screenshots \
+                   /var/lib/mythtv/fanart \
+                   /var/lib/mythtv/coverart \
+                   /var/lib/mythtv/db_backups \
+                   /var/lib/mythtv/livetv \
+                   /var/lib/mythtv/trailers \
+                   /var/lib/mythtv/videos; do
+	    if [ -d "$dir" ] && ! dpkg-statoverride --list "$dir" >/dev/null; then
+                chown mythtv:mythtv "$dir" || true
+                chmod 2775 "$dir" || true
+            fi
+        done
+
+        if [ -z "$2" ]; then
+            # Migrate from old mythtv -> mythtv-backend
+            [ -f /etc/logrotate.d/mythtv ] && \
+                mv /etc/logrotate.d/mythtv /etc/logrotate.d/mythtv-backend
+
+            # Errors now sent via cron
+            rm -f /var/log/mythtv/mythfilldatabase.log*
+        fi
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+exit 0

=== added file 'debian/mythtv-backend.postrm'
--- debian/mythtv-backend.postrm	1970-01-01 00:00:00 +0000
+++ debian/mythtv-backend.postrm	2010-05-26 16:08:33 +0000
@@ -0,0 +1,26 @@
+#!/bin/sh -e
+
+case "$1" in
+    purge)
+
+        rm -f /var/log/mythtv/mythbackend.log*
+        if test -d /var/log/mythtv; then
+          rmdir --ignore-fail-on-non-empty /var/log/mythtv
+        fi
+
+        ;;
+
+    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+
+        ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+
+esac
+
+#DEBHELPER#
+
+exit 0

=== added file 'debian/mythtv-backend.preinst'
--- debian/mythtv-backend.preinst	1970-01-01 00:00:00 +0000
+++ debian/mythtv-backend.preinst	2010-05-26 16:08:33 +0000
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+set -e
+
+# Remove a no-longer used conffile
+rm_conffile() {
+    PKGNAME="$1"
+    CONFFILE="$2"
+    if [ -e "$CONFFILE" ]; then
+        md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`"
+        old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE '{s/ obsolete$//;s/.* //p}\"`"
+        if [ "$md5sum" != "$old_md5sum" ]; then
+            echo "Obsolete conffile $CONFFILE has been modified by you."
+            echo "Saving as $CONFFILE.dpkg-bak ..."
+            mv -f "$CONFFILE" "$CONFFILE".dpkg-bak
+        else
+            echo "Removing obsolete conffile $CONFFILE ..."
+            rm -f "$CONFFILE"
+        fi
+    fi
+}
+
+
+if [ "$1" = install ] || [ "$1" = upgrade ]; then
+	if [ -e "/etc/udev.rules.d/41-mythtv-permissions.rules" ]; then
+		rm_conffile "mythtv-backend" "/etc/udev.rules.d/41-mythtv-permissions.rules"
+        fi
+	if dpkg --compare-versions "$2" le "0.23.0~trunk23567-0ubuntu2"; then
+		rm_conffile "mythtv-backend" "/etc/default/mythtv-backend"
+	fi
+fi
+
+#DEBHELPER#

=== added file 'debian/mythtv-common.config'
--- debian/mythtv-common.config	1970-01-01 00:00:00 +0000
+++ debian/mythtv-common.config	2010-05-26 16:08:33 +0000
@@ -0,0 +1,23 @@
+#!/bin/sh -e
+
+. /usr/share/debconf/confmodule
+
+CONFIG=/etc/mythtv/mysql.txt
+if [ -e $CONFIG ]; then
+    db_set mythtv/mysql_mythtv_dbname "`sed -n -e 's/^\(str  *\)\?DBName=\(.*\)$/\2/gp;' $CONFIG`"
+    db_set mythtv/mysql_mythtv_user "`sed -n -e 's/^\(str  *\)\?DBUserName=\(.*\)$/\2/gp;' $CONFIG`"
+    db_set mythtv/mysql_mythtv_password "`sed -n -e 's/^\(str  *\)\?DBPassword=\(.*\)$/\2/gp;' $CONFIG`"
+    db_set mythtv/mysql_host "`sed -n -e 's/^\(str  *\)\?DBHostName=\(.*\)$/\2/gp;' $CONFIG`"
+fi
+
+db_input low mythtv/mysql_mythtv_dbname   || true
+db_input low mythtv/mysql_mythtv_user     || true
+db_input low mythtv/mysql_mythtv_password || true
+db_input medium mythtv/mysql_host         || true
+db_go || true
+
+db_get mythtv/mysql_mythtv_password
+if [ -z "$RET" ]; then
+    mythtv_password="$(pwgen -s 8)"
+    db_set mythtv/mysql_mythtv_password "$mythtv_password"
+fi

=== added file 'debian/mythtv-common.dirs'
--- debian/mythtv-common.dirs	1970-01-01 00:00:00 +0000
+++ debian/mythtv-common.dirs	2010-05-26 16:08:33 +0000
@@ -0,0 +1,1 @@
+etc/mythtv

=== added file 'debian/mythtv-common.install'
--- debian/mythtv-common.install	1970-01-01 00:00:00 +0000
+++ debian/mythtv-common.install	2010-05-26 16:08:33 +0000
@@ -0,0 +1,13 @@
+#these came from make install
+usr/share/mythtv/themes
+usr/bin/mythshutdown
+usr/share/mythtv/*.xml
+
+#Other bits that we are gonna copy in that aren't part of make install
+contrib/config_files/config.xml usr/share/mythtv
+
+#These are added in from debian/
+debian/dialog_functions.sh usr/share/mythtv
+debian/mysql.txt.dist usr/share/mythtv
+debian/mythbuntu-crashdb.conf etc/apport/crashdb.conf.d
+debian/source_mythtv.py usr/share/apport/package-hooks

=== added file 'debian/mythtv-common.links'
--- debian/mythtv-common.links	1970-01-01 00:00:00 +0000
+++ debian/mythtv-common.links	2010-05-26 16:08:33 +0000
@@ -0,0 +1,9 @@
+usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf usr/share/mythtv/themes/BlackCurves-OSD/DejaVuSans.ttf
+usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf usr/share/mythtv/themes/BlackCurves-OSD/DejaVuSans-Oblique.ttf
+usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf usr/share/mythtv/themes/Gray-OSD/DejaVuSans-Bold.ttf
+usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf usr/share/mythtv/themes/Gray-OSD/DejaVuSans.ttf
+usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Oblique.ttf usr/share/mythtv/themes/Gray-OSD/DejaVuSans-Oblique.ttf
+usr/share/fonts/truetype/freefont/FreeSans.ttf usr/share/mythtv/FreeSans.ttf
+usr/share/fonts/truetype/freefont/FreeMono.ttf usr/share/mythtv/FreeMono.ttf
+usr/share/apport/package-hooks/source_mythtv.py usr/share/apport/package-hooks/source_mythplugins.py
+usr/share/apport/package-hooks/source_mythtv.py usr/share/apport/package-hooks/source_myththemes.py

=== added file 'debian/mythtv-common.postinst'
--- debian/mythtv-common.postinst	1970-01-01 00:00:00 +0000
+++ debian/mythtv-common.postinst	2010-05-26 16:08:33 +0000
@@ -0,0 +1,119 @@
+#!/bin/sh -e
+
+case "$1" in
+    configure)
+    . /usr/share/debconf/confmodule
+
+    #only create a user if they don't already exist
+    if ! getent passwd mythtv 1>/dev/null; then
+        adduser --quiet --system --group --disabled-password --system \
+            --shell /bin/sh mythtv
+    fi
+    HOMEDIR=$(getent passwd mythtv | awk -F: '{ print $6 }')
+
+    adduser --quiet mythtv video
+    adduser --quiet mythtv audio
+    adduser --quiet mythtv cdrom
+    adduser --quiet mythtv dialout
+
+    db_get mythtv/mysql_host
+    hostname="$RET"
+    export hostname
+
+    db_get mythtv/mysql_mythtv_dbname
+    database="$RET"
+    export database
+
+    db_get mythtv/mysql_mythtv_user
+    mythtv_username="$RET"
+    export mythtv_username
+
+    db_get mythtv/mysql_mythtv_password
+    if [ -z "$RET" ]; then
+        mythtv_password="$(pwgen -s 8)"
+        db_set mythtv/mysql_mythtv_password "$mythtv_password"
+        db_subst mythtv/display_password password "$mythtv_password"
+        db_input high mythtv/display_password || true
+        db_go || true
+    else
+        mythtv_password="$RET"
+    fi
+    export mythtv_password
+
+    NEW=$(mktemp -t mysql.txt-XXXXXX)
+    if [ -s /etc/mythtv/mysql.txt ]; then
+        INPUT=/etc/mythtv/mysql.txt
+        chown --reference="$INPUT" "$NEW"
+        chmod --reference="$INPUT" "$NEW"
+    else
+        INPUT=/usr/share/mythtv/mysql.txt.dist
+        chown mythtv:mythtv "$NEW"
+        chmod 660 "$NEW"
+    fi
+
+    cat $INPUT | grep -v 'DBPassword=' | sed -e "
+s/^\(\(str  *\)\?DBHostName\)=.*$/\1=$hostname/g;
+s/^\(\(str  *\)\?DBUserName\)=.*$/\1=$mythtv_username/g;
+s/^\(\(str  *\)\?DBName\)=.*$/\1=$database/g;" > $NEW
+        cat <<EOF >> $NEW
+DBPassword=$mythtv_password
+EOF
+
+    mv $NEW /etc/mythtv/mysql.txt
+
+    NEW=$(mktemp -t config.xml-XXXXXX)
+    if [ -s /etc/mythtv/config.xml ]; then
+        INPUT=/etc/mythtv/config.xml
+        chown --reference="$INPUT" "$NEW"
+        chmod --reference="$INPUT" "$NEW"
+    else
+        INPUT=/usr/share/mythtv/config.xml
+        chown mythtv:mythtv "$NEW"
+        chmod 660 "$NEW"
+    fi
+
+    cat $INPUT > $NEW 
+
+    perl -pi -e 's/(<DBHostName>).*?(<\/DBHostName>)/$1$ENV{'hostname'}$2/;' $NEW
+    perl -pi -e 's/(<DBUserName>).*?(<\/DBUserName>)/$1$ENV{'mythtv_username'}$2/;' $NEW
+    perl -pi -e 's/(<DBPassword>).*?(<\/DBPassword>)/$1$ENV{'mythtv_password'}$2/;' $NEW
+    perl -pi -e 's/(<DBName>).*?(<\/DBName>)/$1$ENV{'database'}$2/;' $NEW
+    perl -pi -e 's/^\s+<LocalHostName>.*?<\/LocalHostName>\n//m;' $NEW
+
+    mv $NEW /etc/mythtv/config.xml
+
+    mkdir -p /root/.mythtv || true
+    mkdir -p $HOMEDIR/.mythtv || true
+    chown mythtv:mythtv $HOMEDIR/.mythtv || true
+
+    if [ ! -e /root/.mythtv/config.xml ]; then
+        ln -s /etc/mythtv/config.xml /root/.mythtv/config.xml || true
+    fi
+
+    if [ ! -e $HOMEDIR/.mythtv/config.xml ]; then
+        ln -s /etc/mythtv/config.xml $HOMEDIR/.mythtv/config.xml || true
+    fi
+
+    if [ ! -e $HOMEDIR/.mythtv/mysql.txt ]; then
+        ln -s /etc/mythtv/mysql.txt $HOMEDIR/.mythtv/mysql.txt || true
+    fi
+
+
+
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+    ;;
+
+    *)
+    echo "postinst called with unknown argument \`$1'" >&2
+    db_set mythtv/mysql_mythtv_password ""
+    exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+db_set mythtv/mysql_mythtv_password ""
+exit 0

=== added file 'debian/mythtv-common.postrm'
--- debian/mythtv-common.postrm	1970-01-01 00:00:00 +0000
+++ debian/mythtv-common.postrm	2010-05-26 16:08:33 +0000
@@ -0,0 +1,9 @@
+#!/bin/sh -e
+
+if [ $1 = purge ]; then  
+    deluser --quiet --system mythtv
+fi 
+
+#DEBHELPER#
+
+exit 0

=== added file 'debian/mythtv-common.templates'
--- debian/mythtv-common.templates	1970-01-01 00:00:00 +0000
+++ debian/mythtv-common.templates	2010-05-26 16:08:33 +0000
@@ -0,0 +1,22 @@
+Template: mythtv/mysql_mythtv_dbname
+Type: string
+Default: mythconverg
+_Description: Database to be used to hold MythTV data:
+ If a database with this name already exists, it will be used.
+
+Template: mythtv/mysql_mythtv_user
+Type: string
+Default: mythtv
+_Description: Username used by MythTV to access its database:
+ This user will automatically be granted appropriate permissions to the
+ database.
+
+Template: mythtv/mysql_mythtv_password
+Type: password
+_Description: Password used by MythTV to access its database:
+ If you give an empty password, a random one will be generated.
+
+Template: mythtv/mysql_host
+Type: string
+Default: localhost
+_Description: Host MySQL server resides in:

=== added file 'debian/mythtv-database.config'
--- debian/mythtv-database.config	1970-01-01 00:00:00 +0000
+++ debian/mythtv-database.config	2010-05-26 16:08:33 +0000
@@ -0,0 +1,75 @@
+#!/bin/sh -e
+#Try and connect to a sane default before
+#actually looking for input
+. /usr/share/debconf/confmodule
+
+CONFIG=/etc/mythtv/mysql.txt
+if [ -e $CONFIG ]; then
+    db_set mythtv/mysql_mythtv_dbname "`sed -n -e 's/^\(str  *\)\?DBName=\(.*\)$/\2/gp;' $CONFIG`"
+    db_set mythtv/mysql_mythtv_user "`sed -n -e 's/^\(str  *\)\?DBUserName=\(.*\)$/\2/gp;' $CONFIG`"
+    db_set mythtv/mysql_mythtv_password "`sed -n -e 's/^\(str  *\)\?DBPassword=\(.*\)$/\2/gp;' $CONFIG`"
+    db_set mythtv/mysql_host "`sed -n -e 's/^\(str  *\)\?DBHostName=\(.*\)$/\2/gp;' $CONFIG`"
+fi
+
+if which mysql >/dev/null; then
+    if echo "show databases;" | mysql --defaults-file=/etc/mysql/debian.cnf >/dev/null 2>&1; then
+        db_set mythtv/mysql_admin_user "debian-sys-maint"
+        db_set mythtv/mysql_admin_password ""
+    else
+        db_input low  mythtv/mysql_host || true
+        db_get mythtv/mysql_host
+        HOST="$RET"
+
+        if test -z "$HOST"; then
+            HOST=localhost
+            db_set mythtv/mysql_host "$HOST"
+        fi
+
+        db_input low mythtv/mysql_admin_user || true
+        db_get mythtv/mysql_admin_user
+        USER="$RET"
+        db_subst mythtv/mysql_admin_password user "$USER"
+
+        #Try to get it from mysql config
+        #rather than ask twice.
+        db_get mysql-server/root_password || RET="" && true
+        PASSWORD="$RET"
+        if ! test -z "$PASSWORD"; then
+            db_set mythtv/mysql_admin_password $PASSWORD
+
+        ##We couldn't get it from mysql's debconf, so we'll use our own##
+
+        #if localhost and no running mysql process, our later check
+        #would be failing
+        elif [ "$HOST" = "localhost" ] && ! pgrep mysqld\$ >/dev/null; then
+            db_set mythtv/mysql_admin_user "debian-sys-maint"
+            db_set mythtv/mysql_admin_password ""
+        #mysql should be running and installed, try 5 times to do it
+        else
+            i=1
+            while ! echo "show databases;" | mysql --host="$HOST" --user="$USER" --password="$PASSWORD" >/dev/null 2>&1; do
+                if [ $i -ge 5 ]; then
+                    echo "Failed to connect to database (incorrect admin password)" >&2
+                    break
+                fi
+                db_input high mythtv/mysql_admin_password || true
+                db_go || true
+                db_get mythtv/mysql_admin_password
+                PASSWORD="$RET"
+                i=$(($i+1))
+            done
+        fi
+    fi
+#mysql binary isn't installed yet, but that shouldn't cause the config
+#to be failing because this might be called during the preinst
+else
+        db_set mythtv/mysql_admin_user "debian-sys-maint"
+        db_set mythtv/mysql_admin_password ""
+fi
+
+
+#Ask the user about expandability
+db_input high mythtv/public_bind || true
+db_go || true
+
+exit 0

=== added file 'debian/mythtv-database.configfiles'
--- debian/mythtv-database.configfiles	1970-01-01 00:00:00 +0000
+++ debian/mythtv-database.configfiles	2010-05-26 16:08:33 +0000
@@ -0,0 +1,1 @@
+/etc/cron.weekly/mythtv-database

=== added file 'debian/mythtv-database.cron.weekly'
--- debian/mythtv-database.cron.weekly	1970-01-01 00:00:00 +0000
+++ debian/mythtv-database.cron.weekly	2010-05-26 16:08:33 +0000
@@ -0,0 +1,17 @@
+#!/bin/sh
+# /etc/cron.weekly/mythtv-database script - check and backup mythconverg tables
+# Copyright 2005/12/02 2006/10/08 Paul Andreassen 
+#                      2010 Mario Limonciello
+
+set -e -u
+
+DBNAME="mythconverg"
+DEBIAN="--defaults-extra-file=/etc/mysql/debian.cnf"
+
+/usr/bin/mysqlcheck $DEBIAN -s $DBNAME
+
+/usr/share/mythtv/mythconverg_backup.pl
+
+/usr/bin/logger -p daemon.info -i -t${0##*/} "$DBNAME checked and backedup."
+
+# End of file.

=== added file 'debian/mythtv-database.dirs'
--- debian/mythtv-database.dirs	1970-01-01 00:00:00 +0000
+++ debian/mythtv-database.dirs	2010-05-26 16:08:33 +0000
@@ -0,0 +1,2 @@
+usr/share/mythtv/sql
+

=== added file 'debian/mythtv-database.install'
--- debian/mythtv-database.install	1970-01-01 00:00:00 +0000
+++ debian/mythtv-database.install	2010-05-26 16:08:33 +0000
@@ -0,0 +1,9 @@
+#These were actually part of make install
+usr/share/mythtv/*.pl
+
+#are added in (not part of make install)
+database/*.sql usr/share/mythtv/sql
+
+#Come from debian/
+debian/mythtv.cnf etc/mysql/conf.d
+debian/*.sql usr/share/mythtv/sql

=== added file 'debian/mythtv-database.postinst'
--- debian/mythtv-database.postinst	1970-01-01 00:00:00 +0000
+++ debian/mythtv-database.postinst	2010-05-26 16:08:33 +0000
@@ -0,0 +1,162 @@
+#!/bin/sh -e
+MYSQL="/usr/share/mythtv/sql/mythtv*.sql"
+MYSQLCONFIG="/etc/mysql/conf.d/mythtv.cnf"
+FSTAB="/etc/fstab"
+NEWIP="127.0.0.1"
+LOCALHOSTNAME=`cat /etc/hostname`
+
+prepare_database() {
+
+    #Preload tables and default values
+    cat $MYSQL | sed -e "s/Terra/Mythbuntu/g; s/OLDHOSTNAME/$LOCALHOSTNAME/g; s/127.0.0.1/$NEWIP/g; s/blueosd/BlackCurves-OSD/g" |\
+        mysql $SECURITY_INFO $database
+
+    #Set up local IP and hostname
+    if ! echo "UPDATE settings SET data = '$NEWIP' WHERE settings.value = 'BackendServerIP' AND settings.hostname = '$LOCALHOSTNAME';" | \
+        mysql $SECURITY_INFO "$database" >/dev/null 2>&1; then
+        fail_database
+    fi
+
+    #Set up master IP and hostname
+    if ! echo "UPDATE settings SET data = '$NEWIP' WHERE settings.value = 'MasterServerIP';" | \
+        mysql $SECURITY_INFO "$database" >/dev/null 2>&1; then
+        fail_database
+    fi
+}
+
+#Used to fail at some point but not abort postinst
+fail_database() {
+    echo "Failed to create or modify database (incorrect admin username/password?)" >&2
+    echo "Try:" >&2
+    echo "sudo dpkg-reconfigure mythtv-database" >&2
+
+    db_set mythtv/mysql_admin_password ""
+    exit 0
+}
+
+#ask the root password a few times if it's still not working
+ask_root_pw() {
+    db_input high mythtv/mysql_host || true
+    db_input high mythtv/mysql_admin_user || true
+    db_input high mythtv/mysql_admin_password || true
+    db_go || true
+    db_get mythtv/mysql_host
+    hostname="$RET"
+    db_get mythtv/mysql_admin_user
+    admin_username="$RET"
+    db_get mythtv/mysql_admin_password
+    admin_password="$RET"
+    if [ "$admin_password" != "" ]; then
+        admin_password="-p$admin_password"
+    fi
+    SECURITY_INFO="--host=\"$hostname\" --user=\"$admin_username\" $admin_password"
+}
+
+update_database() {
+    #Set up privs for mythtv@localhost
+    if ! echo "GRANT ALL PRIVILEGES ON $database.* TO $mythtv_username@localhost IDENTIFIED BY '$mythtv_password';" | \
+        mysql $SECURITY_INFO "$database" >/dev/null 2>&1; then
+        fail_database
+    fi
+
+    #Set up privs for mythtv@network
+    if ! echo "GRANT ALL PRIVILEGES ON $database.* TO $mythtv_username@'%' IDENTIFIED BY '$mythtv_password';" | \
+        mysql $SECURITY_INFO "$database" >/dev/null 2>&1; then
+        fail_database
+    fi
+}
+
+case "$1" in
+    configure)
+    . /usr/share/debconf/confmodule
+
+    db_get mythtv/mysql_mythtv_dbname
+    database="$RET"
+
+    db_get mythtv/mysql_mythtv_user
+    mythtv_username="$RET"
+
+    db_get mythtv/mysql_mythtv_password
+    mythtv_password="$RET"
+
+    db_get mythtv/mysql_admin_user
+    admin_username="$RET"
+
+    if [ "$admin_username" = "debian-sys-maint" ]; then
+        SECURITY_INFO="--defaults-file=/etc/mysql/debian.cnf"
+    else
+        db_get mythtv/mysql_host
+        hostname="$RET"
+
+        db_get mythtv/mysql_admin_password
+        admin_password="$RET"
+
+        if [ "$admin_password" != "" ]; then
+            admin_password="-p$admin_password"
+        fi
+        SECURITY_INFO="--host=\"$hostname\" --user=\"$admin_username\" $admin_password"
+    fi
+    
+    #If we are running locally, make sure to start mysql first
+    #It's okay if it fails, we'll fall back cleanly later
+    if [ "$hostname" = "localhost" ]; then
+        #redirection of 3 is because of debconf internally using it.
+        if [ -x /usr/sbin/invoke-rc.d ]; then
+            invoke-rc.d mysql start 3> /dev/null || true
+        else
+            /etc/init.d/mysql start 3> /dev/null || true
+        fi
+    fi
+
+    #For database fillings
+    #and mysql binding checks
+    if [ -f "${MYSQLCONFIG}" ]; then
+        db_get mythtv/public_bind
+        if [ $RET = true ]; then
+            NEWIP=`ifconfig | grep "inet addr:" | grep --invert-match 127.0.0.1 | sed ' s/inet addr://g; s/^[ \t]*//;s/[ \t]*$//; q;' | awk '{print $1}'`
+            sed -i -e 's/^#bind/bind/' ${MYSQLCONFIG}
+        else
+            sed -i -e 's/^bind/#bind/' ${MYSQLCONFIG}
+        fi
+    fi
+
+    #Check for existing database
+    if ! echo "SELECT NULL;" | mysql $SECURITY_INFO "$database" >/dev/null 2>&1; then
+        #No existing database, create a database
+        i=1
+        while ! echo "CREATE DATABASE $database;" | mysql $SECURITY_INFO ; do
+#>/dev/null 2>&1; do
+            if [ $i -ge 5 ]; then
+                fail_database
+            fi
+            ask_root_pw
+            i=$(($i+1))
+        done
+    fi
+
+    #Preload tables
+    if ! echo "SELECT value FROM settings LIMIT 1, 1;" | mysql $SECURITY_INFO "$database" >/dev/null 2>&1; then
+        prepare_database
+    fi
+
+    #Update Permissions
+    update_database
+
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+    echo "postinst called with unknown argument \`$1'" >&2
+    db_set mythtv/mysql_admin_password ""
+    db_set mythtv/mysql_mythtv_password ""
+    exit 1
+    ;;
+esac
+
+#DEBHELPER#
+
+db_set mythtv/mysql_admin_password ""
+db_set mythtv/mysql_mythtv_password ""
+exit 0

=== added file 'debian/mythtv-database.templates'
--- debian/mythtv-database.templates	1970-01-01 00:00:00 +0000
+++ debian/mythtv-database.templates	2010-05-26 16:08:33 +0000
@@ -0,0 +1,30 @@
+Template: mythtv/mysql_admin_user
+Type: string
+Default: root
+_Description: MySQL administrator account:
+ This information will be used to create a database and user for MythTV.
+ .
+ Unless you have explicitly changed this on the MySQL server, and
+ understand MySQL's privilege system, use the default of 'root'.
+
+Template: mythtv/mysql_admin_password
+Type: password
+_Description: Password for the MySQL administrator account '${user}':
+ This information will be used to create a database and user for MythTV.
+ .
+ Unless you have explicitly changed the password on the MySQL server, leave
+ this blank.
+
+Template: mythtv/public_bind
+Type: boolean
+Default: false
+_Description: Will other computers run MythTV?
+ If any other computers (that includes other Front End machines) with MythTV
+ will be used, this computer needs to be configured to allow remote connections.
+ .
+ Note that this is a security risk, as both the MythTV and MySQL services
+ will be exposed. Be sure to place this machine behind a firewall.
+ .
+ If multiple interfaces are used, the first one listed in 'ifconfig' will be
+ used.
+

=== added file 'debian/mythtv-doc.docs'
--- debian/mythtv-doc.docs	1970-01-01 00:00:00 +0000
+++ debian/mythtv-doc.docs	2010-05-26 16:08:33 +0000
@@ -0,0 +1,6 @@
+README
+AUTHORS
+FAQ
+UPGRADING
+keys.txt
+docs/mythtv-HOWTO*

=== added file 'debian/mythtv-doc.examples'
--- debian/mythtv-doc.examples	1970-01-01 00:00:00 +0000
+++ debian/mythtv-doc.examples	2010-05-26 16:08:33 +0000
@@ -0,0 +1,1 @@
+contrib/config_files/*

=== added file 'debian/mythtv-frontend.config'
--- debian/mythtv-frontend.config	1970-01-01 00:00:00 +0000
+++ debian/mythtv-frontend.config	2010-05-26 16:08:33 +0000
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+
+. /usr/share/debconf/confmodule
+
+# Do nothing, but keep this script here to avoid no-debconf-config lintian
+# errors
+
+exit 0

=== added file 'debian/mythtv-frontend.dirs'
--- debian/mythtv-frontend.dirs	1970-01-01 00:00:00 +0000
+++ debian/mythtv-frontend.dirs	2010-05-26 16:08:33 +0000
@@ -0,0 +1,1 @@
+var/log/mythtv

=== added file 'debian/mythtv-frontend.install'
--- debian/mythtv-frontend.install	1970-01-01 00:00:00 +0000
+++ debian/mythtv-frontend.install	2010-05-26 16:08:33 +0000
@@ -0,0 +1,14 @@
+#Come from make install
+usr/bin/mythfrontend.real
+usr/bin/mythlcdserver
+usr/bin/mythreplex
+usr/bin/mythavtest
+usr/bin/mythtvosd
+usr/bin/mythwelcome
+usr/lib/mythtv/filters
+usr/share/mythtv/i18n/mythfrontend_*
+
+#Stuff we add from debian/
+debian/mythtv.desktop usr/share/applications
+debian/mythfrontend.sh usr/share/mythtv
+debian/session-settings etc/mythtv

=== added file 'debian/mythtv-frontend.links'
--- debian/mythtv-frontend.links	1970-01-01 00:00:00 +0000
+++ debian/mythtv-frontend.links	2010-05-26 16:08:33 +0000
@@ -0,0 +1,1 @@
+usr/share/mythtv/mythfrontend.sh usr/bin/mythfrontend

=== added file 'debian/mythtv-frontend.logrotate'
--- debian/mythtv-frontend.logrotate	1970-01-01 00:00:00 +0000
+++ debian/mythtv-frontend.logrotate	2010-05-26 16:08:33 +0000
@@ -0,0 +1,18 @@
+/var/log/mythtv/mythfrontend.log {
+        daily
+	size=10M
+        rotate 7
+        notifempty
+        copytruncate
+	missingok
+}
+
+/var/log/mythtv/mythwelcome.log {
+        daily
+	size=10M
+        rotate 7
+        notifempty
+        copytruncate
+        missingok
+}
+

=== added file 'debian/mythtv-frontend.menu'
--- debian/mythtv-frontend.menu	1970-01-01 00:00:00 +0000
+++ debian/mythtv-frontend.menu	2010-05-26 16:08:33 +0000
@@ -0,0 +1,2 @@
+?package(mythtv-frontend):needs="X11" section="Applications/Graphics" \
+  title="MythTV" command="/usr/bin/mythfrontend"

=== added file 'debian/mythtv-frontend.postinst'
--- debian/mythtv-frontend.postinst	1970-01-01 00:00:00 +0000
+++ debian/mythtv-frontend.postinst	2010-05-26 16:08:33 +0000
@@ -0,0 +1,30 @@
+#!/bin/sh -e
+
+case "$1" in
+    configure)
+        . /usr/share/debconf/confmodule
+
+        # Unregister questions we used to ask
+        db_unregister mythtv/server_host || true
+        db_unregister mythtv/server_port || true
+
+        if ! dpkg-statoverride --list /var/log/mythtv >/dev/null; then
+            chown mythtv:mythtv /var/log/mythtv
+            chmod 2775 "/var/log/mythtv"
+        fi
+
+        ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+
+        ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+        ;;
+esac
+
+#DEBHELPER#
+
+exit 0

=== added file 'debian/mythtv-frontend.templates'
--- debian/mythtv-frontend.templates	1970-01-01 00:00:00 +0000
+++ debian/mythtv-frontend.templates	2010-05-26 16:08:33 +0000
@@ -0,0 +1,9 @@
+Template: mythtv/server_host
+Type: string
+Default: localhost
+_Description: Hostname of the system where the MythTV backend is installed:
+
+Template: mythtv/server_port
+Type: string
+Default: 6543
+_Description: Port number the MythTV server is listening on:

=== added file 'debian/mythtv-setup.desktop'
--- debian/mythtv-setup.desktop	1970-01-01 00:00:00 +0000
+++ debian/mythtv-setup.desktop	2010-05-26 16:08:33 +0000
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=MythTV Backend Setup
+Comment=Used to configure a backend
+GenericName=mythtv-setup
+Exec=mythtv-setup
+Type=Application
+Encoding=UTF-8
+Icon=/usr/share/mythtv/themes/MythCenter-wide/ui/mythtv_logo.png
+Categories=GTK;System;Settings
+X-AppInstall-Package=mythtv

=== added file 'debian/mythtv-setup.sh'
--- debian/mythtv-setup.sh	1970-01-01 00:00:00 +0000
+++ debian/mythtv-setup.sh	2010-05-26 16:08:33 +0000
@@ -0,0 +1,38 @@
+#!/bin/sh
+# Mario Limonciello, March 2007
+
+#source our dialog functions
+. /usr/share/mythtv/dialog_functions.sh
+
+#find the session, dialog and su manager we will be using for display
+find_session
+find_dialog
+find_su
+
+#check that we are in the mythtv group
+check_groups
+
+#if group membership is okay, go ahead and continue
+if [ "$IGNORE_NOT" = "0" ]; then
+
+	dialog_question "MythTV Setup Preparation" "Mythbackend must be closed before continuing.\nIs it OK to close any currently running mythbackend processes?"
+	CLOSE_NOT=$?
+	if [ "$CLOSE_NOT" = "0" ]; then
+		if [ "$DE" = "kde" ]; then
+			$SU_TYPE stop mythtv-backend
+		else
+			$SU_TYPE stop mythtv-backend --message "Please enter your current login password to stop mythtv-backend."
+		fi
+		xterm -title "MythTV Setup Terminal" -e taskset -c 0 /usr/bin/mythtv-setup.real "$@"
+		if [ "$DE" = "kde" ]; then
+			$SU_TYPE start mythtv-backend
+		else
+			$SU_TYPE start mythtv-backend --message "Please enter your current login password to start mythtv-backend."
+		fi
+		dialog_question "Fill Database?" "Would you like to run mythfilldatabase?"
+		DATABASE_NOT=$?
+		if [ "$DATABASE_NOT" = "0" ]; then
+			xterm -title "Running mythfilldatabase" -e "unset DISPLAY && unset SESSION_MANAGER && mythfilldatabase; sleep 3"
+		fi
+	fi
+fi

=== added file 'debian/mythtv-transcode-utils.install'
--- debian/mythtv-transcode-utils.install	1970-01-01 00:00:00 +0000
+++ debian/mythtv-transcode-utils.install	2010-05-26 16:08:33 +0000
@@ -0,0 +1,1 @@
+usr/bin/mythtranscode

=== added file 'debian/mythtv.cnf'
--- debian/mythtv.cnf	1970-01-01 00:00:00 +0000
+++ debian/mythtv.cnf	2010-05-26 16:08:33 +0000
@@ -0,0 +1,2 @@
+[mysqld]
+#bind-address=0.0.0.0

=== added file 'debian/mythtv.desktop'
--- debian/mythtv.desktop	1970-01-01 00:00:00 +0000
+++ debian/mythtv.desktop	2010-05-26 16:08:33 +0000
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=MythTV Frontend
+Comment=A frontend for all content on a mythtv-backend
+GenericName=MythTV Viewer
+Exec=mythfrontend --service
+Type=Application
+Encoding=UTF-8
+Icon=/usr/share/mythtv/themes/MythCenter-wide/ui/mythtv_logo.png
+Categories=GNOME;Application;AudioVideo;Audio;Video
+X-AppInstall-Package=mythtv

=== added file 'debian/mythtv.make'
--- debian/mythtv.make	1970-01-01 00:00:00 +0000
+++ debian/mythtv.make	2010-05-26 16:08:33 +0000
@@ -0,0 +1,42 @@
+#Custom debian/rules snippet used for building MythTV packages that come from svn.mythtv.org
+
+#                 #
+# get-orig-source #
+#                 #
+SVN_PACKAGE+=$(shell dpkg-parsechangelog | sed -rne 's/^Source: *(.*)/\1/p')
+SVN_TYPE+=$(shell dpkg-parsechangelog | sed -rne 's/1://;s/^Version: *.......(.*).....-.*/\1/p')
+SVN_MAJOR_RELEASE+=$(shell dpkg-parsechangelog | sed -rne 's/1://;s/^Version: *..(.*).............-.*/\1/p')
+SVN_MINOR_RELEASE+=$(shell dpkg-parsechangelog | sed -rne 's/1://;s/^Version: *.....(.*)...........-.*/\1/p')
+SVN_REVISION:=$(shell dpkg-parsechangelog | sed -rne 's/1://;s/^Version: *............(.*)-.*/\1/p')
+DELIMITTER+=$(shell dpkg-parsechangelog | sed -rne 's/1://;s/^Version: *......(.*)..........-.*/\1/p')
+
+ifeq "$(SVN_TYPE)" "trunk"
+	SVN_BRANCH+= http://svn.mythtv.org/svn/$(SVN_TYPE)/$(SVN_PACKAGE)
+else
+	SVN_BRANCH+= http://svn.mythtv.org/svn/branches/release-0-$(SVN_MAJOR_RELEASE)-$(SVN_TYPE)/$(SVN_PACKAGE)
+endif
+
+SVN_RELEASE=0.$(SVN_MAJOR_RELEASE).$(SVN_MINOR_RELEASE)
+SUFFIX+="$(DELIMITTER)$(SVN_TYPE)$(SVN_REVISION)"
+TARFILE+=$(SVN_PACKAGE)_$(SVN_RELEASE)$(SUFFIX).orig.tar.gz
+
+get-orig-source:
+	svn export -r $(SVN_REVISION) $(SVN_BRANCH) $(SVN_PACKAGE)-$(SVN_RELEASE)$(SUFFIX)
+	tar czf $(CURDIR)/../$(TARFILE) $(SVN_PACKAGE)-$(SVN_RELEASE)$(SUFFIX)
+	rm -rf $(CURDIR)/$(SVN_PACKAGE)-$(SVN_RELEASE)$(SUFFIX)
+
+info:
+	echo "Package: $(SVN_PACKAGE)" \
+		"Type: $(SVN_TYPE)" \
+		"Major Release: $(SVN_MAJOR_RELEASE)" \
+		"Minor Release: $(SVN_MINOR_RELEASE)" \
+		"Total Release: $(SVN_RELEASE)" \
+		"Rev: $(SVN_REVISION)" \
+		"Delimitter: $(DELIMITTER)" \
+		"Branch: $(SVN_BRANCH)" \
+		"Suffix: $(SUFFIX)" \
+		"Tarfile: $(TARFILE)"
+
+newest-revision:
+	svn info $(SVN_BRANCH) | grep "Last Changed Rev" | awk '{ print $$4 }'
+

=== added file 'debian/mythtv_0.23.0.sql'
--- debian/mythtv_0.23.0.sql	1970-01-01 00:00:00 +0000
+++ debian/mythtv_0.23.0.sql	2010-05-26 16:08:33 +0000
@@ -0,0 +1,3139 @@
+-- MySQL dump 10.13  Distrib 5.1.41, for debian-linux-gnu (i486)
+--
+-- Host: localhost    Database: mythconverg
+-- ------------------------------------------------------
+-- Server version	5.1.41-3ubuntu4
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
+/*!40103 SET TIME_ZONE='+00:00' */;
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+
+--
+-- Table structure for table `archiveitems`
+--
+
+DROP TABLE IF EXISTS `archiveitems`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `archiveitems` (
+  `intid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `type` set('Recording','Video','File') CHARACTER SET latin1 DEFAULT NULL,
+  `title` varchar(128) DEFAULT NULL,
+  `subtitle` varchar(128) DEFAULT NULL,
+  `description` text,
+  `startdate` varchar(30) DEFAULT NULL,
+  `starttime` varchar(30) DEFAULT NULL,
+  `size` bigint(20) unsigned NOT NULL,
+  `filename` text NOT NULL,
+  `hascutlist` tinyint(1) NOT NULL DEFAULT '0',
+  `cutlist` text,
+  `duration` int(10) unsigned NOT NULL DEFAULT '0',
+  `cutduration` int(10) unsigned NOT NULL DEFAULT '0',
+  `videowidth` int(10) unsigned NOT NULL DEFAULT '0',
+  `videoheight` int(10) unsigned NOT NULL DEFAULT '0',
+  `filecodec` varchar(50) NOT NULL DEFAULT '',
+  `videocodec` varchar(50) NOT NULL DEFAULT '',
+  `encoderprofile` varchar(50) NOT NULL DEFAULT 'NONE',
+  PRIMARY KEY (`intid`),
+  KEY `title` (`title`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `archiveitems`
+--
+
+LOCK TABLES `archiveitems` WRITE;
+/*!40000 ALTER TABLE `archiveitems` DISABLE KEYS */;
+/*!40000 ALTER TABLE `archiveitems` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `callsignnetworkmap`
+--
+
+DROP TABLE IF EXISTS `callsignnetworkmap`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `callsignnetworkmap` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `callsign` varchar(20) NOT NULL DEFAULT '',
+  `network` varchar(20) NOT NULL DEFAULT '',
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `callsign` (`callsign`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `callsignnetworkmap`
+--
+
+LOCK TABLES `callsignnetworkmap` WRITE;
+/*!40000 ALTER TABLE `callsignnetworkmap` DISABLE KEYS */;
+/*!40000 ALTER TABLE `callsignnetworkmap` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `capturecard`
+--
+
+DROP TABLE IF EXISTS `capturecard`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `capturecard` (
+  `cardid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `videodevice` varchar(128) DEFAULT NULL,
+  `audiodevice` varchar(128) DEFAULT NULL,
+  `vbidevice` varchar(128) DEFAULT NULL,
+  `cardtype` varchar(32) DEFAULT 'V4L',
+  `defaultinput` varchar(32) DEFAULT 'Television',
+  `audioratelimit` int(11) DEFAULT NULL,
+  `hostname` varchar(64) DEFAULT NULL,
+  `dvb_swfilter` int(11) DEFAULT '0',
+  `dvb_sat_type` int(11) NOT NULL DEFAULT '0',
+  `dvb_wait_for_seqstart` int(11) NOT NULL DEFAULT '1',
+  `skipbtaudio` tinyint(1) DEFAULT '0',
+  `dvb_on_demand` tinyint(4) NOT NULL DEFAULT '0',
+  `dvb_diseqc_type` smallint(6) DEFAULT NULL,
+  `firewire_speed` int(10) unsigned NOT NULL DEFAULT '0',
+  `firewire_model` varchar(32) DEFAULT NULL,
+  `firewire_connection` int(10) unsigned NOT NULL DEFAULT '0',
+  `signal_timeout` int(11) NOT NULL DEFAULT '1000',
+  `channel_timeout` int(11) NOT NULL DEFAULT '3000',
+  `dvb_tuning_delay` int(10) unsigned NOT NULL DEFAULT '0',
+  `contrast` int(11) NOT NULL DEFAULT '0',
+  `brightness` int(11) NOT NULL DEFAULT '0',
+  `colour` int(11) NOT NULL DEFAULT '0',
+  `hue` int(11) NOT NULL DEFAULT '0',
+  `diseqcid` int(10) unsigned DEFAULT NULL,
+  `dvb_eitscan` tinyint(1) NOT NULL DEFAULT '1',
+  PRIMARY KEY (`cardid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `capturecard`
+--
+
+LOCK TABLES `capturecard` WRITE;
+/*!40000 ALTER TABLE `capturecard` DISABLE KEYS */;
+/*!40000 ALTER TABLE `capturecard` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `cardinput`
+--
+
+DROP TABLE IF EXISTS `cardinput`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `cardinput` (
+  `cardinputid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `cardid` int(10) unsigned NOT NULL DEFAULT '0',
+  `sourceid` int(10) unsigned NOT NULL DEFAULT '0',
+  `inputname` varchar(32) NOT NULL DEFAULT '',
+  `externalcommand` varchar(128) DEFAULT NULL,
+  `shareable` char(1) DEFAULT 'N',
+  `tunechan` varchar(10) DEFAULT NULL,
+  `startchan` varchar(10) DEFAULT NULL,
+  `displayname` varchar(64) NOT NULL DEFAULT '',
+  `dishnet_eit` tinyint(1) NOT NULL DEFAULT '0',
+  `recpriority` int(11) NOT NULL DEFAULT '0',
+  `quicktune` tinyint(4) NOT NULL DEFAULT '0',
+  PRIMARY KEY (`cardinputid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `cardinput`
+--
+
+LOCK TABLES `cardinput` WRITE;
+/*!40000 ALTER TABLE `cardinput` DISABLE KEYS */;
+/*!40000 ALTER TABLE `cardinput` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `channel`
+--
+
+DROP TABLE IF EXISTS `channel`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `channel` (
+  `chanid` int(10) unsigned NOT NULL DEFAULT '0',
+  `channum` varchar(10) NOT NULL DEFAULT '',
+  `freqid` varchar(10) DEFAULT NULL,
+  `sourceid` int(10) unsigned DEFAULT NULL,
+  `callsign` varchar(20) NOT NULL DEFAULT '',
+  `name` varchar(64) NOT NULL DEFAULT '',
+  `icon` varchar(255) NOT NULL DEFAULT 'none',
+  `finetune` int(11) DEFAULT NULL,
+  `videofilters` varchar(255) NOT NULL DEFAULT '',
+  `xmltvid` varchar(64) NOT NULL DEFAULT '',
+  `recpriority` int(10) NOT NULL DEFAULT '0',
+  `contrast` int(11) DEFAULT '32768',
+  `brightness` int(11) DEFAULT '32768',
+  `colour` int(11) DEFAULT '32768',
+  `hue` int(11) DEFAULT '32768',
+  `tvformat` varchar(10) NOT NULL DEFAULT 'Default',
+  `visible` tinyint(1) NOT NULL DEFAULT '1',
+  `outputfilters` varchar(255) NOT NULL DEFAULT '',
+  `useonairguide` tinyint(1) DEFAULT '0',
+  `mplexid` smallint(6) DEFAULT NULL,
+  `serviceid` mediumint(8) unsigned DEFAULT NULL,
+  `tmoffset` int(11) NOT NULL DEFAULT '0',
+  `atsc_major_chan` int(10) unsigned NOT NULL DEFAULT '0',
+  `atsc_minor_chan` int(10) unsigned NOT NULL DEFAULT '0',
+  `last_record` datetime NOT NULL,
+  `default_authority` varchar(32) NOT NULL DEFAULT '',
+  `commmethod` int(11) NOT NULL DEFAULT '-1',
+  PRIMARY KEY (`chanid`),
+  KEY `channel_src` (`channum`,`sourceid`),
+  KEY `sourceid` (`sourceid`,`xmltvid`,`chanid`),
+  KEY `visible` (`visible`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `channel`
+--
+
+LOCK TABLES `channel` WRITE;
+/*!40000 ALTER TABLE `channel` DISABLE KEYS */;
+/*!40000 ALTER TABLE `channel` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `channelgroup`
+--
+
+DROP TABLE IF EXISTS `channelgroup`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `channelgroup` (
+  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `chanid` int(11) unsigned NOT NULL DEFAULT '0',
+  `grpid` int(11) NOT NULL DEFAULT '1',
+  PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `channelgroup`
+--
+
+LOCK TABLES `channelgroup` WRITE;
+/*!40000 ALTER TABLE `channelgroup` DISABLE KEYS */;
+/*!40000 ALTER TABLE `channelgroup` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `channelgroupnames`
+--
+
+DROP TABLE IF EXISTS `channelgroupnames`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `channelgroupnames` (
+  `grpid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `name` varchar(64) NOT NULL DEFAULT '0',
+  PRIMARY KEY (`grpid`)
+) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `channelgroupnames`
+--
+
+LOCK TABLES `channelgroupnames` WRITE;
+/*!40000 ALTER TABLE `channelgroupnames` DISABLE KEYS */;
+INSERT INTO `channelgroupnames` VALUES (1,'Favorites');
+/*!40000 ALTER TABLE `channelgroupnames` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `channelscan`
+--
+
+DROP TABLE IF EXISTS `channelscan`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `channelscan` (
+  `scanid` int(3) unsigned NOT NULL AUTO_INCREMENT,
+  `cardid` int(3) unsigned NOT NULL,
+  `sourceid` int(3) unsigned NOT NULL,
+  `processed` tinyint(1) unsigned NOT NULL,
+  `scandate` datetime NOT NULL,
+  PRIMARY KEY (`scanid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `channelscan`
+--
+
+LOCK TABLES `channelscan` WRITE;
+/*!40000 ALTER TABLE `channelscan` DISABLE KEYS */;
+/*!40000 ALTER TABLE `channelscan` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `channelscan_channel`
+--
+
+DROP TABLE IF EXISTS `channelscan_channel`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `channelscan_channel` (
+  `transportid` int(6) unsigned NOT NULL,
+  `scanid` int(3) unsigned NOT NULL,
+  `mplex_id` smallint(6) NOT NULL,
+  `source_id` int(3) unsigned NOT NULL,
+  `channel_id` int(3) unsigned NOT NULL DEFAULT '0',
+  `callsign` varchar(20) NOT NULL DEFAULT '',
+  `service_name` varchar(64) NOT NULL DEFAULT '',
+  `chan_num` varchar(10) NOT NULL DEFAULT '',
+  `service_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
+  `atsc_major_channel` int(4) unsigned NOT NULL DEFAULT '0',
+  `atsc_minor_channel` int(4) unsigned NOT NULL DEFAULT '0',
+  `use_on_air_guide` tinyint(1) NOT NULL DEFAULT '0',
+  `hidden` tinyint(1) NOT NULL DEFAULT '0',
+  `hidden_in_guide` tinyint(1) NOT NULL DEFAULT '0',
+  `freqid` varchar(10) NOT NULL DEFAULT '',
+  `icon` varchar(255) NOT NULL DEFAULT '',
+  `tvformat` varchar(10) NOT NULL DEFAULT 'Default',
+  `xmltvid` varchar(64) NOT NULL DEFAULT '',
+  `pat_tsid` int(5) unsigned NOT NULL DEFAULT '0',
+  `vct_tsid` int(5) unsigned NOT NULL DEFAULT '0',
+  `vct_chan_tsid` int(5) unsigned NOT NULL DEFAULT '0',
+  `sdt_tsid` int(5) unsigned NOT NULL DEFAULT '0',
+  `orig_netid` int(5) unsigned NOT NULL DEFAULT '0',
+  `netid` int(5) unsigned NOT NULL DEFAULT '0',
+  `si_standard` varchar(10) NOT NULL,
+  `in_channels_conf` tinyint(1) unsigned NOT NULL DEFAULT '0',
+  `in_pat` tinyint(1) unsigned NOT NULL DEFAULT '0',
+  `in_pmt` tinyint(1) unsigned NOT NULL DEFAULT '0',
+  `in_vct` tinyint(1) unsigned NOT NULL DEFAULT '0',
+  `in_nit` tinyint(1) unsigned NOT NULL DEFAULT '0',
+  `in_sdt` tinyint(1) unsigned NOT NULL DEFAULT '0',
+  `is_encrypted` tinyint(1) unsigned NOT NULL DEFAULT '0',
+  `is_data_service` tinyint(1) unsigned NOT NULL DEFAULT '0',
+  `is_audio_service` tinyint(1) unsigned NOT NULL DEFAULT '0',
+  `is_opencable` tinyint(1) unsigned NOT NULL DEFAULT '0',
+  `could_be_opencable` tinyint(1) unsigned NOT NULL DEFAULT '0',
+  `decryption_status` smallint(2) unsigned NOT NULL DEFAULT '0',
+  `default_authority` varchar(32) NOT NULL DEFAULT ''
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `channelscan_channel`
+--
+
+LOCK TABLES `channelscan_channel` WRITE;
+/*!40000 ALTER TABLE `channelscan_channel` DISABLE KEYS */;
+/*!40000 ALTER TABLE `channelscan_channel` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `channelscan_dtv_multiplex`
+--
+
+DROP TABLE IF EXISTS `channelscan_dtv_multiplex`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `channelscan_dtv_multiplex` (
+  `transportid` int(6) unsigned NOT NULL AUTO_INCREMENT,
+  `scanid` int(3) unsigned NOT NULL,
+  `mplexid` smallint(6) unsigned NOT NULL,
+  `frequency` bigint(12) unsigned NOT NULL,
+  `inversion` char(1) NOT NULL DEFAULT 'a',
+  `symbolrate` bigint(12) unsigned NOT NULL DEFAULT '0',
+  `fec` varchar(10) NOT NULL DEFAULT 'auto',
+  `polarity` char(1) NOT NULL DEFAULT '',
+  `hp_code_rate` varchar(10) NOT NULL DEFAULT 'auto',
+  `mod_sys` varchar(10) DEFAULT NULL,
+  `rolloff` varchar(4) DEFAULT NULL,
+  `lp_code_rate` varchar(10) NOT NULL DEFAULT 'auto',
+  `modulation` varchar(10) NOT NULL DEFAULT 'auto',
+  `transmission_mode` char(1) NOT NULL DEFAULT 'a',
+  `guard_interval` varchar(10) NOT NULL DEFAULT 'auto',
+  `hierarchy` varchar(10) NOT NULL DEFAULT 'auto',
+  `bandwidth` char(1) NOT NULL DEFAULT 'a',
+  `sistandard` varchar(10) NOT NULL,
+  `tuner_type` smallint(2) unsigned NOT NULL,
+  `default_authority` varchar(32) NOT NULL DEFAULT '',
+  PRIMARY KEY (`transportid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `channelscan_dtv_multiplex`
+--
+
+LOCK TABLES `channelscan_dtv_multiplex` WRITE;
+/*!40000 ALTER TABLE `channelscan_dtv_multiplex` DISABLE KEYS */;
+/*!40000 ALTER TABLE `channelscan_dtv_multiplex` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `codecparams`
+--
+
+DROP TABLE IF EXISTS `codecparams`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `codecparams` (
+  `profile` int(10) unsigned NOT NULL DEFAULT '0',
+  `name` varchar(128) NOT NULL DEFAULT '',
+  `value` varchar(128) DEFAULT NULL,
+  PRIMARY KEY (`profile`,`name`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `codecparams`
+--
+
+LOCK TABLES `codecparams` WRITE;
+/*!40000 ALTER TABLE `codecparams` DISABLE KEYS */;
+/*!40000 ALTER TABLE `codecparams` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `credits`
+--
+
+DROP TABLE IF EXISTS `credits`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `credits` (
+  `person` mediumint(8) unsigned NOT NULL DEFAULT '0',
+  `chanid` int(10) unsigned NOT NULL DEFAULT '0',
+  `starttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `role` set('actor','director','producer','executive_producer','writer','guest_star','host','adapter','presenter','commentator','guest') CHARACTER SET latin1 NOT NULL DEFAULT '',
+  UNIQUE KEY `chanid` (`chanid`,`starttime`,`person`,`role`),
+  KEY `person` (`person`,`role`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `credits`
+--
+
+LOCK TABLES `credits` WRITE;
+/*!40000 ALTER TABLE `credits` DISABLE KEYS */;
+/*!40000 ALTER TABLE `credits` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `customexample`
+--
+
+DROP TABLE IF EXISTS `customexample`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `customexample` (
+  `rulename` varchar(64) NOT NULL,
+  `fromclause` text NOT NULL,
+  `whereclause` text NOT NULL,
+  `search` tinyint(4) NOT NULL DEFAULT '0',
+  PRIMARY KEY (`rulename`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `customexample`
+--
+
+LOCK TABLES `customexample` WRITE;
+/*!40000 ALTER TABLE `customexample` DISABLE KEYS */;
+INSERT INTO `customexample` VALUES ('New Flix','','program.category_type = \'movie\' AND program.airdate >= \n     YEAR(DATE_SUB(NOW(), INTERVAL 1 YEAR)) \nAND program.stars > 0.5 ',1);
+/*!40000 ALTER TABLE `customexample` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `diseqc_config`
+--
+
+DROP TABLE IF EXISTS `diseqc_config`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `diseqc_config` (
+  `cardinputid` int(10) unsigned NOT NULL,
+  `diseqcid` int(10) unsigned NOT NULL,
+  `value` varchar(16) NOT NULL DEFAULT '',
+  KEY `id` (`cardinputid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `diseqc_config`
+--
+
+LOCK TABLES `diseqc_config` WRITE;
+/*!40000 ALTER TABLE `diseqc_config` DISABLE KEYS */;
+/*!40000 ALTER TABLE `diseqc_config` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `diseqc_tree`
+--
+
+DROP TABLE IF EXISTS `diseqc_tree`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `diseqc_tree` (
+  `diseqcid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `parentid` int(10) unsigned DEFAULT NULL,
+  `ordinal` tinyint(3) unsigned NOT NULL,
+  `type` varchar(16) NOT NULL DEFAULT '',
+  `subtype` varchar(16) NOT NULL DEFAULT '',
+  `description` varchar(32) NOT NULL DEFAULT '',
+  `switch_ports` tinyint(3) unsigned NOT NULL DEFAULT '0',
+  `rotor_hi_speed` float NOT NULL DEFAULT '0',
+  `rotor_lo_speed` float NOT NULL DEFAULT '0',
+  `rotor_positions` varchar(255) NOT NULL DEFAULT '',
+  `lnb_lof_switch` int(10) NOT NULL DEFAULT '0',
+  `lnb_lof_hi` int(10) NOT NULL DEFAULT '0',
+  `lnb_lof_lo` int(10) NOT NULL DEFAULT '0',
+  `cmd_repeat` int(11) NOT NULL DEFAULT '1',
+  `lnb_pol_inv` tinyint(4) NOT NULL DEFAULT '0',
+  `address` tinyint(3) unsigned NOT NULL DEFAULT '0',
+  PRIMARY KEY (`diseqcid`),
+  KEY `parentid` (`parentid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `diseqc_tree`
+--
+
+LOCK TABLES `diseqc_tree` WRITE;
+/*!40000 ALTER TABLE `diseqc_tree` DISABLE KEYS */;
+/*!40000 ALTER TABLE `diseqc_tree` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `displayprofilegroups`
+--
+
+DROP TABLE IF EXISTS `displayprofilegroups`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `displayprofilegroups` (
+  `name` varchar(128) NOT NULL,
+  `hostname` varchar(64) NOT NULL,
+  `profilegroupid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  PRIMARY KEY (`name`,`hostname`),
+  UNIQUE KEY `profilegroupid` (`profilegroupid`)
+) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `displayprofilegroups`
+--
+
+LOCK TABLES `displayprofilegroups` WRITE;
+/*!40000 ALTER TABLE `displayprofilegroups` DISABLE KEYS */;
+INSERT INTO `displayprofilegroups` VALUES ('CPU++','OLDHOSTNAME',1),('CPU+','OLDHOSTNAME',2),('CPU--','OLDHOSTNAME',3),('High Quality','OLDHOSTNAME',4),('Normal','OLDHOSTNAME',5),('Slim','OLDHOSTNAME',6),('VDPAU High Quality','OLDHOSTNAME',7),('VDPAU Normal','OLDHOSTNAME',8),('VDPAU Slim','OLDHOSTNAME',9);
+/*!40000 ALTER TABLE `displayprofilegroups` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `displayprofiles`
+--
+
+DROP TABLE IF EXISTS `displayprofiles`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `displayprofiles` (
+  `profilegroupid` int(10) unsigned NOT NULL,
+  `profileid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `value` varchar(128) NOT NULL,
+  `data` varchar(255) NOT NULL DEFAULT '',
+  KEY `profilegroupid` (`profilegroupid`),
+  KEY `profileid` (`profileid`,`value`),
+  KEY `profileid_2` (`profileid`)
+) ENGINE=MyISAM AUTO_INCREMENT=29 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `displayprofiles`
+--
+
+LOCK TABLES `displayprofiles` WRITE;
+/*!40000 ALTER TABLE `displayprofiles` DISABLE KEYS */;
+INSERT INTO `displayprofiles` VALUES (1,1,'pref_priority','1'),(1,1,'pref_cmp0','> 0 0'),(1,1,'pref_decoder','ffmpeg'),(1,1,'pref_max_cpus','1'),(1,1,'pref_videorenderer','xv-blit'),(1,1,'pref_osdrenderer','softblend'),(1,1,'pref_osdfade','1'),(1,1,'pref_deint0','bobdeint'),(1,1,'pref_deint1','linearblend'),(1,1,'pref_filters',''),(1,2,'pref_priority','2'),(1,2,'pref_cmp0','> 0 0'),(1,2,'pref_decoder','ffmpeg'),(1,2,'pref_max_cpus','1'),(1,2,'pref_videorenderer','quartz-blit'),(1,2,'pref_osdrenderer','softblend'),(1,2,'pref_osdfade','1'),(1,2,'pref_deint0','linearblend'),(1,2,'pref_deint1','linearblend'),(1,2,'pref_filters',''),(2,3,'pref_priority','1'),(2,3,'pref_cmp0','<= 720 576'),(2,3,'pref_cmp1','> 0 0'),(2,3,'pref_decoder','ffmpeg'),(2,3,'pref_max_cpus','1'),(2,3,'pref_videorenderer','xv-blit'),(2,3,'pref_osdrenderer','softblend'),(2,3,'pref_osdfade','1'),(2,3,'pref_deint0','bobdeint'),(2,3,'pref_deint1','linearblend'),(2,3,'pref_filters',''),(2,4,'pref_priority','2'),(2,4,'pref_cmp0','<= 1280 720'),(2,4,'pref_cmp1','> 720 576'),(2,4,'pref_decoder','xvmc'),(2,4,'pref_max_cpus','1'),(2,4,'pref_videorenderer','xvmc-blit'),(2,4,'pref_osdrenderer','opengl'),(2,4,'pref_osdfade','1'),(2,4,'pref_deint0','bobdeint'),(2,4,'pref_deint1','onefield'),(2,4,'pref_filters',''),(2,5,'pref_priority','3'),(2,5,'pref_cmp0','<= 1280 720'),(2,5,'pref_cmp1','> 720 576'),(2,5,'pref_decoder','libmpeg2'),(2,5,'pref_max_cpus','1'),(2,5,'pref_videorenderer','xv-blit'),(2,5,'pref_osdrenderer','softblend'),(2,5,'pref_osdfade','1'),(2,5,'pref_deint0','bobdeint'),(2,5,'pref_deint1','onefield'),(2,5,'pref_filters',''),(2,6,'pref_priority','4'),(2,6,'pref_cmp0','> 0 0'),(2,6,'pref_decoder','xvmc'),(2,6,'pref_max_cpus','1'),(2,6,'pref_videorenderer','xvmc-blit'),(2,6,'pref_osdrenderer','ia44blend'),(2,6,'pref_osdfade','0'),(2,6,'pref_deint0','bobdeint'),(2,6,'pref_deint1','onefield'),(2,6,'pref_filters',''),(2,7,'pref_priority','5'),(2,7,'pref_cmp0','> 0 0'),(2,7,'pref_decoder','libmpeg2'),(2,7,'pref_max_cpus','1'),(2,7,'pref_videorenderer','xv-blit'),(2,7,'pref_osdrenderer','chromakey'),(2,7,'pref_osdfade','0'),(2,7,'pref_deint0','bobdeint'),(2,7,'pref_deint1','onefield'),(2,7,'pref_filters',''),(3,8,'pref_priority','1'),(3,8,'pref_cmp0','<= 720 576'),(3,8,'pref_cmp1','> 0 0'),(3,8,'pref_decoder','ivtv'),(3,8,'pref_max_cpus','1'),(3,8,'pref_videorenderer','ivtv'),(3,8,'pref_osdrenderer','ivtv'),(3,8,'pref_osdfade','1'),(3,8,'pref_deint0','none'),(3,8,'pref_deint1','none'),(3,8,'pref_filters',''),(3,9,'pref_priority','2'),(3,9,'pref_cmp0','<= 720 576'),(3,9,'pref_cmp1','> 0 0'),(3,9,'pref_decoder','xvmc'),(3,9,'pref_max_cpus','1'),(3,9,'pref_videorenderer','xvmc-blit'),(3,9,'pref_osdrenderer','ia44blend'),(3,9,'pref_osdfade','0'),(3,9,'pref_deint0','bobdeint'),(3,9,'pref_deint1','onefield'),(3,9,'pref_filters',''),(3,10,'pref_priority','3'),(3,10,'pref_cmp0','<= 1280 720'),(3,10,'pref_cmp1','> 720 576'),(3,10,'pref_decoder','xvmc'),(3,10,'pref_max_cpus','1'),(3,10,'pref_videorenderer','xvmc-blit'),(3,10,'pref_osdrenderer','ia44blend'),(3,10,'pref_osdfade','0'),(3,10,'pref_deint0','bobdeint'),(3,10,'pref_deint1','onefield'),(3,10,'pref_filters',''),(3,11,'pref_priority','4'),(3,11,'pref_cmp0','> 0 0'),(3,11,'pref_decoder','xvmc'),(3,11,'pref_max_cpus','1'),(3,11,'pref_videorenderer','xvmc-blit'),(3,11,'pref_osdrenderer','ia44blend'),(3,11,'pref_osdfade','0'),(3,11,'pref_deint0','bobdeint'),(3,11,'pref_deint1','onefield'),(3,11,'pref_filters',''),(3,12,'pref_priority','5'),(3,12,'pref_cmp0','> 0 0'),(3,12,'pref_decoder','libmpeg2'),(3,12,'pref_max_cpus','1'),(3,12,'pref_videorenderer','xv-blit'),(3,12,'pref_osdrenderer','chromakey'),(3,12,'pref_osdfade','0'),(3,12,'pref_deint0','none'),(3,12,'pref_deint1','none'),(3,12,'pref_filters',''),(4,13,'pref_priority','1'),(4,13,'pref_cmp0','>= 1920 1080'),(4,13,'pref_decoder','ffmpeg'),(4,13,'pref_max_cpus','2'),(4,13,'pref_videorenderer','xv-blit'),(4,13,'pref_osdrenderer','softblend'),(4,13,'pref_osdfade','1'),(4,13,'pref_deint0','linearblend'),(4,13,'pref_deint1','linearblend'),(4,13,'pref_filters',''),(4,14,'pref_priority','2'),(4,14,'pref_cmp0','> 0 0'),(4,14,'pref_decoder','ffmpeg'),(4,14,'pref_max_cpus','1'),(4,14,'pref_videorenderer','xv-blit'),(4,14,'pref_osdrenderer','softblend'),(4,14,'pref_osdfade','1'),(4,14,'pref_deint0','yadifdoubleprocessdeint'),(4,14,'pref_deint1','yadifdeint'),(4,14,'pref_filters',''),(4,15,'pref_priority','3'),(4,15,'pref_cmp0','>= 1920 1080'),(4,15,'pref_decoder','ffmpeg'),(4,15,'pref_max_cpus','2'),(4,15,'pref_videorenderer','quartz-blit'),(4,15,'pref_osdrenderer','softblend'),(4,15,'pref_osdfade','1'),(4,15,'pref_deint0','linearblend'),(4,15,'pref_deint1','linearblend'),(4,15,'pref_filters',''),(4,16,'pref_priority','4'),(4,16,'pref_cmp0','> 0 0'),(4,16,'pref_decoder','ffmpeg'),(4,16,'pref_max_cpus','1'),(4,16,'pref_videorenderer','quartz-blit'),(4,16,'pref_osdrenderer','softblend'),(4,16,'pref_osdfade','1'),(4,16,'pref_deint0','yadifdoubleprocessdeint'),(4,16,'pref_deint1','yadifdeint'),(4,16,'pref_filters',''),(5,17,'pref_priority','1'),(5,17,'pref_cmp0','>= 1280 720'),(5,17,'pref_decoder','ffmpeg'),(5,17,'pref_max_cpus','1'),(5,17,'pref_videorenderer','xv-blit'),(5,17,'pref_osdrenderer','softblend'),(5,17,'pref_osdfade','0'),(5,17,'pref_deint0','linearblend'),(5,17,'pref_deint1','linearblend'),(5,17,'pref_filters',''),(5,18,'pref_priority','2'),(5,18,'pref_cmp0','> 0 0'),(5,18,'pref_decoder','ffmpeg'),(5,18,'pref_max_cpus','1'),(5,18,'pref_videorenderer','xv-blit'),(5,18,'pref_osdrenderer','softblend'),(5,18,'pref_osdfade','1'),(5,18,'pref_deint0','greedyhdoubleprocessdeint'),(5,18,'pref_deint1','kerneldeint'),(5,18,'pref_filters',''),(5,19,'pref_priority','3'),(5,19,'pref_cmp0','>= 1280 720'),(5,19,'pref_decoder','ffmpeg'),(5,19,'pref_max_cpus','1'),(5,19,'pref_videorenderer','quartz-blit'),(5,19,'pref_osdrenderer','softblend'),(5,19,'pref_osdfade','0'),(5,19,'pref_deint0','linearblend'),(5,19,'pref_deint1','linearblend'),(5,19,'pref_filters',''),(5,20,'pref_priority','4'),(5,20,'pref_cmp0','> 0 0'),(5,20,'pref_decoder','ffmpeg'),(5,20,'pref_max_cpus','1'),(5,20,'pref_videorenderer','quartz-blit'),(5,20,'pref_osdrenderer','softblend'),(5,20,'pref_osdfade','1'),(5,20,'pref_deint0','greedyhdoubleprocessdeint'),(5,20,'pref_deint1','kerneldeint'),(5,20,'pref_filters',''),(6,21,'pref_priority','1'),(6,21,'pref_cmp0','>= 1280 720'),(6,21,'pref_decoder','ffmpeg'),(6,21,'pref_max_cpus','1'),(6,21,'pref_videorenderer','xv-blit'),(6,21,'pref_osdrenderer','softblend'),(6,21,'pref_osdfade','0'),(6,21,'pref_deint0','onefield'),(6,21,'pref_deint1','onefield'),(6,21,'pref_filters',''),(6,22,'pref_priority','2'),(6,22,'pref_cmp0','> 0 0'),(6,22,'pref_decoder','ffmpeg'),(6,22,'pref_max_cpus','1'),(6,22,'pref_videorenderer','xv-blit'),(6,22,'pref_osdrenderer','softblend'),(6,22,'pref_osdfade','1'),(6,22,'pref_deint0','linearblend'),(6,22,'pref_deint1','linearblend'),(6,22,'pref_filters',''),(6,23,'pref_priority','3'),(6,23,'pref_cmp0','>= 1280 720'),(6,23,'pref_decoder','ffmpeg'),(6,23,'pref_max_cpus','1'),(6,23,'pref_videorenderer','quartz-blit'),(6,23,'pref_osdrenderer','softblend'),(6,23,'pref_osdfade','0'),(6,23,'pref_deint0','onefield'),(6,23,'pref_deint1','onefield'),(6,23,'pref_filters',''),(6,24,'pref_priority','4'),(6,24,'pref_cmp0','> 0 0'),(6,24,'pref_decoder','ffmpeg'),(6,24,'pref_max_cpus','1'),(6,24,'pref_videorenderer','quartz-blit'),(6,24,'pref_osdrenderer','softblend'),(6,24,'pref_osdfade','1'),(6,24,'pref_deint0','linearblend'),(6,24,'pref_deint1','linearblend'),(6,24,'pref_filters',''),(7,25,'pref_priority','1'),(7,25,'pref_cmp0','> 0 0'),(7,25,'pref_decoder','vdpau'),(7,25,'pref_max_cpus','1'),(7,25,'pref_videorenderer','vdpau'),(7,25,'pref_osdrenderer','vdpau'),(7,25,'pref_osdfade','1'),(7,25,'pref_deint0','vdpauadvanceddoublerate'),(7,25,'pref_deint1','vdpauadvanced'),(7,25,'pref_filters',''),(8,26,'pref_priority','1'),(8,26,'pref_cmp0','>= 0 720'),(8,26,'pref_decoder','vdpau'),(8,26,'pref_max_cpus','1'),(8,26,'pref_videorenderer','vdpau'),(8,26,'pref_osdrenderer','vdpau'),(8,26,'pref_osdfade','1'),(8,26,'pref_deint0','vdpaubasicdoublerate'),(8,26,'pref_deint1','vdpaubasic'),(8,26,'pref_filters',''),(8,27,'pref_priority','2'),(8,27,'pref_cmp0','> 0 0'),(8,27,'pref_decoder','vdpau'),(8,27,'pref_max_cpus','1'),(8,27,'pref_videorenderer','vdpau'),(8,27,'pref_osdrenderer','vdpau'),(8,27,'pref_osdfade','1'),(8,27,'pref_deint0','vdpauadvanceddoublerate'),(8,27,'pref_deint1','vdpauadvanced'),(8,27,'pref_filters',''),(9,28,'pref_priority','1'),(9,28,'pref_cmp0','> 0 0'),(9,28,'pref_decoder','vdpau'),(9,28,'pref_max_cpus','1'),(9,28,'pref_videorenderer','vdpau'),(9,28,'pref_osdrenderer','vdpau'),(9,28,'pref_osdfade','0'),(9,28,'pref_deint0','vdpaubobdeint'),(9,28,'pref_deint1','vdpauonefield'),(9,28,'pref_filters','vdpauskipchroma');
+/*!40000 ALTER TABLE `displayprofiles` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `dtv_multiplex`
+--
+
+DROP TABLE IF EXISTS `dtv_multiplex`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `dtv_multiplex` (
+  `mplexid` smallint(6) NOT NULL AUTO_INCREMENT,
+  `sourceid` smallint(6) DEFAULT NULL,
+  `transportid` int(11) DEFAULT NULL,
+  `networkid` int(11) DEFAULT NULL,
+  `frequency` int(11) DEFAULT NULL,
+  `inversion` char(1) DEFAULT 'a',
+  `symbolrate` int(11) DEFAULT NULL,
+  `fec` varchar(10) DEFAULT 'auto',
+  `polarity` char(1) DEFAULT NULL,
+  `modulation` varchar(10) DEFAULT 'auto',
+  `bandwidth` char(1) DEFAULT 'a',
+  `lp_code_rate` varchar(10) DEFAULT 'auto',
+  `transmission_mode` char(1) DEFAULT 'a',
+  `guard_interval` varchar(10) DEFAULT 'auto',
+  `visible` smallint(1) NOT NULL DEFAULT '0',
+  `constellation` varchar(10) DEFAULT 'auto',
+  `hierarchy` varchar(10) DEFAULT 'auto',
+  `hp_code_rate` varchar(10) DEFAULT 'auto',
+  `mod_sys` varchar(10) DEFAULT NULL,
+  `rolloff` varchar(4) DEFAULT NULL,
+  `sistandard` varchar(10) DEFAULT 'dvb',
+  `serviceversion` smallint(6) DEFAULT '33',
+  `updatetimestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+  `default_authority` varchar(32) NOT NULL DEFAULT '',
+  PRIMARY KEY (`mplexid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `dtv_multiplex`
+--
+
+LOCK TABLES `dtv_multiplex` WRITE;
+/*!40000 ALTER TABLE `dtv_multiplex` DISABLE KEYS */;
+/*!40000 ALTER TABLE `dtv_multiplex` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `dtv_privatetypes`
+--
+
+DROP TABLE IF EXISTS `dtv_privatetypes`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `dtv_privatetypes` (
+  `sitype` varchar(4) NOT NULL DEFAULT '',
+  `networkid` int(11) NOT NULL DEFAULT '0',
+  `private_type` varchar(20) NOT NULL DEFAULT '',
+  `private_value` varchar(100) NOT NULL DEFAULT ''
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `dtv_privatetypes`
+--
+
+LOCK TABLES `dtv_privatetypes` WRITE;
+/*!40000 ALTER TABLE `dtv_privatetypes` DISABLE KEYS */;
+INSERT INTO `dtv_privatetypes` VALUES ('dvb',9018,'channel_numbers','131'),('dvb',9018,'guide_fixup','2'),('dvb',256,'guide_fixup','1'),('dvb',257,'guide_fixup','1'),('dvb',256,'tv_types','1,150,134,133'),('dvb',257,'tv_types','1,150,134,133'),('dvb',4100,'sdt_mapping','1'),('dvb',4101,'sdt_mapping','1'),('dvb',4102,'sdt_mapping','1'),('dvb',4103,'sdt_mapping','1'),('dvb',4104,'sdt_mapping','1'),('dvb',4105,'sdt_mapping','1'),('dvb',4106,'sdt_mapping','1'),('dvb',4107,'sdt_mapping','1'),('dvb',4097,'sdt_mapping','1'),('dvb',4098,'sdt_mapping','1'),('dvb',4100,'tv_types','1,145,154'),('dvb',4101,'tv_types','1,145,154'),('dvb',4102,'tv_types','1,145,154'),('dvb',4103,'tv_types','1,145,154'),('dvb',4104,'tv_types','1,145,154'),('dvb',4105,'tv_types','1,145,154'),('dvb',4106,'tv_types','1,145,154'),('dvb',4107,'tv_types','1,145,154'),('dvb',4097,'tv_types','1,145,154'),('dvb',4098,'tv_types','1,145,154'),('dvb',4100,'guide_fixup','1'),('dvb',4101,'guide_fixup','1'),('dvb',4102,'guide_fixup','1'),('dvb',4103,'guide_fixup','1'),('dvb',4104,'guide_fixup','1'),('dvb',4105,'guide_fixup','1'),('dvb',4106,'guide_fixup','1'),('dvb',4107,'guide_fixup','1'),('dvb',4096,'guide_fixup','5'),('dvb',4097,'guide_fixup','1'),('dvb',4098,'guide_fixup','1'),('dvb',94,'tv_types','1,128'),('atsc',1793,'guide_fixup','3'),('dvb',40999,'guide_fixup','4'),('dvb',70,'force_guide_present','yes'),('dvb',70,'guide_ranges','80,80,96,96'),('dvb',4112,'channel_numbers','131'),('dvb',4115,'channel_numbers','131'),('dvb',4116,'channel_numbers','131'),('dvb',12802,'channel_numbers','131'),('dvb',12803,'channel_numbers','131'),('dvb',12829,'channel_numbers','131'),('dvb',40999,'parse_subtitle_list','1070,1308,1041,1306,1307,1030,1016,1131,1068,1069'),('dvb',4096,'guide_fixup','5');
+/*!40000 ALTER TABLE `dtv_privatetypes` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `dvdbookmark`
+--
+
+DROP TABLE IF EXISTS `dvdbookmark`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `dvdbookmark` (
+  `serialid` varchar(16) NOT NULL DEFAULT '',
+  `name` varchar(32) DEFAULT NULL,
+  `title` smallint(6) NOT NULL DEFAULT '0',
+  `audionum` tinyint(4) NOT NULL DEFAULT '-1',
+  `subtitlenum` tinyint(4) NOT NULL DEFAULT '-1',
+  `framenum` bigint(20) NOT NULL DEFAULT '0',
+  `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+  PRIMARY KEY (`serialid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `dvdbookmark`
+--
+
+LOCK TABLES `dvdbookmark` WRITE;
+/*!40000 ALTER TABLE `dvdbookmark` DISABLE KEYS */;
+/*!40000 ALTER TABLE `dvdbookmark` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `dvdinput`
+--
+
+DROP TABLE IF EXISTS `dvdinput`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `dvdinput` (
+  `intid` int(10) unsigned NOT NULL,
+  `hsize` int(10) unsigned DEFAULT NULL,
+  `vsize` int(10) unsigned DEFAULT NULL,
+  `ar_num` int(10) unsigned DEFAULT NULL,
+  `ar_denom` int(10) unsigned DEFAULT NULL,
+  `fr_code` int(10) unsigned DEFAULT NULL,
+  `letterbox` tinyint(1) DEFAULT NULL,
+  `v_format` varchar(16) DEFAULT NULL,
+  PRIMARY KEY (`intid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `dvdinput`
+--
+
+LOCK TABLES `dvdinput` WRITE;
+/*!40000 ALTER TABLE `dvdinput` DISABLE KEYS */;
+INSERT INTO `dvdinput` VALUES (1,720,480,16,9,1,1,'ntsc'),(2,720,480,16,9,1,0,'ntsc'),(3,720,480,4,3,1,1,'ntsc'),(4,720,480,4,3,1,0,'ntsc'),(5,720,576,16,9,3,1,'pal'),(6,720,576,16,9,3,0,'pal'),(7,720,576,4,3,3,1,'pal'),(8,720,576,4,3,3,0,'pal');
+/*!40000 ALTER TABLE `dvdinput` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `dvdtranscode`
+--
+
+DROP TABLE IF EXISTS `dvdtranscode`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `dvdtranscode` (
+  `intid` int(11) NOT NULL AUTO_INCREMENT,
+  `input` int(10) unsigned DEFAULT NULL,
+  `name` varchar(128) NOT NULL,
+  `sync_mode` int(10) unsigned DEFAULT NULL,
+  `use_yv12` tinyint(1) DEFAULT NULL,
+  `cliptop` int(11) DEFAULT NULL,
+  `clipbottom` int(11) DEFAULT NULL,
+  `clipleft` int(11) DEFAULT NULL,
+  `clipright` int(11) DEFAULT NULL,
+  `f_resize_h` int(11) DEFAULT NULL,
+  `f_resize_w` int(11) DEFAULT NULL,
+  `hq_resize_h` int(11) DEFAULT NULL,
+  `hq_resize_w` int(11) DEFAULT NULL,
+  `grow_h` int(11) DEFAULT NULL,
+  `grow_w` int(11) DEFAULT NULL,
+  `clip2top` int(11) DEFAULT NULL,
+  `clip2bottom` int(11) DEFAULT NULL,
+  `clip2left` int(11) DEFAULT NULL,
+  `clip2right` int(11) DEFAULT NULL,
+  `codec` varchar(128) NOT NULL,
+  `codec_param` varchar(128) DEFAULT NULL,
+  `bitrate` int(11) DEFAULT NULL,
+  `a_sample_r` int(11) DEFAULT NULL,
+  `a_bitrate` int(11) DEFAULT NULL,
+  `two_pass` tinyint(1) DEFAULT NULL,
+  `tc_param` varchar(128) DEFAULT NULL,
+  PRIMARY KEY (`intid`)
+) ENGINE=MyISAM AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `dvdtranscode`
+--
+
+LOCK TABLES `dvdtranscode` WRITE;
+/*!40000 ALTER TABLE `dvdtranscode` DISABLE KEYS */;
+INSERT INTO `dvdtranscode` VALUES (1,1,'Good',2,1,16,16,0,0,2,0,0,0,0,0,32,32,8,8,'divx5',NULL,1618,NULL,NULL,0,NULL),(2,2,'Excellent',2,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'divx5',NULL,0,NULL,NULL,1,NULL),(3,2,'Good',2,1,0,0,8,8,0,0,0,0,0,0,0,0,0,0,'divx5',NULL,1618,NULL,NULL,0,NULL),(4,2,'Medium',2,1,0,0,8,8,5,5,0,0,0,0,0,0,0,0,'divx5',NULL,1200,NULL,NULL,0,NULL),(5,3,'Good',2,1,0,0,0,0,0,0,0,0,2,0,80,80,8,8,'divx5',NULL,0,NULL,NULL,0,NULL),(6,4,'Excellent',2,1,0,0,0,0,0,0,0,0,2,0,0,0,0,0,'divx5',NULL,0,NULL,NULL,1,NULL),(7,4,'Good',2,1,0,0,8,8,0,2,0,0,0,0,0,0,0,0,'divx5',NULL,1618,NULL,NULL,0,NULL),(8,5,'Good',1,1,16,16,0,0,5,0,0,0,0,0,40,40,8,8,'divx5',NULL,1618,NULL,NULL,0,NULL),(9,6,'Good',1,1,0,0,16,16,5,0,0,0,0,0,0,0,0,0,'divx5',NULL,1618,NULL,NULL,0,NULL),(10,7,'Good',1,1,0,0,0,0,1,0,0,0,0,0,76,76,8,8,'divx5',NULL,1618,NULL,NULL,0,NULL),(11,8,'Good',1,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,'divx5',NULL,1618,NULL,NULL,0,NULL);
+/*!40000 ALTER TABLE `dvdtranscode` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `eit_cache`
+--
+
+DROP TABLE IF EXISTS `eit_cache`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `eit_cache` (
+  `chanid` int(10) NOT NULL,
+  `eventid` int(10) unsigned NOT NULL DEFAULT '0',
+  `tableid` tinyint(3) unsigned NOT NULL,
+  `version` tinyint(3) unsigned NOT NULL,
+  `endtime` int(10) unsigned NOT NULL,
+  `status` tinyint(4) NOT NULL DEFAULT '0',
+  PRIMARY KEY (`chanid`,`eventid`,`status`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `eit_cache`
+--
+
+LOCK TABLES `eit_cache` WRITE;
+/*!40000 ALTER TABLE `eit_cache` DISABLE KEYS */;
+/*!40000 ALTER TABLE `eit_cache` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `filemarkup`
+--
+
+DROP TABLE IF EXISTS `filemarkup`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `filemarkup` (
+  `filename` text NOT NULL,
+  `mark` mediumint(8) unsigned NOT NULL DEFAULT '0',
+  `offset` bigint(20) unsigned DEFAULT NULL,
+  `type` tinyint(4) NOT NULL DEFAULT '0',
+  KEY `filename` (`filename`(255))
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `filemarkup`
+--
+
+LOCK TABLES `filemarkup` WRITE;
+/*!40000 ALTER TABLE `filemarkup` DISABLE KEYS */;
+/*!40000 ALTER TABLE `filemarkup` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `gallerymetadata`
+--
+
+DROP TABLE IF EXISTS `gallerymetadata`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `gallerymetadata` (
+  `image` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
+  `angle` int(11) NOT NULL,
+  PRIMARY KEY (`image`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `gallerymetadata`
+--
+
+LOCK TABLES `gallerymetadata` WRITE;
+/*!40000 ALTER TABLE `gallerymetadata` DISABLE KEYS */;
+/*!40000 ALTER TABLE `gallerymetadata` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `gamemetadata`
+--
+
+DROP TABLE IF EXISTS `gamemetadata`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `gamemetadata` (
+  `system` varchar(128) NOT NULL DEFAULT '',
+  `romname` varchar(128) NOT NULL DEFAULT '',
+  `gamename` varchar(128) NOT NULL DEFAULT '',
+  `genre` varchar(128) NOT NULL DEFAULT '',
+  `year` varchar(10) NOT NULL DEFAULT '',
+  `publisher` varchar(128) NOT NULL DEFAULT '',
+  `favorite` tinyint(1) DEFAULT NULL,
+  `rompath` varchar(255) NOT NULL DEFAULT '',
+  `screenshot` varchar(255) NOT NULL,
+  `fanart` varchar(255) NOT NULL,
+  `plot` text NOT NULL,
+  `boxart` varchar(255) NOT NULL,
+  `gametype` varchar(64) NOT NULL DEFAULT '',
+  `diskcount` tinyint(1) NOT NULL DEFAULT '1',
+  `country` varchar(128) NOT NULL DEFAULT '',
+  `crc_value` varchar(64) NOT NULL DEFAULT '',
+  `display` tinyint(1) NOT NULL DEFAULT '1',
+  `version` varchar(64) NOT NULL DEFAULT '',
+  KEY `system` (`system`),
+  KEY `year` (`year`),
+  KEY `romname` (`romname`),
+  KEY `gamename` (`gamename`),
+  KEY `genre` (`genre`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `gamemetadata`
+--
+
+LOCK TABLES `gamemetadata` WRITE;
+/*!40000 ALTER TABLE `gamemetadata` DISABLE KEYS */;
+/*!40000 ALTER TABLE `gamemetadata` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `gameplayers`
+--
+
+DROP TABLE IF EXISTS `gameplayers`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `gameplayers` (
+  `gameplayerid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `playername` varchar(64) NOT NULL DEFAULT '',
+  `workingpath` varchar(255) NOT NULL DEFAULT '',
+  `rompath` varchar(255) NOT NULL DEFAULT '',
+  `screenshots` varchar(255) NOT NULL DEFAULT '',
+  `commandline` text NOT NULL,
+  `gametype` varchar(64) NOT NULL DEFAULT '',
+  `extensions` varchar(128) NOT NULL DEFAULT '',
+  `spandisks` tinyint(1) NOT NULL DEFAULT '0',
+  PRIMARY KEY (`gameplayerid`),
+  UNIQUE KEY `playername` (`playername`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `gameplayers`
+--
+
+LOCK TABLES `gameplayers` WRITE;
+/*!40000 ALTER TABLE `gameplayers` DISABLE KEYS */;
+/*!40000 ALTER TABLE `gameplayers` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `housekeeping`
+--
+
+DROP TABLE IF EXISTS `housekeeping`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `housekeeping` (
+  `tag` varchar(64) NOT NULL DEFAULT '',
+  `lastrun` datetime DEFAULT NULL,
+  PRIMARY KEY (`tag`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `housekeeping`
+--
+
+LOCK TABLES `housekeeping` WRITE;
+/*!40000 ALTER TABLE `housekeeping` DISABLE KEYS */;
+INSERT INTO `housekeeping` VALUES ('DailyCleanup','2010-02-17 23:45:39'),('JobQueueRecover-OLDHOSTNAME','2010-02-17 23:45:39'),('BackupDB','2010-02-18 01:25:06'),('DBCleanup','2009-09-20 01:56:39');
+/*!40000 ALTER TABLE `housekeeping` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `inputgroup`
+--
+
+DROP TABLE IF EXISTS `inputgroup`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `inputgroup` (
+  `cardinputid` int(10) unsigned NOT NULL,
+  `inputgroupid` int(10) unsigned NOT NULL,
+  `inputgroupname` varchar(32) NOT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `inputgroup`
+--
+
+LOCK TABLES `inputgroup` WRITE;
+/*!40000 ALTER TABLE `inputgroup` DISABLE KEYS */;
+/*!40000 ALTER TABLE `inputgroup` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `inuseprograms`
+--
+
+DROP TABLE IF EXISTS `inuseprograms`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `inuseprograms` (
+  `chanid` int(10) unsigned NOT NULL DEFAULT '0',
+  `starttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `recusage` varchar(128) NOT NULL DEFAULT '',
+  `lastupdatetime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `hostname` varchar(64) NOT NULL DEFAULT '',
+  `rechost` varchar(64) NOT NULL,
+  `recdir` varchar(255) NOT NULL DEFAULT '',
+  KEY `chanid` (`chanid`,`starttime`),
+  KEY `recusage` (`recusage`,`lastupdatetime`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `inuseprograms`
+--
+
+LOCK TABLES `inuseprograms` WRITE;
+/*!40000 ALTER TABLE `inuseprograms` DISABLE KEYS */;
+/*!40000 ALTER TABLE `inuseprograms` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `jobqueue`
+--
+
+DROP TABLE IF EXISTS `jobqueue`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `jobqueue` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `chanid` int(10) NOT NULL DEFAULT '0',
+  `starttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `inserttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `type` int(11) NOT NULL DEFAULT '0',
+  `cmds` int(11) NOT NULL DEFAULT '0',
+  `flags` int(11) NOT NULL DEFAULT '0',
+  `status` int(11) NOT NULL DEFAULT '0',
+  `statustime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+  `hostname` varchar(64) NOT NULL DEFAULT '',
+  `args` blob NOT NULL,
+  `comment` varchar(128) NOT NULL DEFAULT '',
+  `schedruntime` datetime NOT NULL DEFAULT '2007-01-01 00:00:00',
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `chanid` (`chanid`,`starttime`,`type`,`inserttime`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `jobqueue`
+--
+
+LOCK TABLES `jobqueue` WRITE;
+/*!40000 ALTER TABLE `jobqueue` DISABLE KEYS */;
+/*!40000 ALTER TABLE `jobqueue` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `jumppoints`
+--
+
+DROP TABLE IF EXISTS `jumppoints`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `jumppoints` (
+  `destination` varchar(128) NOT NULL DEFAULT '',
+  `description` varchar(255) DEFAULT NULL,
+  `keylist` varchar(128) DEFAULT NULL,
+  `hostname` varchar(64) NOT NULL DEFAULT '',
+  PRIMARY KEY (`destination`,`hostname`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `jumppoints`
+--
+
+LOCK TABLES `jumppoints` WRITE;
+/*!40000 ALTER TABLE `jumppoints` DISABLE KEYS */;
+INSERT INTO `jumppoints` VALUES ('Reload Theme',NULL,'','OLDHOSTNAME'),('Main Menu',NULL,'','OLDHOSTNAME'),('Program Guide',NULL,'','OLDHOSTNAME'),('Program Finder',NULL,'','OLDHOSTNAME'),('Manage Recordings / Fix Conflicts',NULL,'','OLDHOSTNAME'),('Program Recording Priorities',NULL,'','OLDHOSTNAME'),('Channel Recording Priorities',NULL,'','OLDHOSTNAME'),('TV Recording Playback',NULL,'','OLDHOSTNAME'),('TV Recording Deletion',NULL,'','OLDHOSTNAME'),('Live TV',NULL,'','OLDHOSTNAME'),('Live TV In Guide',NULL,'','OLDHOSTNAME'),('Manual Record Scheduling',NULL,'','OLDHOSTNAME'),('Status Screen',NULL,'','OLDHOSTNAME'),('Previously Recorded',NULL,'','OLDHOSTNAME'),('Play DVD',NULL,'','OLDHOSTNAME'),('Play VCD',NULL,'','OLDHOSTNAME'),('Rip DVD',NULL,'','OLDHOSTNAME'),('Netflix Browser',NULL,'','OLDHOSTNAME'),('Netflix Queue',NULL,'','OLDHOSTNAME'),('Netflix History',NULL,'','OLDHOSTNAME'),('MythGallery',NULL,'','OLDHOSTNAME'),('MythGame',NULL,'','OLDHOSTNAME'),('Play music',NULL,'','OLDHOSTNAME'),('Select music playlists',NULL,'','OLDHOSTNAME'),('Rip CD',NULL,'','OLDHOSTNAME'),('Scan music',NULL,'','OLDHOSTNAME'),('MythNews',NULL,'','OLDHOSTNAME'),('MythVideo',NULL,'','OLDHOSTNAME'),('Video Manager',NULL,'','OLDHOSTNAME'),('Video Browser',NULL,'','OLDHOSTNAME'),('Video Listings',NULL,'','OLDHOSTNAME'),('Video Gallery',NULL,'','OLDHOSTNAME'),('MythWeather',NULL,'','OLDHOSTNAME'),('Manage Recording Rules','','','OLDHOSTNAME'),('ScreenShot','','','OLDHOSTNAME'),('Create DVD','','','OLDHOSTNAME'),('Create Archive','','','OLDHOSTNAME'),('Import Archive','','','OLDHOSTNAME'),('View Archive Log','','','OLDHOSTNAME'),('Play Created DVD','','','OLDHOSTNAME'),('Burn DVD','','','OLDHOSTNAME'),('Show Music Miniplayer','','','OLDHOSTNAME'),('MythNetSearch','Internet Television Client - Search','','OLDHOSTNAME'),('MythNetTree','Internet Television Client - Site/Tree View','','OLDHOSTNAME');
+/*!40000 ALTER TABLE `jumppoints` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `keybindings`
+--
+
+DROP TABLE IF EXISTS `keybindings`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `keybindings` (
+  `context` varchar(32) NOT NULL DEFAULT '',
+  `action` varchar(32) NOT NULL DEFAULT '',
+  `description` varchar(255) DEFAULT NULL,
+  `keylist` varchar(128) DEFAULT NULL,
+  `hostname` varchar(64) NOT NULL DEFAULT '',
+  PRIMARY KEY (`context`,`action`,`hostname`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `keybindings`
+--
+
+LOCK TABLES `keybindings` WRITE;
+/*!40000 ALTER TABLE `keybindings` DISABLE KEYS */;
+INSERT INTO `keybindings` VALUES ('Global','UP','Up Arrow','Up','OLDHOSTNAME'),('Global','DOWN','Down Arrow','Down','OLDHOSTNAME'),('Global','LEFT','Left Arrow','Left','OLDHOSTNAME'),('Global','RIGHT','Right Arrow','Right','OLDHOSTNAME'),('Global','SELECT','Select','Return,Enter,Space','OLDHOSTNAME'),('Global','ESCAPE','Escape','Esc','OLDHOSTNAME'),('Global','MENU','Pop-up menu','M','OLDHOSTNAME'),('Global','INFO','More information','I','OLDHOSTNAME'),('Global','PAGEUP','Page Up','PgUp','OLDHOSTNAME'),('Global','PAGEDOWN','Page Down','PgDown','OLDHOSTNAME'),('Global','PREVVIEW','Previous View','Home','OLDHOSTNAME'),('Global','NEXTVIEW','Next View','End','OLDHOSTNAME'),('Global','HELP','Help','F1','OLDHOSTNAME'),('Global','EJECT','Eject Removable Media','','OLDHOSTNAME'),('Global','0','0','0','OLDHOSTNAME'),('Global','1','1','1','OLDHOSTNAME'),('Global','2','2','2','OLDHOSTNAME'),('Global','3','3','3','OLDHOSTNAME'),('Global','4','4','4','OLDHOSTNAME'),('Global','5','5','5','OLDHOSTNAME'),('Global','6','6','6','OLDHOSTNAME'),('Global','7','7','7','OLDHOSTNAME'),('Global','8','8','8','OLDHOSTNAME'),('Global','9','9','9','OLDHOSTNAME'),('TV Frontend','GUIDE','Show the Program Guide','S','OLDHOSTNAME'),('TV Frontend','PAGEUP','Page Up','3','OLDHOSTNAME'),('TV Frontend','PAGEDOWN','Page Down','9','OLDHOSTNAME'),('TV Frontend','FINDER','Show the Program Finder','#','OLDHOSTNAME'),('TV Frontend','PLAYBACK','Play Program','P','OLDHOSTNAME'),('TV Frontend','TOGGLERECORD','Toggle recording status of current program','R','OLDHOSTNAME'),('TV Frontend','DAYLEFT','Page the program guide back one day','Home,7','OLDHOSTNAME'),('TV Frontend','DAYRIGHT','Page the program guide forward one day','End,1','OLDHOSTNAME'),('TV Frontend','PAGELEFT','Page the program guide left',',,<','OLDHOSTNAME'),('TV Frontend','PAGERIGHT','Page the program guide right','>,.','OLDHOSTNAME'),('TV Frontend','TOGGLEFAV','Toggle the current channel as a favorite','?','OLDHOSTNAME'),('TV Frontend','NEXTFAV','Cycle through channel groups and all channels in the program guide.','/','OLDHOSTNAME'),('TV Frontend','CHANUPDATE','Switch channels without exiting guide in Live TV mode.','X','OLDHOSTNAME'),('TV Frontend','RANKINC','Increase program or channel rank','Right','OLDHOSTNAME'),('TV Frontend','RANKDEC','Decrease program or channel rank','Left','OLDHOSTNAME'),('TV Frontend','UPCOMING','List upcoming episodes','O','OLDHOSTNAME'),('TV Frontend','DETAILS','Show program details','U','OLDHOSTNAME'),('TV Frontend','VIEWCARD','Switch Capture Card view','Y','OLDHOSTNAME'),('Global','CUT','Cut text from textedit','Ctrl+X','OLDHOSTNAME'),('TV Playback','CLEAROSD','Clear OSD','Backspace','OLDHOSTNAME'),('TV Playback','PAUSE','Pause','P','OLDHOSTNAME'),('TV Playback','SEEKFFWD','Fast Forward','Right','OLDHOSTNAME'),('TV Playback','SEEKRWND','Rewind','Left','OLDHOSTNAME'),('TV Playback','ARBSEEK','Arbitrary Seek','*','OLDHOSTNAME'),('TV Playback','CHANNELUP','Channel up','Up','OLDHOSTNAME'),('TV Playback','CHANNELDOWN','Channel down','Down','OLDHOSTNAME'),('TV Playback','NEXTFAV','Switch to the next favorite channel','/','OLDHOSTNAME'),('TV Playback','PREVCHAN','Switch to the previous channel','H','OLDHOSTNAME'),('TV Playback','JUMPFFWD','Jump ahead','PgDown','OLDHOSTNAME'),('TV Playback','JUMPRWND','Jump back','PgUp','OLDHOSTNAME'),('TV Playback','JUMPBKMRK','Jump to bookmark','K','OLDHOSTNAME'),('TV Playback','FFWDSTICKY','Fast Forward (Sticky) or Forward one frame while paused','>,.','OLDHOSTNAME'),('TV Playback','RWNDSTICKY','Rewind (Sticky) or Rewind one frame while paused',',,<','OLDHOSTNAME'),('TV Playback','SKIPCOMMERCIAL','Skip Commercial','Z,End','OLDHOSTNAME'),('TV Playback','SKIPCOMMBACK','Skip Commercial (Reverse)','Q,Home','OLDHOSTNAME'),('TV Playback','JUMPSTART','Jump to the start of the recording.','Ctrl+B','OLDHOSTNAME'),('TV Playback','TOGGLEBROWSE','Toggle channel browse mode','O','OLDHOSTNAME'),('TV Playback','TOGGLERECORD','Toggle recording status of current program','R','OLDHOSTNAME'),('TV Playback','TOGGLEFAV','Toggle the current channel as a favorite','?','OLDHOSTNAME'),('TV Playback','VOLUMEDOWN','Volume down','[,{,F10,Volume Down','OLDHOSTNAME'),('TV Playback','VOLUMEUP','Volume up','],},F11,Volume Up','OLDHOSTNAME'),('TV Playback','MUTE','Mute','|,\\,F9,Volume Mute','OLDHOSTNAME'),('TV Playback','TOGGLEPIPMODE','Toggle Picture-in-Picture view','V','OLDHOSTNAME'),('TV Playback','TOGGLEPIPWINDOW','Toggle active PiP window','B','OLDHOSTNAME'),('TV Playback','SWAPPIP','Swap PBP/PIP Windows','N','OLDHOSTNAME'),('TV Playback','TOGGLECC','Toggle any captions','T','OLDHOSTNAME'),('TV Playback','TOGGLETTC','Toggle Teletext Captions','','OLDHOSTNAME'),('TV Playback','TOGGLESUBTITLE','Toggle Subtitles','','OLDHOSTNAME'),('TV Playback','TOGGLECC608','Toggle VBI CC','','OLDHOSTNAME'),('TV Playback','TOGGLECC708','Toggle ATSC CC','','OLDHOSTNAME'),('TV Playback','TOGGLETTM','Toggle Teletext Menu','','OLDHOSTNAME'),('TV Playback','SELECTAUDIO_0','Play audio track 1','','OLDHOSTNAME'),('TV Playback','SELECTAUDIO_1','Play audio track 2','','OLDHOSTNAME'),('TV Playback','SELECTSUBTITLE_0','Display subtitle 1','','OLDHOSTNAME'),('TV Playback','SELECTSUBTITLE_1','Display subtitle 2','','OLDHOSTNAME'),('TV Playback','SELECTCC608_0','Display VBI CC1','','OLDHOSTNAME'),('TV Playback','SELECTCC608_1','Display VBI CC2','','OLDHOSTNAME'),('TV Playback','SELECTCC608_2','Display VBI CC3','','OLDHOSTNAME'),('TV Playback','SELECTCC608_3','Display VBI CC4','','OLDHOSTNAME'),('TV Playback','SELECTCC708_0','Display ATSC CC1','','OLDHOSTNAME'),('TV Playback','SELECTCC708_1','Display ATSC CC2','','OLDHOSTNAME'),('TV Playback','SELECTCC708_2','Display ATSC CC3','','OLDHOSTNAME'),('TV Playback','SELECTCC708_3','Display ATSC CC4','','OLDHOSTNAME'),('TV Playback','NEXTAUDIO','Next audio track','+','OLDHOSTNAME'),('TV Playback','PREVAUDIO','Previous audio track','-','OLDHOSTNAME'),('TV Playback','NEXTSUBTITLE','Next subtitle track','','OLDHOSTNAME'),('TV Playback','PREVSUBTITLE','Previous subtitle track','','OLDHOSTNAME'),('TV Playback','NEXTCC608','Next VBI CC track','','OLDHOSTNAME'),('TV Playback','PREVCC608','Previous VBI CC track','','OLDHOSTNAME'),('TV Playback','NEXTCC708','Next ATSC CC track','','OLDHOSTNAME'),('TV Playback','PREVCC708','Previous ATSC CC track','','OLDHOSTNAME'),('TV Playback','NEXTCC','Next of any captions','','OLDHOSTNAME'),('TV Playback','NEXTSCAN','Next video scan overidemode','','OLDHOSTNAME'),('TV Playback','QUEUETRANSCODE','Queue the current recording for transcoding','X','OLDHOSTNAME'),('TV Playback','SPEEDINC','Increase the playback speed','U','OLDHOSTNAME'),('TV Playback','SPEEDDEC','Decrease the playback speed','J','OLDHOSTNAME'),('TV Playback','ADJUSTSTRETCH','Turn on time stretch control','A','OLDHOSTNAME'),('TV Playback','STRETCHINC','Increase time stretch speed','','OLDHOSTNAME'),('TV Playback','STRETCHDEC','Decrease time stretch speed','','OLDHOSTNAME'),('TV Playback','TOGGLESTRETCH','Toggle time stretch speed','','OLDHOSTNAME'),('TV Playback','TOGGLEAUDIOSYNC','Turn on audio sync adjustment controls','','OLDHOSTNAME'),('TV Playback','TOGGLEPICCONTROLS','Playback picture adjustments','F','OLDHOSTNAME'),('TV Playback','TOGGLECHANCONTROLS','Recording picture adjustments for this channel','Ctrl+G','OLDHOSTNAME'),('TV Playback','TOGGLERECCONTROLS','Recording picture adjustments for this recorder','G','OLDHOSTNAME'),('TV Frontend','TOGGLEEPGORDER','Reverse the channel order in the program guide','0','OLDHOSTNAME'),('TV Playback','CYCLECOMMSKIPMODE','Cycle Commercial Skip mode','','OLDHOSTNAME'),('TV Playback','GUIDE','Show the Program Guide','S','OLDHOSTNAME'),('TV Playback','FINDER','Show the Program Finder','#','OLDHOSTNAME'),('TV Playback','TOGGLESLEEP','Toggle the Sleep Timer','F8','OLDHOSTNAME'),('TV Playback','PLAY','Play','Ctrl+P','OLDHOSTNAME'),('TV Playback','JUMPPREV','Jump to previously played recording','','OLDHOSTNAME'),('TV Playback','JUMPREC','Display menu of recorded programs to jump to','','OLDHOSTNAME'),('TV Playback','JUMPTODVDROOTMENU','Jump to the DVD Root Menu','','OLDHOSTNAME'),('TV Editing','CLEARMAP','Clear editing cut points','C,Q,Home','OLDHOSTNAME'),('TV Editing','INVERTMAP','Invert Begin/End cut points','I','OLDHOSTNAME'),('TV Editing','LOADCOMMSKIP','Load cut list from commercial skips','Z,End','OLDHOSTNAME'),('TV Editing','NEXTCUT','Jump to the next cut point','PgDown','OLDHOSTNAME'),('TV Editing','PREVCUT','Jump to the previous cut point','PgUp','OLDHOSTNAME'),('TV Editing','BIGJUMPREW','Jump back 10x the normal amount',',,<','OLDHOSTNAME'),('TV Editing','BIGJUMPFWD','Jump forward 10x the normal amount','>,.','OLDHOSTNAME'),('Teletext Menu','NEXTPAGE','Next Page','Down','OLDHOSTNAME'),('Teletext Menu','PREVPAGE','Previous Page','Up','OLDHOSTNAME'),('Teletext Menu','NEXTSUBPAGE','Next Subpage','Right','OLDHOSTNAME'),('Teletext Menu','PREVSUBPAGE','Previous Subpage','Left','OLDHOSTNAME'),('Teletext Menu','TOGGLETT','Toggle Teletext','T','OLDHOSTNAME'),('Teletext Menu','MENURED','Menu Red','F2','OLDHOSTNAME'),('Teletext Menu','MENUGREEN','Menu Green','F3','OLDHOSTNAME'),('Teletext Menu','MENUYELLOW','Menu Yellow','F4','OLDHOSTNAME'),('Teletext Menu','MENUBLUE','Menu Blue','F5','OLDHOSTNAME'),('Teletext Menu','MENUWHITE','Menu White','F6','OLDHOSTNAME'),('Teletext Menu','TOGGLEBACKGROUND','Toggle Background','F7','OLDHOSTNAME'),('Teletext Menu','REVEAL','Reveal hidden Text','F8','OLDHOSTNAME'),('TV Playback','MENURED','Menu Red','F2','OLDHOSTNAME'),('TV Playback','MENUGREEN','Menu Green','F3','OLDHOSTNAME'),('TV Playback','MENUYELLOW','Menu Yellow','F4','OLDHOSTNAME'),('TV Playback','MENUBLUE','Menu Blue','F5','OLDHOSTNAME'),('TV Playback','TEXTEXIT','Menu Exit','F6','OLDHOSTNAME'),('TV Playback','MENUTEXT','Menu Text','F7','OLDHOSTNAME'),('TV Playback','MENUEPG','Menu EPG','F12','OLDHOSTNAME'),('Archive','TOGGLECUT','Toggle use cut list state for selected program','C','OLDHOSTNAME'),('NetFlix','MOVETOTOP','Moves movie to top of queue','1','OLDHOSTNAME'),('NetFlix','REMOVE','Removes movie from queue','D','OLDHOSTNAME'),('Gallery','PLAY','Start/Stop Slideshow','P','OLDHOSTNAME'),('Gallery','HOME','Go to the first image in thumbnail view','Home','OLDHOSTNAME'),('Gallery','END','Go to the last image in thumbnail view','End','OLDHOSTNAME'),('Gallery','MENU','Toggle activating menu in thumbnail view','M','OLDHOSTNAME'),('Gallery','SLIDESHOW','Start Slideshow in thumbnail view','S','OLDHOSTNAME'),('Gallery','RANDOMSHOW','Start Random Slideshow in thumbnail view','R','OLDHOSTNAME'),('Gallery','ROTRIGHT','Rotate image right 90 degrees','],3','OLDHOSTNAME'),('Gallery','ROTLEFT','Rotate image left 90 degrees','[,1','OLDHOSTNAME'),('Gallery','ZOOMOUT','Zoom image out','7','OLDHOSTNAME'),('Gallery','ZOOMIN','Zoom image in','9','OLDHOSTNAME'),('Gallery','SCROLLUP','Scroll image up','2','OLDHOSTNAME'),('Gallery','SCROLLLEFT','Scroll image left','4','OLDHOSTNAME'),('Gallery','SCROLLRIGHT','Scroll image right','6','OLDHOSTNAME'),('Gallery','SCROLLDOWN','Scroll image down','8','OLDHOSTNAME'),('Gallery','RECENTER','Recenter image','5','OLDHOSTNAME'),('Gallery','FULLSIZE','Full-size (un-zoom) image','0','OLDHOSTNAME'),('Gallery','UPLEFT','Go to the upper-left corner of the image','PgUp','OLDHOSTNAME'),('Gallery','LOWRIGHT','Go to the lower-right corner of the image','PgDown','OLDHOSTNAME'),('Gallery','INFO','Toggle Showing Information about Image','I','OLDHOSTNAME'),('Gallery','FULLSCREEN','Toggle scale to fullscreen/scale to fit','W','OLDHOSTNAME'),('Gallery','MARK','Mark image','T','OLDHOSTNAME'),('Game','TOGGLEFAV','Toggle the current game as a favorite','?,/','OLDHOSTNAME'),('Game','INCSEARCH','Show incremental search dialog','Ctrl+S','OLDHOSTNAME'),('Game','INCSEARCHNEXT','Incremental search find next match','Ctrl+N','OLDHOSTNAME'),('Music','PLAY','Start playback','','OLDHOSTNAME'),('Music','NEXTTRACK','Move to the next track','>,.,Z,End','OLDHOSTNAME'),('Music','PREVTRACK','Move to the previous track',',,<,Q,Home','OLDHOSTNAME'),('Music','FFWD','Fast forward','PgDown','OLDHOSTNAME'),('Music','RWND','Rewind','PgUp','OLDHOSTNAME'),('Music','PAUSE','Pause/Start playback','P','OLDHOSTNAME'),('Music','STOP','Stop playback','O','OLDHOSTNAME'),('Music','VOLUMEDOWN','Volume down','[,{,F10,Volume Down','OLDHOSTNAME'),('Music','VOLUMEUP','Volume up','],},F11,Volume Up','OLDHOSTNAME'),('Music','MUTE','Mute','|,\\,F9,Volume Mute','OLDHOSTNAME'),('Music','CYCLEVIS','Cycle visualizer mode','6','OLDHOSTNAME'),('Music','BLANKSCR','Blank screen','5','OLDHOSTNAME'),('Music','THMBUP','Increase rating','9','OLDHOSTNAME'),('Music','THMBDOWN','Decrease rating','7','OLDHOSTNAME'),('Music','REFRESH','Refresh music tree','8','OLDHOSTNAME'),('Music','FILTER','Filter All My Music','F','OLDHOSTNAME'),('Music','INCSEARCH','Show incremental search dialog','Ctrl+S','OLDHOSTNAME'),('Music','INCSEARCHNEXT','Incremental search find next match','Ctrl+N','OLDHOSTNAME'),('News','RETRIEVENEWS','Update news items','I','OLDHOSTNAME'),('News','FORCERETRIEVE','Force update news items','M','OLDHOSTNAME'),('News','CANCEL','Cancel news item updating','C','OLDHOSTNAME'),('Phone','0','0','0','OLDHOSTNAME'),('Phone','1','1','1','OLDHOSTNAME'),('Phone','2','2','2','OLDHOSTNAME'),('Phone','3','3','3','OLDHOSTNAME'),('Phone','4','4','4','OLDHOSTNAME'),('Phone','5','5','5','OLDHOSTNAME'),('Phone','6','6','6','OLDHOSTNAME'),('Phone','7','7','7','OLDHOSTNAME'),('Phone','8','8','8','OLDHOSTNAME'),('Phone','9','9','9','OLDHOSTNAME'),('Phone','HASH','HASH','#','OLDHOSTNAME'),('Phone','STAR','STAR','*','OLDHOSTNAME'),('Phone','Up','Up','Up','OLDHOSTNAME'),('Phone','Down','Down','Down','OLDHOSTNAME'),('Phone','Left','Left','Left','OLDHOSTNAME'),('Phone','Right','Right','Right','OLDHOSTNAME'),('Phone','VOLUMEDOWN','Volume down','[,{,F10,Volume Down','OLDHOSTNAME'),('Phone','VOLUMEUP','Volume up','],},F11,Volume Up','OLDHOSTNAME'),('Phone','ZOOMIN','Zoom the video window in','>,.,Z,End','OLDHOSTNAME'),('Phone','ZOOMOUT','Zoom the video window out',',,<,Q,Home','OLDHOSTNAME'),('Phone','FULLSCRN','Show received video full-screen','P','OLDHOSTNAME'),('Phone','HANGUP','Hangup an active call','O','OLDHOSTNAME'),('Phone','MUTE','Mute','|,\\,F9,Volume Mute','OLDHOSTNAME'),('Phone','LOOPBACK','Loopback Video','L','OLDHOSTNAME'),('Video','FILTER','Open video filter dialog','F','OLDHOSTNAME'),('Global','PAGETOP','Page to top of list','','OLDHOSTNAME'),('Video','BROWSE','Change browsable in video manager','B','OLDHOSTNAME'),('Video','INCPARENT','Increase Parental Level','],},F11','OLDHOSTNAME'),('Video','DECPARENT','Decrease Parental Level','[,{,F10','OLDHOSTNAME'),('Video','HOME','Go to the first video','Home','OLDHOSTNAME'),('Video','END','Go to the last video','End','OLDHOSTNAME'),('Weather','PAUSE','Pause current page','P','OLDHOSTNAME'),('Global','NEXT','Move to next widget','Tab','OLDHOSTNAME'),('Global','PREVIOUS','Move to preview widget','Backtab','OLDHOSTNAME'),('Global','BACKSPACE','Backspace','Backspace','OLDHOSTNAME'),('Global','DELETE','Delete','D','OLDHOSTNAME'),('Global','EDIT','Edit','E','OLDHOSTNAME'),('Browser','ZOOMIN','Zoom in on browser window','.,>','OLDHOSTNAME'),('Browser','ZOOMOUT','Zoom out on browser window',',,<','OLDHOSTNAME'),('Browser','TOGGLEINPUT','Toggle where keyboard input goes to','F1','OLDHOSTNAME'),('Browser','MOUSEUP','Move mouse pointer up','2','OLDHOSTNAME'),('Browser','MOUSEDOWN','Move mouse pointer down','8','OLDHOSTNAME'),('Browser','MOUSELEFT','Move mouse pointer left','4','OLDHOSTNAME'),('Browser','MOUSERIGHT','Move mouse pointer right','6','OLDHOSTNAME'),('Browser','MOUSELEFTBUTTON','Mouse Left button click','5','OLDHOSTNAME'),('Browser','PAGEDOWN','Scroll down half a page','9','OLDHOSTNAME'),('Browser','PAGEUP','Scroll up half a page','3','OLDHOSTNAME'),('Browser','PAGELEFT','Scroll left half a page','7','OLDHOSTNAME'),('Browser','PAGERIGHT','Scroll right half a page','1','OLDHOSTNAME'),('Browser','NEXTLINK','Move selection to next link','Z','OLDHOSTNAME'),('Browser','PREVIOUSLINK','Move selection to previous link','Q','OLDHOSTNAME'),('Browser','FOLLOWLINK','Follow selected link','Return,Space,Enter','OLDHOSTNAME'),('Browser','HISTORYBACK','Go back to previous page','R,Backspace','OLDHOSTNAME'),('Browser','HISTORYFORWARD','Go forward to previous page','F','OLDHOSTNAME'),('Global','PAGEMIDDLE','Page to middle of list','','OLDHOSTNAME'),('Global','PAGEBOTTOM','Page to bottom of list','','OLDHOSTNAME'),('TV Frontend','VOLUMEDOWN','Volume down','[,{,F10,Volume Down','OLDHOSTNAME'),('TV Frontend','VOLUMEUP','Volume up','],},F11,Volume Up','OLDHOSTNAME'),('TV Frontend','MUTE','Mute','|,\\,F9,Volume Mute','OLDHOSTNAME'),('TV Frontend','VIEWINPUT','Switch Capture Card view','C','OLDHOSTNAME'),('TV Frontend','CHANGERECGROUP','Change Recording Group','','OLDHOSTNAME'),('TV Frontend','CHANGEGROUPVIEW','Change Group View','','OLDHOSTNAME'),('TV Playback','NEXTSOURCE','Next Video Source','Y','OLDHOSTNAME'),('TV Playback','PREVSOURCE','Previous Video Source','Ctrl+Y','OLDHOSTNAME'),('TV Playback','NEXTINPUT','Next Input','C','OLDHOSTNAME'),('TV Playback','NEXTCARD','Next Card','','OLDHOSTNAME'),('TV Playback','TOGGLEPBPMODE','Toggle Picture-by-Picture view','Ctrl+V','OLDHOSTNAME'),('TV Playback','CREATEPIPVIEW','Create Picture-in-Picture view','','OLDHOSTNAME'),('TV Playback','CREATEPBPVIEW','Create Picture-by-Picture view','','OLDHOSTNAME'),('TV Playback','NEXTPIPWINDOW','Toggle active PIP/PBP window','B','OLDHOSTNAME'),('TV Playback','TOGGLEPIPSTATE','Change PxP view','','OLDHOSTNAME'),('TV Playback','TOGGLEASPECT','Toggle the video aspect ratio','Ctrl+W','OLDHOSTNAME'),('TV Playback','TOGGLEFILL','Next Preconfigured Zoom mode','W','OLDHOSTNAME'),('TV Playback','VIEWSCHEDULED','Display scheduled recording list','','OLDHOSTNAME'),('TV Playback','SIGNALMON','Monitor Signal Quality','Alt+F7','OLDHOSTNAME'),('TV Playback','EXITSHOWNOPROMPTS','Exit Show without any prompts','','OLDHOSTNAME'),('TV Playback','SCREENSHOT','Save screenshot of current video frame','','OLDHOSTNAME'),('Music','SPEEDUP','Increase Play Speed','W','OLDHOSTNAME'),('Music','SPEEDDOWN','Decrease Play Speed','X','OLDHOSTNAME'),('Video','PLAYALT','Play selected item in alternate player','ALT+P','OLDHOSTNAME'),('Video','INCSEARCH','Show Incremental Search Dialog','Ctrl+S','OLDHOSTNAME'),('Video','DOWNLOADDATA','Download metadata for current item','W','OLDHOSTNAME'),('Video','ITEMDETAIL','Display Item Detail Popup','','OLDHOSTNAME'),('Weather','SEARCH','Search List','/','OLDHOSTNAME'),('Weather','NEXTSEARCH','Search List','n','OLDHOSTNAME'),('Weather','UPDATE','Search List','u','OLDHOSTNAME'),('Global','COPY','Copy text from textedit','Ctrl+C','OLDHOSTNAME'),('Global','PASTE','Paste text into textedit','Ctrl+V','OLDHOSTNAME'),('Global','SYSEVENT01','Trigger System Key Event #1','','OLDHOSTNAME'),('Global','SYSEVENT02','Trigger System Key Event #2','','OLDHOSTNAME'),('Global','SYSEVENT03','Trigger System Key Event #3','','OLDHOSTNAME'),('Global','SYSEVENT04','Trigger System Key Event #4','','OLDHOSTNAME'),('Global','SYSEVENT05','Trigger System Key Event #5','','OLDHOSTNAME'),('Global','SYSEVENT06','Trigger System Key Event #6','','OLDHOSTNAME'),('Global','SYSEVENT07','Trigger System Key Event #7','','OLDHOSTNAME'),('Global','SYSEVENT08','Trigger System Key Event #8','','OLDHOSTNAME'),('Global','SYSEVENT09','Trigger System Key Event #9','','OLDHOSTNAME'),('Global','SYSEVENT10','Trigger System Key Event #10','','OLDHOSTNAME'),('TV Frontend','CUSTOMEDIT','Edit Custom Record Rule','','OLDHOSTNAME'),('TV Playback','TOGGLEUPMIX','Toggle audio upmixer','Ctrl+U','OLDHOSTNAME'),('Browser','NEXTTAB','Move to next browser tab','P','OLDHOSTNAME'),('Browser','PREVTAB','Move to previous browser tab','','OLDHOSTNAME'),('Music','TOGGLEUPMIX','Toggle audio upmixer','Ctrl+U','OLDHOSTNAME');
+/*!40000 ALTER TABLE `keybindings` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `keyword`
+--
+
+DROP TABLE IF EXISTS `keyword`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `keyword` (
+  `phrase` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
+  `searchtype` int(10) unsigned NOT NULL DEFAULT '3',
+  UNIQUE KEY `phrase` (`phrase`,`searchtype`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `keyword`
+--
+
+LOCK TABLES `keyword` WRITE;
+/*!40000 ALTER TABLE `keyword` DISABLE KEYS */;
+/*!40000 ALTER TABLE `keyword` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `movies_movies`
+--
+
+DROP TABLE IF EXISTS `movies_movies`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `movies_movies` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `moviename` varchar(255) DEFAULT NULL,
+  `rating` varchar(10) DEFAULT NULL,
+  `runningtime` varchar(50) DEFAULT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `movies_movies`
+--
+
+LOCK TABLES `movies_movies` WRITE;
+/*!40000 ALTER TABLE `movies_movies` DISABLE KEYS */;
+/*!40000 ALTER TABLE `movies_movies` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `movies_showtimes`
+--
+
+DROP TABLE IF EXISTS `movies_showtimes`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `movies_showtimes` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `theaterid` int(11) NOT NULL,
+  `movieid` int(11) NOT NULL,
+  `showtimes` varchar(255) DEFAULT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `movies_showtimes`
+--
+
+LOCK TABLES `movies_showtimes` WRITE;
+/*!40000 ALTER TABLE `movies_showtimes` DISABLE KEYS */;
+/*!40000 ALTER TABLE `movies_showtimes` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `movies_theaters`
+--
+
+DROP TABLE IF EXISTS `movies_theaters`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `movies_theaters` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `theatername` varchar(100) DEFAULT NULL,
+  `theateraddress` varchar(100) DEFAULT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `movies_theaters`
+--
+
+LOCK TABLES `movies_theaters` WRITE;
+/*!40000 ALTER TABLE `movies_theaters` DISABLE KEYS */;
+/*!40000 ALTER TABLE `movies_theaters` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `music_albumart`
+--
+
+DROP TABLE IF EXISTS `music_albumart`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `music_albumart` (
+  `albumart_id` int(20) NOT NULL AUTO_INCREMENT,
+  `filename` varchar(255) NOT NULL DEFAULT '',
+  `directory_id` int(20) NOT NULL DEFAULT '0',
+  `imagetype` tinyint(3) NOT NULL DEFAULT '0',
+  `song_id` int(11) NOT NULL DEFAULT '0',
+  `embedded` tinyint(1) NOT NULL DEFAULT '0',
+  PRIMARY KEY (`albumart_id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `music_albumart`
+--
+
+LOCK TABLES `music_albumart` WRITE;
+/*!40000 ALTER TABLE `music_albumart` DISABLE KEYS */;
+/*!40000 ALTER TABLE `music_albumart` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `music_albums`
+--
+
+DROP TABLE IF EXISTS `music_albums`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `music_albums` (
+  `album_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
+  `artist_id` int(11) unsigned NOT NULL DEFAULT '0',
+  `album_name` varchar(255) NOT NULL DEFAULT '',
+  `year` smallint(6) NOT NULL DEFAULT '0',
+  `compilation` tinyint(1) unsigned NOT NULL DEFAULT '0',
+  PRIMARY KEY (`album_id`),
+  KEY `idx_album_name` (`album_name`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `music_albums`
+--
+
+LOCK TABLES `music_albums` WRITE;
+/*!40000 ALTER TABLE `music_albums` DISABLE KEYS */;
+/*!40000 ALTER TABLE `music_albums` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `music_artists`
+--
+
+DROP TABLE IF EXISTS `music_artists`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `music_artists` (
+  `artist_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
+  `artist_name` varchar(255) NOT NULL DEFAULT '',
+  PRIMARY KEY (`artist_id`),
+  KEY `idx_artist_name` (`artist_name`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `music_artists`
+--
+
+LOCK TABLES `music_artists` WRITE;
+/*!40000 ALTER TABLE `music_artists` DISABLE KEYS */;
+/*!40000 ALTER TABLE `music_artists` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `music_directories`
+--
+
+DROP TABLE IF EXISTS `music_directories`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `music_directories` (
+  `directory_id` int(20) NOT NULL AUTO_INCREMENT,
+  `path` text NOT NULL,
+  `parent_id` int(20) NOT NULL DEFAULT '0',
+  PRIMARY KEY (`directory_id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `music_directories`
+--
+
+LOCK TABLES `music_directories` WRITE;
+/*!40000 ALTER TABLE `music_directories` DISABLE KEYS */;
+/*!40000 ALTER TABLE `music_directories` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `music_genres`
+--
+
+DROP TABLE IF EXISTS `music_genres`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `music_genres` (
+  `genre_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
+  `genre` varchar(255) NOT NULL DEFAULT '',
+  PRIMARY KEY (`genre_id`),
+  KEY `idx_genre` (`genre`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `music_genres`
+--
+
+LOCK TABLES `music_genres` WRITE;
+/*!40000 ALTER TABLE `music_genres` DISABLE KEYS */;
+/*!40000 ALTER TABLE `music_genres` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `music_playlists`
+--
+
+DROP TABLE IF EXISTS `music_playlists`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `music_playlists` (
+  `playlist_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
+  `playlist_name` varchar(255) NOT NULL DEFAULT '',
+  `playlist_songs` text NOT NULL,
+  `last_accessed` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+  `length` int(11) unsigned NOT NULL DEFAULT '0',
+  `songcount` smallint(8) unsigned NOT NULL DEFAULT '0',
+  `hostname` varchar(64) NOT NULL DEFAULT '',
+  PRIMARY KEY (`playlist_id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `music_playlists`
+--
+
+LOCK TABLES `music_playlists` WRITE;
+/*!40000 ALTER TABLE `music_playlists` DISABLE KEYS */;
+/*!40000 ALTER TABLE `music_playlists` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `music_smartplaylist_categories`
+--
+
+DROP TABLE IF EXISTS `music_smartplaylist_categories`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `music_smartplaylist_categories` (
+  `categoryid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `name` varchar(128) NOT NULL,
+  PRIMARY KEY (`categoryid`),
+  KEY `name` (`name`)
+) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `music_smartplaylist_categories`
+--
+
+LOCK TABLES `music_smartplaylist_categories` WRITE;
+/*!40000 ALTER TABLE `music_smartplaylist_categories` DISABLE KEYS */;
+INSERT INTO `music_smartplaylist_categories` VALUES (1,'Decades'),(2,'Favourite Tracks'),(3,'New Tracks');
+/*!40000 ALTER TABLE `music_smartplaylist_categories` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `music_smartplaylist_items`
+--
+
+DROP TABLE IF EXISTS `music_smartplaylist_items`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `music_smartplaylist_items` (
+  `smartplaylistitemid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `smartplaylistid` int(10) unsigned NOT NULL,
+  `field` varchar(50) NOT NULL,
+  `operator` varchar(20) NOT NULL,
+  `value1` varchar(255) NOT NULL,
+  `value2` varchar(255) NOT NULL,
+  PRIMARY KEY (`smartplaylistitemid`),
+  KEY `smartplaylistid` (`smartplaylistid`)
+) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `music_smartplaylist_items`
+--
+
+LOCK TABLES `music_smartplaylist_items` WRITE;
+/*!40000 ALTER TABLE `music_smartplaylist_items` DISABLE KEYS */;
+INSERT INTO `music_smartplaylist_items` VALUES (1,1,'Year','is between','1960','1969'),(2,2,'Year','is between','1970','1979'),(3,3,'Year','is between','1980','1989'),(4,4,'Year','is between','1990','1999'),(5,5,'Year','is between','2000','2009'),(6,6,'Rating','is greater than','7','0'),(7,7,'Play Count','is greater than','0','0'),(8,8,'Play Count','is equal to','0','0');
+/*!40000 ALTER TABLE `music_smartplaylist_items` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `music_smartplaylists`
+--
+
+DROP TABLE IF EXISTS `music_smartplaylists`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `music_smartplaylists` (
+  `smartplaylistid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `name` varchar(128) NOT NULL,
+  `categoryid` int(10) unsigned NOT NULL,
+  `matchtype` set('All','Any') CHARACTER SET latin1 NOT NULL DEFAULT 'All',
+  `orderby` varchar(128) NOT NULL DEFAULT '',
+  `limitto` int(10) unsigned NOT NULL DEFAULT '0',
+  PRIMARY KEY (`smartplaylistid`),
+  KEY `name` (`name`),
+  KEY `categoryid` (`categoryid`)
+) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `music_smartplaylists`
+--
+
+LOCK TABLES `music_smartplaylists` WRITE;
+/*!40000 ALTER TABLE `music_smartplaylists` DISABLE KEYS */;
+INSERT INTO `music_smartplaylists` VALUES (1,'1960\'s',1,'All','Artist (A)',0),(2,'1970\'s',1,'All','Artist (A)',0),(3,'1980\'s',1,'All','Artist (A)',0),(4,'1990\'s',1,'All','Artist (A)',0),(5,'2000\'s',1,'All','Artist (A)',0),(6,'Favorite Tracks',2,'All','Artist (A), Album (A)',0),(7,'100 Most Played Tracks',2,'All','Play Count (D)',100),(8,'Never Played Tracks',3,'All','Artist (A), Album (A)',0);
+/*!40000 ALTER TABLE `music_smartplaylists` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `music_songs`
+--
+
+DROP TABLE IF EXISTS `music_songs`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `music_songs` (
+  `song_id` int(11) unsigned NOT NULL AUTO_INCREMENT,
+  `filename` text NOT NULL,
+  `name` varchar(255) NOT NULL DEFAULT '',
+  `track` smallint(6) unsigned NOT NULL DEFAULT '0',
+  `artist_id` int(11) unsigned NOT NULL DEFAULT '0',
+  `album_id` int(11) unsigned NOT NULL DEFAULT '0',
+  `genre_id` int(11) unsigned NOT NULL DEFAULT '0',
+  `year` smallint(6) NOT NULL DEFAULT '0',
+  `length` int(11) unsigned NOT NULL DEFAULT '0',
+  `numplays` int(11) unsigned NOT NULL DEFAULT '0',
+  `rating` tinyint(4) unsigned NOT NULL DEFAULT '0',
+  `lastplay` datetime DEFAULT NULL,
+  `date_entered` datetime DEFAULT NULL,
+  `date_modified` datetime DEFAULT NULL,
+  `format` varchar(4) NOT NULL DEFAULT '0',
+  `mythdigest` varchar(255) DEFAULT NULL,
+  `size` bigint(20) unsigned DEFAULT NULL,
+  `description` varchar(255) DEFAULT NULL,
+  `comment` varchar(255) DEFAULT NULL,
+  `disc_count` smallint(5) unsigned DEFAULT '0',
+  `disc_number` smallint(5) unsigned DEFAULT '0',
+  `track_count` smallint(5) unsigned DEFAULT '0',
+  `start_time` int(10) unsigned DEFAULT '0',
+  `stop_time` int(10) unsigned DEFAULT NULL,
+  `eq_preset` varchar(255) DEFAULT NULL,
+  `relative_volume` tinyint(4) DEFAULT '0',
+  `sample_rate` int(10) unsigned DEFAULT '0',
+  `bitrate` int(10) unsigned DEFAULT '0',
+  `bpm` smallint(5) unsigned DEFAULT NULL,
+  `directory_id` int(20) NOT NULL DEFAULT '0',
+  PRIMARY KEY (`song_id`),
+  KEY `idx_name` (`name`),
+  KEY `idx_mythdigest` (`mythdigest`),
+  KEY `directory_id` (`directory_id`),
+  KEY `album_id` (`album_id`),
+  KEY `genre_id` (`genre_id`),
+  KEY `artist_id` (`artist_id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `music_songs`
+--
+
+LOCK TABLES `music_songs` WRITE;
+/*!40000 ALTER TABLE `music_songs` DISABLE KEYS */;
+/*!40000 ALTER TABLE `music_songs` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `music_stats`
+--
+
+DROP TABLE IF EXISTS `music_stats`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `music_stats` (
+  `num_artists` smallint(5) unsigned NOT NULL DEFAULT '0',
+  `num_albums` smallint(5) unsigned NOT NULL DEFAULT '0',
+  `num_songs` mediumint(8) unsigned NOT NULL DEFAULT '0',
+  `num_genres` tinyint(3) unsigned NOT NULL DEFAULT '0',
+  `total_time` varchar(12) NOT NULL DEFAULT '0',
+  `total_size` varchar(10) NOT NULL DEFAULT '0'
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `music_stats`
+--
+
+LOCK TABLES `music_stats` WRITE;
+/*!40000 ALTER TABLE `music_stats` DISABLE KEYS */;
+/*!40000 ALTER TABLE `music_stats` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `mythlog`
+--
+
+DROP TABLE IF EXISTS `mythlog`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `mythlog` (
+  `logid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `module` varchar(32) NOT NULL DEFAULT '',
+  `priority` int(11) NOT NULL DEFAULT '0',
+  `acknowledged` tinyint(1) DEFAULT '0',
+  `logdate` datetime DEFAULT NULL,
+  `host` varchar(128) DEFAULT NULL,
+  `message` varchar(255) NOT NULL DEFAULT '',
+  `details` text,
+  PRIMARY KEY (`logid`),
+  KEY `module` (`module`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `mythlog`
+--
+
+LOCK TABLES `mythlog` WRITE;
+/*!40000 ALTER TABLE `mythlog` DISABLE KEYS */;
+/*!40000 ALTER TABLE `mythlog` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `netvisionrssitems`
+--
+
+DROP TABLE IF EXISTS `netvisionrssitems`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `netvisionrssitems` (
+  `feedtitle` varchar(255) NOT NULL,
+  `title` varchar(255) NOT NULL,
+  `description` text NOT NULL,
+  `url` text NOT NULL,
+  `thumbnail` text NOT NULL,
+  `mediaURL` text NOT NULL,
+  `author` varchar(255) NOT NULL,
+  `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+  `time` int(11) NOT NULL,
+  `rating` varchar(255) NOT NULL,
+  `filesize` bigint(20) NOT NULL,
+  `player` varchar(255) NOT NULL,
+  `playerargs` text NOT NULL,
+  `download` varchar(255) NOT NULL,
+  `downloadargs` text NOT NULL,
+  `width` smallint(6) NOT NULL,
+  `height` smallint(6) NOT NULL,
+  `language` varchar(128) DEFAULT NULL,
+  `downloadable` tinyint(1) NOT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `netvisionrssitems`
+--
+
+LOCK TABLES `netvisionrssitems` WRITE;
+/*!40000 ALTER TABLE `netvisionrssitems` DISABLE KEYS */;
+/*!40000 ALTER TABLE `netvisionrssitems` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `netvisionsearchgrabbers`
+--
+
+DROP TABLE IF EXISTS `netvisionsearchgrabbers`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `netvisionsearchgrabbers` (
+  `name` varchar(255) NOT NULL,
+  `thumbnail` varchar(255) DEFAULT NULL,
+  `commandline` text NOT NULL,
+  `host` varchar(128) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `netvisionsearchgrabbers`
+--
+
+LOCK TABLES `netvisionsearchgrabbers` WRITE;
+/*!40000 ALTER TABLE `netvisionsearchgrabbers` DISABLE KEYS */;
+/*!40000 ALTER TABLE `netvisionsearchgrabbers` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `netvisionsites`
+--
+
+DROP TABLE IF EXISTS `netvisionsites`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `netvisionsites` (
+  `name` varchar(255) NOT NULL,
+  `thumbnail` varchar(255) DEFAULT NULL,
+  `description` text,
+  `url` text NOT NULL,
+  `author` varchar(255) DEFAULT NULL,
+  `download` tinyint(1) NOT NULL,
+  `updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+  PRIMARY KEY (`name`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `netvisionsites`
+--
+
+LOCK TABLES `netvisionsites` WRITE;
+/*!40000 ALTER TABLE `netvisionsites` DISABLE KEYS */;
+/*!40000 ALTER TABLE `netvisionsites` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `netvisiontreegrabbers`
+--
+
+DROP TABLE IF EXISTS `netvisiontreegrabbers`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `netvisiontreegrabbers` (
+  `name` varchar(255) NOT NULL,
+  `thumbnail` varchar(255) DEFAULT NULL,
+  `commandline` text NOT NULL,
+  `updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+  `host` varchar(128) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `netvisiontreegrabbers`
+--
+
+LOCK TABLES `netvisiontreegrabbers` WRITE;
+/*!40000 ALTER TABLE `netvisiontreegrabbers` DISABLE KEYS */;
+/*!40000 ALTER TABLE `netvisiontreegrabbers` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `netvisiontreeitems`
+--
+
+DROP TABLE IF EXISTS `netvisiontreeitems`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `netvisiontreeitems` (
+  `feedtitle` varchar(255) NOT NULL,
+  `path` text NOT NULL,
+  `paththumb` text NOT NULL,
+  `title` varchar(255) NOT NULL,
+  `description` text NOT NULL,
+  `url` text NOT NULL,
+  `thumbnail` text NOT NULL,
+  `mediaURL` text NOT NULL,
+  `author` varchar(255) NOT NULL,
+  `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+  `time` int(11) NOT NULL,
+  `rating` varchar(255) NOT NULL,
+  `filesize` bigint(20) NOT NULL,
+  `player` varchar(255) NOT NULL,
+  `playerargs` text NOT NULL,
+  `download` varchar(255) NOT NULL,
+  `downloadargs` text NOT NULL,
+  `width` smallint(6) NOT NULL,
+  `height` smallint(6) NOT NULL,
+  `language` varchar(128) NOT NULL,
+  `downloadable` tinyint(1) NOT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `netvisiontreeitems`
+--
+
+LOCK TABLES `netvisiontreeitems` WRITE;
+/*!40000 ALTER TABLE `netvisiontreeitems` DISABLE KEYS */;
+/*!40000 ALTER TABLE `netvisiontreeitems` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `networkiconmap`
+--
+
+DROP TABLE IF EXISTS `networkiconmap`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `networkiconmap` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `network` varchar(20) NOT NULL DEFAULT '',
+  `url` varchar(255) NOT NULL DEFAULT '',
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `network` (`network`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `networkiconmap`
+--
+
+LOCK TABLES `networkiconmap` WRITE;
+/*!40000 ALTER TABLE `networkiconmap` DISABLE KEYS */;
+/*!40000 ALTER TABLE `networkiconmap` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `newssites`
+--
+
+DROP TABLE IF EXISTS `newssites`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `newssites` (
+  `name` varchar(100) NOT NULL,
+  `category` varchar(255) NOT NULL,
+  `url` varchar(255) NOT NULL,
+  `ico` varchar(255) DEFAULT NULL,
+  `updated` int(10) unsigned DEFAULT NULL,
+  `podcast` tinyint(1) NOT NULL DEFAULT '0',
+  PRIMARY KEY (`name`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `newssites`
+--
+
+LOCK TABLES `newssites` WRITE;
+/*!40000 ALTER TABLE `newssites` DISABLE KEYS */;
+/*!40000 ALTER TABLE `newssites` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `oldfind`
+--
+
+DROP TABLE IF EXISTS `oldfind`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `oldfind` (
+  `recordid` int(11) NOT NULL DEFAULT '0',
+  `findid` int(11) NOT NULL DEFAULT '0',
+  PRIMARY KEY (`recordid`,`findid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `oldfind`
+--
+
+LOCK TABLES `oldfind` WRITE;
+/*!40000 ALTER TABLE `oldfind` DISABLE KEYS */;
+/*!40000 ALTER TABLE `oldfind` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `oldprogram`
+--
+
+DROP TABLE IF EXISTS `oldprogram`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `oldprogram` (
+  `oldtitle` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
+  `airdate` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  PRIMARY KEY (`oldtitle`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `oldprogram`
+--
+
+LOCK TABLES `oldprogram` WRITE;
+/*!40000 ALTER TABLE `oldprogram` DISABLE KEYS */;
+/*!40000 ALTER TABLE `oldprogram` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `oldrecorded`
+--
+
+DROP TABLE IF EXISTS `oldrecorded`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `oldrecorded` (
+  `chanid` int(10) unsigned NOT NULL DEFAULT '0',
+  `starttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `endtime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `title` varchar(128) NOT NULL DEFAULT '',
+  `subtitle` varchar(128) NOT NULL DEFAULT '',
+  `description` text NOT NULL,
+  `category` varchar(64) NOT NULL DEFAULT '',
+  `seriesid` varchar(40) NOT NULL DEFAULT '',
+  `programid` varchar(40) NOT NULL DEFAULT '',
+  `findid` int(11) NOT NULL DEFAULT '0',
+  `recordid` int(11) NOT NULL DEFAULT '0',
+  `station` varchar(20) NOT NULL DEFAULT '',
+  `rectype` int(10) unsigned NOT NULL DEFAULT '0',
+  `duplicate` tinyint(1) NOT NULL DEFAULT '0',
+  `recstatus` int(11) NOT NULL DEFAULT '0',
+  `reactivate` smallint(6) NOT NULL DEFAULT '0',
+  `generic` tinyint(1) DEFAULT '0',
+  PRIMARY KEY (`station`,`starttime`,`title`),
+  KEY `endtime` (`endtime`),
+  KEY `title` (`title`),
+  KEY `seriesid` (`seriesid`),
+  KEY `programid` (`programid`),
+  KEY `recordid` (`recordid`),
+  KEY `recstatus` (`recstatus`,`programid`,`seriesid`),
+  KEY `recstatus_2` (`recstatus`,`title`,`subtitle`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `oldrecorded`
+--
+
+LOCK TABLES `oldrecorded` WRITE;
+/*!40000 ALTER TABLE `oldrecorded` DISABLE KEYS */;
+/*!40000 ALTER TABLE `oldrecorded` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `people`
+--
+
+DROP TABLE IF EXISTS `people`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `people` (
+  `person` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
+  `name` varchar(128) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
+  PRIMARY KEY (`person`),
+  UNIQUE KEY `name` (`name`(41))
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `people`
+--
+
+LOCK TABLES `people` WRITE;
+/*!40000 ALTER TABLE `people` DISABLE KEYS */;
+/*!40000 ALTER TABLE `people` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `phonecallhistory`
+--
+
+DROP TABLE IF EXISTS `phonecallhistory`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `phonecallhistory` (
+  `recid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `displayname` text NOT NULL,
+  `url` text NOT NULL,
+  `timestamp` text NOT NULL,
+  `duration` int(10) unsigned NOT NULL,
+  `directionin` int(10) unsigned NOT NULL,
+  `directoryref` int(10) unsigned DEFAULT NULL,
+  PRIMARY KEY (`recid`)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `phonecallhistory`
+--
+
+LOCK TABLES `phonecallhistory` WRITE;
+/*!40000 ALTER TABLE `phonecallhistory` DISABLE KEYS */;
+/*!40000 ALTER TABLE `phonecallhistory` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `phonedirectory`
+--
+
+DROP TABLE IF EXISTS `phonedirectory`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `phonedirectory` (
+  `intid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `nickname` text NOT NULL,
+  `firstname` text,
+  `surname` text,
+  `url` text NOT NULL,
+  `directory` text NOT NULL,
+  `photofile` text,
+  `speeddial` int(10) unsigned NOT NULL,
+  `onhomelan` int(10) unsigned DEFAULT '0',
+  PRIMARY KEY (`intid`)
+) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `phonedirectory`
+--
+
+LOCK TABLES `phonedirectory` WRITE;
+/*!40000 ALTER TABLE `phonedirectory` DISABLE KEYS */;
+INSERT INTO `phonedirectory` VALUES (1,'Me(OLDHOSTNAME)','Local Myth Host','OLDHOSTNAME','','My MythTVs','',1,1);
+/*!40000 ALTER TABLE `phonedirectory` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `pidcache`
+--
+
+DROP TABLE IF EXISTS `pidcache`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `pidcache` (
+  `chanid` smallint(6) NOT NULL DEFAULT '0',
+  `pid` int(11) NOT NULL DEFAULT '-1',
+  `tableid` int(11) NOT NULL DEFAULT '-1',
+  KEY `chanid` (`chanid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `pidcache`
+--
+
+LOCK TABLES `pidcache` WRITE;
+/*!40000 ALTER TABLE `pidcache` DISABLE KEYS */;
+/*!40000 ALTER TABLE `pidcache` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `playgroup`
+--
+
+DROP TABLE IF EXISTS `playgroup`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `playgroup` (
+  `name` varchar(32) NOT NULL DEFAULT '',
+  `titlematch` varchar(255) NOT NULL DEFAULT '',
+  `skipahead` int(11) NOT NULL DEFAULT '0',
+  `skipback` int(11) NOT NULL DEFAULT '0',
+  `timestretch` int(11) NOT NULL DEFAULT '0',
+  `jump` int(11) NOT NULL DEFAULT '0',
+  PRIMARY KEY (`name`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `playgroup`
+--
+
+LOCK TABLES `playgroup` WRITE;
+/*!40000 ALTER TABLE `playgroup` DISABLE KEYS */;
+INSERT INTO `playgroup` VALUES ('Default','',30,5,100,0);
+/*!40000 ALTER TABLE `playgroup` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `powerpriority`
+--
+
+DROP TABLE IF EXISTS `powerpriority`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `powerpriority` (
+  `priorityname` varchar(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
+  `recpriority` int(10) NOT NULL DEFAULT '0',
+  `selectclause` text NOT NULL,
+  PRIMARY KEY (`priorityname`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `powerpriority`
+--
+
+LOCK TABLES `powerpriority` WRITE;
+/*!40000 ALTER TABLE `powerpriority` DISABLE KEYS */;
+/*!40000 ALTER TABLE `powerpriority` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `profilegroups`
+--
+
+DROP TABLE IF EXISTS `profilegroups`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `profilegroups` (
+  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `name` varchar(128) DEFAULT NULL,
+  `cardtype` varchar(32) NOT NULL DEFAULT 'V4L',
+  `is_default` int(1) DEFAULT '0',
+  `hostname` varchar(64) DEFAULT NULL,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `name` (`name`,`hostname`),
+  KEY `cardtype` (`cardtype`)
+) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `profilegroups`
+--
+
+LOCK TABLES `profilegroups` WRITE;
+/*!40000 ALTER TABLE `profilegroups` DISABLE KEYS */;
+INSERT INTO `profilegroups` VALUES (1,'Software Encoders (v4l based)','V4L',1,NULL),(2,'MPEG-2 Encoders (PVR-x50, PVR-500)','MPEG',1,NULL),(3,'Hardware MJPEG Encoders (Matrox G200-TV, Miro DC10, etc)','MJPEG',1,NULL),(4,'Hardware HDTV','HDTV',1,NULL),(5,'Hardware DVB Encoders','DVB',1,NULL),(6,'Transcoders','TRANSCODE',1,NULL),(7,'FireWire Input','FIREWIRE',1,NULL),(8,'USB Mpeg-4 Encoder (Plextor ConvertX, etc)','GO7007',1,NULL),(14,'Import Recorder','IMPORT',1,NULL),(10,'Freebox Input','Freebox',1,NULL),(11,'HDHomeRun Recorders','HDHOMERUN',1,NULL),(12,'CRC IP Recorders','CRC_IP',1,NULL),(13,'HD-PVR Recorders','HDPVR',1,NULL);
+/*!40000 ALTER TABLE `profilegroups` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `program`
+--
+
+DROP TABLE IF EXISTS `program`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `program` (
+  `chanid` int(10) unsigned NOT NULL DEFAULT '0',
+  `starttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `endtime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `title` varchar(128) NOT NULL DEFAULT '',
+  `subtitle` varchar(128) NOT NULL DEFAULT '',
+  `description` text NOT NULL,
+  `category` varchar(64) NOT NULL DEFAULT '',
+  `category_type` varchar(64) NOT NULL DEFAULT '',
+  `airdate` year(4) NOT NULL DEFAULT '0000',
+  `stars` float NOT NULL DEFAULT '0',
+  `previouslyshown` tinyint(4) NOT NULL DEFAULT '0',
+  `title_pronounce` varchar(128) NOT NULL DEFAULT '',
+  `stereo` tinyint(1) NOT NULL DEFAULT '0',
+  `subtitled` tinyint(1) NOT NULL DEFAULT '0',
+  `hdtv` tinyint(1) NOT NULL DEFAULT '0',
+  `closecaptioned` tinyint(1) NOT NULL DEFAULT '0',
+  `partnumber` int(11) NOT NULL DEFAULT '0',
+  `parttotal` int(11) NOT NULL DEFAULT '0',
+  `seriesid` varchar(64) NOT NULL DEFAULT '',
+  `originalairdate` date DEFAULT NULL,
+  `showtype` varchar(30) NOT NULL DEFAULT '',
+  `colorcode` varchar(20) NOT NULL DEFAULT '',
+  `syndicatedepisodenumber` varchar(20) NOT NULL DEFAULT '',
+  `programid` varchar(64) NOT NULL DEFAULT '',
+  `manualid` int(10) unsigned NOT NULL DEFAULT '0',
+  `generic` tinyint(1) DEFAULT '0',
+  `listingsource` int(11) NOT NULL DEFAULT '0',
+  `first` tinyint(1) NOT NULL DEFAULT '0',
+  `last` tinyint(1) NOT NULL DEFAULT '0',
+  `audioprop` set('STEREO','MONO','SURROUND','DOLBY','HARDHEAR','VISUALIMPAIR') CHARACTER SET latin1 NOT NULL,
+  `subtitletypes` set('HARDHEAR','NORMAL','ONSCREEN','SIGNED') CHARACTER SET latin1 NOT NULL,
+  `videoprop` set('HDTV','WIDESCREEN','AVC') CHARACTER SET latin1 NOT NULL,
+  PRIMARY KEY (`chanid`,`starttime`,`manualid`),
+  KEY `endtime` (`endtime`),
+  KEY `title` (`title`),
+  KEY `title_pronounce` (`title_pronounce`),
+  KEY `seriesid` (`seriesid`),
+  KEY `id_start_end` (`chanid`,`starttime`,`endtime`),
+  KEY `program_manualid` (`manualid`),
+  KEY `previouslyshown` (`previouslyshown`),
+  KEY `programid` (`programid`,`starttime`),
+  KEY `starttime` (`starttime`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `program`
+--
+
+LOCK TABLES `program` WRITE;
+/*!40000 ALTER TABLE `program` DISABLE KEYS */;
+/*!40000 ALTER TABLE `program` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `programgenres`
+--
+
+DROP TABLE IF EXISTS `programgenres`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `programgenres` (
+  `chanid` int(10) unsigned NOT NULL DEFAULT '0',
+  `starttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `relevance` char(1) NOT NULL DEFAULT '',
+  `genre` varchar(30) DEFAULT NULL,
+  PRIMARY KEY (`chanid`,`starttime`,`relevance`),
+  KEY `genre` (`genre`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `programgenres`
+--
+
+LOCK TABLES `programgenres` WRITE;
+/*!40000 ALTER TABLE `programgenres` DISABLE KEYS */;
+/*!40000 ALTER TABLE `programgenres` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `programrating`
+--
+
+DROP TABLE IF EXISTS `programrating`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `programrating` (
+  `chanid` int(10) unsigned NOT NULL DEFAULT '0',
+  `starttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `system` varchar(8) DEFAULT NULL,
+  `rating` varchar(16) DEFAULT NULL,
+  UNIQUE KEY `chanid` (`chanid`,`starttime`,`system`,`rating`),
+  KEY `starttime` (`starttime`,`system`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `programrating`
+--
+
+LOCK TABLES `programrating` WRITE;
+/*!40000 ALTER TABLE `programrating` DISABLE KEYS */;
+/*!40000 ALTER TABLE `programrating` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `recgrouppassword`
+--
+
+DROP TABLE IF EXISTS `recgrouppassword`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `recgrouppassword` (
+  `recgroup` varchar(32) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
+  `password` varchar(10) NOT NULL DEFAULT '',
+  PRIMARY KEY (`recgroup`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `recgrouppassword`
+--
+
+LOCK TABLES `recgrouppassword` WRITE;
+/*!40000 ALTER TABLE `recgrouppassword` DISABLE KEYS */;
+/*!40000 ALTER TABLE `recgrouppassword` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `record`
+--
+
+DROP TABLE IF EXISTS `record`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `record` (
+  `recordid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `type` int(10) unsigned NOT NULL DEFAULT '0',
+  `chanid` int(10) unsigned DEFAULT NULL,
+  `starttime` time NOT NULL DEFAULT '00:00:00',
+  `startdate` date NOT NULL DEFAULT '0000-00-00',
+  `endtime` time NOT NULL DEFAULT '00:00:00',
+  `enddate` date NOT NULL DEFAULT '0000-00-00',
+  `title` varchar(128) NOT NULL DEFAULT '',
+  `subtitle` varchar(128) NOT NULL DEFAULT '',
+  `description` text NOT NULL,
+  `category` varchar(64) NOT NULL DEFAULT '',
+  `profile` varchar(128) NOT NULL DEFAULT 'Default',
+  `recpriority` int(10) NOT NULL DEFAULT '0',
+  `autoexpire` int(11) NOT NULL DEFAULT '0',
+  `maxepisodes` int(11) NOT NULL DEFAULT '0',
+  `maxnewest` int(11) NOT NULL DEFAULT '0',
+  `startoffset` int(11) NOT NULL DEFAULT '0',
+  `endoffset` int(11) NOT NULL DEFAULT '0',
+  `recgroup` varchar(32) NOT NULL DEFAULT 'Default',
+  `dupmethod` int(11) NOT NULL DEFAULT '6',
+  `dupin` int(11) NOT NULL DEFAULT '15',
+  `station` varchar(20) NOT NULL DEFAULT '',
+  `seriesid` varchar(40) NOT NULL DEFAULT '',
+  `programid` varchar(40) NOT NULL DEFAULT '',
+  `search` int(10) unsigned NOT NULL DEFAULT '0',
+  `autotranscode` tinyint(1) NOT NULL DEFAULT '0',
+  `autocommflag` tinyint(1) NOT NULL DEFAULT '0',
+  `autouserjob1` tinyint(1) NOT NULL DEFAULT '0',
+  `autouserjob2` tinyint(1) NOT NULL DEFAULT '0',
+  `autouserjob3` tinyint(1) NOT NULL DEFAULT '0',
+  `autouserjob4` tinyint(1) NOT NULL DEFAULT '0',
+  `findday` tinyint(4) NOT NULL DEFAULT '0',
+  `findtime` time NOT NULL DEFAULT '00:00:00',
+  `findid` int(11) NOT NULL DEFAULT '0',
+  `inactive` tinyint(1) NOT NULL DEFAULT '0',
+  `parentid` int(11) NOT NULL DEFAULT '0',
+  `transcoder` int(11) NOT NULL DEFAULT '0',
+  `tsdefault` float NOT NULL DEFAULT '1',
+  `playgroup` varchar(32) NOT NULL DEFAULT 'Default',
+  `prefinput` int(10) NOT NULL DEFAULT '0',
+  `next_record` datetime NOT NULL,
+  `last_record` datetime NOT NULL,
+  `last_delete` datetime NOT NULL,
+  `storagegroup` varchar(32) NOT NULL DEFAULT 'Default',
+  `avg_delay` int(11) NOT NULL DEFAULT '100',
+  PRIMARY KEY (`recordid`),
+  KEY `chanid` (`chanid`,`starttime`),
+  KEY `title` (`title`),
+  KEY `seriesid` (`seriesid`),
+  KEY `programid` (`programid`),
+  KEY `maxepisodes` (`maxepisodes`),
+  KEY `search` (`search`),
+  KEY `type` (`type`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `record`
+--
+
+LOCK TABLES `record` WRITE;
+/*!40000 ALTER TABLE `record` DISABLE KEYS */;
+/*!40000 ALTER TABLE `record` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `recorded`
+--
+
+DROP TABLE IF EXISTS `recorded`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `recorded` (
+  `chanid` int(10) unsigned NOT NULL DEFAULT '0',
+  `starttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `endtime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `title` varchar(128) NOT NULL DEFAULT '',
+  `subtitle` varchar(128) NOT NULL DEFAULT '',
+  `description` text NOT NULL,
+  `category` varchar(64) NOT NULL DEFAULT '',
+  `hostname` varchar(64) NOT NULL DEFAULT '',
+  `bookmark` tinyint(1) NOT NULL DEFAULT '0',
+  `editing` int(10) unsigned NOT NULL DEFAULT '0',
+  `cutlist` tinyint(1) NOT NULL DEFAULT '0',
+  `autoexpire` int(11) NOT NULL DEFAULT '0',
+  `commflagged` int(10) unsigned NOT NULL DEFAULT '0',
+  `recgroup` varchar(32) NOT NULL DEFAULT 'Default',
+  `recordid` int(11) DEFAULT NULL,
+  `seriesid` varchar(40) NOT NULL DEFAULT '',
+  `programid` varchar(40) NOT NULL DEFAULT '',
+  `lastmodified` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+  `filesize` bigint(20) NOT NULL DEFAULT '0',
+  `stars` float NOT NULL DEFAULT '0',
+  `previouslyshown` tinyint(1) DEFAULT '0',
+  `originalairdate` date DEFAULT NULL,
+  `preserve` tinyint(1) NOT NULL DEFAULT '0',
+  `findid` int(11) NOT NULL DEFAULT '0',
+  `deletepending` tinyint(1) NOT NULL DEFAULT '0',
+  `transcoder` int(11) NOT NULL DEFAULT '0',
+  `timestretch` float NOT NULL DEFAULT '1',
+  `recpriority` int(11) NOT NULL DEFAULT '0',
+  `basename` varchar(255) NOT NULL,
+  `progstart` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `progend` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `playgroup` varchar(32) NOT NULL DEFAULT 'Default',
+  `profile` varchar(32) NOT NULL DEFAULT '',
+  `duplicate` tinyint(1) NOT NULL DEFAULT '0',
+  `transcoded` tinyint(1) NOT NULL DEFAULT '0',
+  `watched` tinyint(4) NOT NULL DEFAULT '0',
+  `storagegroup` varchar(32) NOT NULL DEFAULT 'Default',
+  `bookmarkupdate` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
+  PRIMARY KEY (`chanid`,`starttime`),
+  KEY `endtime` (`endtime`),
+  KEY `seriesid` (`seriesid`),
+  KEY `programid` (`programid`),
+  KEY `title` (`title`),
+  KEY `recordid` (`recordid`),
+  KEY `deletepending` (`deletepending`,`lastmodified`),
+  KEY `recgroup` (`recgroup`,`endtime`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `recorded`
+--
+
+LOCK TABLES `recorded` WRITE;
+/*!40000 ALTER TABLE `recorded` DISABLE KEYS */;
+/*!40000 ALTER TABLE `recorded` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `recordedcredits`
+--
+
+DROP TABLE IF EXISTS `recordedcredits`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `recordedcredits` (
+  `person` mediumint(8) unsigned NOT NULL DEFAULT '0',
+  `chanid` int(10) unsigned NOT NULL DEFAULT '0',
+  `starttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `role` set('actor','director','producer','executive_producer','writer','guest_star','host','adapter','presenter','commentator','guest') CHARACTER SET latin1 NOT NULL DEFAULT '',
+  UNIQUE KEY `chanid` (`chanid`,`starttime`,`person`,`role`),
+  KEY `person` (`person`,`role`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `recordedcredits`
+--
+
+LOCK TABLES `recordedcredits` WRITE;
+/*!40000 ALTER TABLE `recordedcredits` DISABLE KEYS */;
+/*!40000 ALTER TABLE `recordedcredits` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `recordedfile`
+--
+
+DROP TABLE IF EXISTS `recordedfile`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `recordedfile` (
+  `chanid` int(10) unsigned NOT NULL DEFAULT '0',
+  `starttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `basename` varchar(128) NOT NULL DEFAULT '',
+  `filesize` bigint(20) NOT NULL DEFAULT '0',
+  `width` smallint(5) unsigned NOT NULL DEFAULT '0',
+  `height` smallint(5) unsigned NOT NULL DEFAULT '0',
+  `fps` float(6,3) NOT NULL DEFAULT '0.000',
+  `aspect` float(8,6) NOT NULL DEFAULT '0.000000',
+  `audio_sample_rate` smallint(5) unsigned NOT NULL DEFAULT '0',
+  `audio_bits_per_sample` smallint(5) unsigned NOT NULL DEFAULT '0',
+  `audio_channels` tinyint(3) unsigned NOT NULL DEFAULT '0',
+  `audio_type` varchar(255) NOT NULL DEFAULT '',
+  `video_type` varchar(255) NOT NULL DEFAULT '',
+  `comment` varchar(255) NOT NULL DEFAULT '',
+  `hostname` varchar(64) NOT NULL,
+  `storagegroup` varchar(32) NOT NULL,
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `chanid` (`chanid`,`starttime`,`basename`),
+  KEY `basename` (`basename`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `recordedfile`
+--
+
+LOCK TABLES `recordedfile` WRITE;
+/*!40000 ALTER TABLE `recordedfile` DISABLE KEYS */;
+/*!40000 ALTER TABLE `recordedfile` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `recordedmarkup`
+--
+
+DROP TABLE IF EXISTS `recordedmarkup`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `recordedmarkup` (
+  `chanid` int(10) unsigned NOT NULL DEFAULT '0',
+  `starttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `mark` mediumint(8) unsigned NOT NULL DEFAULT '0',
+  `type` tinyint(4) NOT NULL DEFAULT '0',
+  `data` int(11) unsigned DEFAULT NULL,
+  PRIMARY KEY (`chanid`,`starttime`,`type`,`mark`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `recordedmarkup`
+--
+
+LOCK TABLES `recordedmarkup` WRITE;
+/*!40000 ALTER TABLE `recordedmarkup` DISABLE KEYS */;
+/*!40000 ALTER TABLE `recordedmarkup` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `recordedprogram`
+--
+
+DROP TABLE IF EXISTS `recordedprogram`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `recordedprogram` (
+  `chanid` int(10) unsigned NOT NULL DEFAULT '0',
+  `starttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `endtime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `title` varchar(128) NOT NULL DEFAULT '',
+  `subtitle` varchar(128) NOT NULL DEFAULT '',
+  `description` text NOT NULL,
+  `category` varchar(64) NOT NULL DEFAULT '',
+  `category_type` varchar(64) NOT NULL DEFAULT '',
+  `airdate` year(4) NOT NULL DEFAULT '0000',
+  `stars` float unsigned NOT NULL DEFAULT '0',
+  `previouslyshown` tinyint(4) NOT NULL DEFAULT '0',
+  `title_pronounce` varchar(128) NOT NULL DEFAULT '',
+  `stereo` tinyint(1) NOT NULL DEFAULT '0',
+  `subtitled` tinyint(1) NOT NULL DEFAULT '0',
+  `hdtv` tinyint(1) NOT NULL DEFAULT '0',
+  `closecaptioned` tinyint(1) NOT NULL DEFAULT '0',
+  `partnumber` int(11) NOT NULL DEFAULT '0',
+  `parttotal` int(11) NOT NULL DEFAULT '0',
+  `seriesid` varchar(40) NOT NULL DEFAULT '',
+  `originalairdate` date DEFAULT NULL,
+  `showtype` varchar(30) NOT NULL DEFAULT '',
+  `colorcode` varchar(20) NOT NULL DEFAULT '',
+  `syndicatedepisodenumber` varchar(20) NOT NULL DEFAULT '',
+  `programid` varchar(40) NOT NULL DEFAULT '',
+  `manualid` int(10) unsigned NOT NULL DEFAULT '0',
+  `generic` tinyint(1) DEFAULT '0',
+  `listingsource` int(11) NOT NULL DEFAULT '0',
+  `first` tinyint(1) NOT NULL DEFAULT '0',
+  `last` tinyint(1) NOT NULL DEFAULT '0',
+  `audioprop` set('STEREO','MONO','SURROUND','DOLBY','HARDHEAR','VISUALIMPAIR') CHARACTER SET latin1 NOT NULL,
+  `subtitletypes` set('HARDHEAR','NORMAL','ONSCREEN','SIGNED') CHARACTER SET latin1 NOT NULL,
+  `videoprop` set('HDTV','WIDESCREEN','AVC','720','1080') NOT NULL,
+  PRIMARY KEY (`chanid`,`starttime`,`manualid`),
+  KEY `endtime` (`endtime`),
+  KEY `title` (`title`),
+  KEY `title_pronounce` (`title_pronounce`),
+  KEY `seriesid` (`seriesid`),
+  KEY `programid` (`programid`),
+  KEY `id_start_end` (`chanid`,`starttime`,`endtime`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `recordedprogram`
+--
+
+LOCK TABLES `recordedprogram` WRITE;
+/*!40000 ALTER TABLE `recordedprogram` DISABLE KEYS */;
+/*!40000 ALTER TABLE `recordedprogram` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `recordedrating`
+--
+
+DROP TABLE IF EXISTS `recordedrating`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `recordedrating` (
+  `chanid` int(10) unsigned NOT NULL DEFAULT '0',
+  `starttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `system` varchar(8) DEFAULT NULL,
+  `rating` varchar(16) DEFAULT NULL,
+  UNIQUE KEY `chanid` (`chanid`,`starttime`,`system`,`rating`),
+  KEY `starttime` (`starttime`,`system`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `recordedrating`
+--
+
+LOCK TABLES `recordedrating` WRITE;
+/*!40000 ALTER TABLE `recordedrating` DISABLE KEYS */;
+/*!40000 ALTER TABLE `recordedrating` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `recordedseek`
+--
+
+DROP TABLE IF EXISTS `recordedseek`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `recordedseek` (
+  `chanid` int(10) unsigned NOT NULL DEFAULT '0',
+  `starttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `mark` mediumint(8) unsigned NOT NULL DEFAULT '0',
+  `offset` bigint(20) unsigned NOT NULL,
+  `type` tinyint(4) NOT NULL DEFAULT '0',
+  PRIMARY KEY (`chanid`,`starttime`,`type`,`mark`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `recordedseek`
+--
+
+LOCK TABLES `recordedseek` WRITE;
+/*!40000 ALTER TABLE `recordedseek` DISABLE KEYS */;
+/*!40000 ALTER TABLE `recordedseek` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `recordingprofiles`
+--
+
+DROP TABLE IF EXISTS `recordingprofiles`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `recordingprofiles` (
+  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `name` varchar(128) DEFAULT NULL,
+  `videocodec` varchar(128) DEFAULT NULL,
+  `audiocodec` varchar(128) DEFAULT NULL,
+  `profilegroup` int(10) unsigned NOT NULL DEFAULT '0',
+  PRIMARY KEY (`id`),
+  KEY `profilegroup` (`profilegroup`)
+) ENGINE=MyISAM AUTO_INCREMENT=58 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `recordingprofiles`
+--
+
+LOCK TABLES `recordingprofiles` WRITE;
+/*!40000 ALTER TABLE `recordingprofiles` DISABLE KEYS */;
+INSERT INTO `recordingprofiles` VALUES (1,'Default',NULL,NULL,1),(2,'Live TV',NULL,NULL,1),(3,'High Quality',NULL,NULL,1),(4,'Low Quality',NULL,NULL,1),(5,'Default',NULL,NULL,2),(6,'Live TV',NULL,NULL,2),(7,'High Quality',NULL,NULL,2),(8,'Low Quality',NULL,NULL,2),(9,'Default',NULL,NULL,3),(10,'Live TV',NULL,NULL,3),(11,'High Quality',NULL,NULL,3),(12,'Low Quality',NULL,NULL,3),(13,'Default',NULL,NULL,4),(14,'Live TV',NULL,NULL,4),(15,'High Quality',NULL,NULL,4),(16,'Low Quality',NULL,NULL,4),(17,'Default',NULL,NULL,5),(18,'Live TV',NULL,NULL,5),(19,'High Quality',NULL,NULL,5),(20,'Low Quality',NULL,NULL,5),(21,'RTjpeg/MPEG4',NULL,NULL,6),(22,'MPEG2',NULL,NULL,6),(23,'Default',NULL,NULL,8),(24,'Live TV',NULL,NULL,8),(25,'High Quality',NULL,NULL,8),(26,'Low Quality',NULL,NULL,8),(27,'High Quality',NULL,NULL,6),(28,'Medium Quality',NULL,NULL,6),(29,'Low Quality',NULL,NULL,6),(30,'Default',NULL,NULL,10),(31,'Live TV',NULL,NULL,10),(32,'High Quality',NULL,NULL,10),(33,'Low Quality',NULL,NULL,10),(34,'Default',NULL,NULL,11),(35,'Live TV',NULL,NULL,11),(36,'High Quality',NULL,NULL,11),(37,'Low Quality',NULL,NULL,11),(38,'Default',NULL,NULL,12),(39,'Live TV',NULL,NULL,12),(40,'High Quality',NULL,NULL,12),(41,'Low Quality',NULL,NULL,12),(42,'Default',NULL,NULL,7),(43,'Live TV',NULL,NULL,7),(44,'High Quality',NULL,NULL,7),(45,'Low Quality',NULL,NULL,7),(46,'Default',NULL,NULL,9),(47,'Live TV',NULL,NULL,9),(48,'High Quality',NULL,NULL,9),(49,'Low Quality',NULL,NULL,9),(50,'Default',NULL,NULL,13),(51,'Live TV',NULL,NULL,13),(52,'High Quality',NULL,NULL,13),(53,'Low Quality',NULL,NULL,13),(54,'Default',NULL,NULL,14),(55,'Live TV',NULL,NULL,14),(56,'High Quality',NULL,NULL,14),(57,'Low Quality',NULL,NULL,14);
+/*!40000 ALTER TABLE `recordingprofiles` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `recordmatch`
+--
+
+DROP TABLE IF EXISTS `recordmatch`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `recordmatch` (
+  `recordid` int(10) unsigned DEFAULT NULL,
+  `chanid` int(10) unsigned DEFAULT NULL,
+  `starttime` datetime DEFAULT NULL,
+  `manualid` int(10) unsigned DEFAULT NULL,
+  `oldrecduplicate` tinyint(1) DEFAULT NULL,
+  `recduplicate` tinyint(1) DEFAULT NULL,
+  `findduplicate` tinyint(1) DEFAULT NULL,
+  `oldrecstatus` int(11) DEFAULT NULL,
+  KEY `recordid` (`recordid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `recordmatch`
+--
+
+LOCK TABLES `recordmatch` WRITE;
+/*!40000 ALTER TABLE `recordmatch` DISABLE KEYS */;
+/*!40000 ALTER TABLE `recordmatch` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `romdb`
+--
+
+DROP TABLE IF EXISTS `romdb`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `romdb` (
+  `crc` varchar(64) NOT NULL DEFAULT '',
+  `name` varchar(128) NOT NULL DEFAULT '',
+  `description` varchar(128) NOT NULL DEFAULT '',
+  `category` varchar(128) NOT NULL DEFAULT '',
+  `year` varchar(10) NOT NULL DEFAULT '',
+  `manufacturer` varchar(128) NOT NULL DEFAULT '',
+  `country` varchar(128) NOT NULL DEFAULT '',
+  `publisher` varchar(128) NOT NULL DEFAULT '',
+  `platform` varchar(64) NOT NULL DEFAULT '',
+  `filesize` int(12) DEFAULT NULL,
+  `flags` varchar(64) NOT NULL DEFAULT '',
+  `version` varchar(64) NOT NULL DEFAULT '',
+  `binfile` varchar(64) NOT NULL DEFAULT '',
+  KEY `crc` (`crc`),
+  KEY `year` (`year`),
+  KEY `category` (`category`),
+  KEY `name` (`name`),
+  KEY `description` (`description`),
+  KEY `platform` (`platform`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `romdb`
+--
+
+LOCK TABLES `romdb` WRITE;
+/*!40000 ALTER TABLE `romdb` DISABLE KEYS */;
+/*!40000 ALTER TABLE `romdb` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `schemalock`
+--
+
+DROP TABLE IF EXISTS `schemalock`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `schemalock` (
+  `schemalock` int(1) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `schemalock`
+--
+
+LOCK TABLES `schemalock` WRITE;
+/*!40000 ALTER TABLE `schemalock` DISABLE KEYS */;
+/*!40000 ALTER TABLE `schemalock` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `settings`
+--
+
+DROP TABLE IF EXISTS `settings`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `settings` (
+  `value` varchar(128) NOT NULL DEFAULT '',
+  `data` text,
+  `hostname` varchar(64) DEFAULT NULL,
+  KEY `value` (`value`,`hostname`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `settings`
+--
+
+LOCK TABLES `settings` WRITE;
+/*!40000 ALTER TABLE `settings` DISABLE KEYS */;
+INSERT INTO `settings` VALUES ('mythfilldatabaseLastRunStart',NULL,NULL),('mythfilldatabaseLastRunEnd',NULL,NULL),('mythfilldatabaseLastRunStatus',NULL,NULL),('DataDirectMessage',NULL,NULL),('HaveRepeats','0',NULL),('DBSchemaVer','1254',NULL),('DefaultTranscoder','0',NULL),('MythFillSuggestedRunTime','1970-01-01T00:00:00',NULL),('MythFillGrabberSuggestsTime','1',NULL),('BackendServerIP','127.0.0.1','OLDHOSTNAME'),('BackendServerPort','6543','OLDHOSTNAME'),('BackendStatusPort','6544','OLDHOSTNAME'),('MasterServerIP','127.0.0.1',NULL),('MasterServerPort','6543',NULL),('RecordFilePrefix','/var/lib/mythtv/recordings','OLDHOSTNAME'),('TruncateDeletesSlowly','1','OLDHOSTNAME'),('TVFormat','NTSC',NULL),('VbiFormat','None',NULL),('FreqTable','us-bcast',NULL),('TimeOffset','None',NULL),('MasterBackendOverride','1',NULL),('DeletesFollowLinks','0',NULL),('EITTimeOffset','Auto',NULL),('EITTransportTimeout','5',NULL),('EITIgnoresSource','0',NULL),('EITCrawIdleStart','60',NULL),('startupCommand','',NULL),('blockSDWUwithoutClient','1',NULL),('idleTimeoutSecs','0',NULL),('idleWaitForRecordingTime','15',NULL),('StartupSecsBeforeRecording','120',NULL),('WakeupTimeFormat','hh:mm yyyy-MM-dd',NULL),('SetWakeuptimeCommand','',NULL),('ServerHaltCommand','sudo /sbin/halt -p',NULL),('preSDWUCheckCommand','',NULL),('WOLbackendReconnectWaitTime','0',NULL),('WOLbackendConnectRetry','5',NULL),('WOLbackendCommand','',NULL),('WOLslaveBackendsCommand','',NULL),('JobQueueMaxSimultaneousJobs','1','OLDHOSTNAME'),('JobQueueCheckFrequency','60','OLDHOSTNAME'),('JobQueueWindowStart','00:00','OLDHOSTNAME'),('JobQueueWindowEnd','23:59','OLDHOSTNAME'),('JobQueueCPU','0','OLDHOSTNAME'),('JobAllowCommFlag','1','OLDHOSTNAME'),('JobAllowTranscode','1','OLDHOSTNAME'),('JobAllowUserJob1','0','OLDHOSTNAME'),('JobAllowUserJob2','0','OLDHOSTNAME'),('JobAllowUserJob3','0','OLDHOSTNAME'),('JobAllowUserJob4','0','OLDHOSTNAME'),('JobsRunOnRecordHost','0',NULL),('AutoCommflagWhileRecording','0',NULL),('JobQueueCommFlagCommand','mythcommflag',NULL),('JobQueueTranscodeCommand','mythtranscode',NULL),('AutoTranscodeBeforeAutoCommflag','0',NULL),('SaveTranscoding','0',NULL),('UserJobDesc1','User Job #1',NULL),('UserJob1','',NULL),('UserJobDesc2','User Job #2',NULL),('UserJob2','',NULL),('UserJobDesc3','User Job #3',NULL),('UserJob3','',NULL),('UserJobDesc4','User Job #4',NULL),('UserJob4','',NULL),('upnp:UDN:urn:schemas-upnp-org:device:MediaServer:1','256a89b4-1266-49ca-9ac7-f0b4b4641e7f','OLDHOSTNAME'),('Deinterlace','0','OLDHOSTNAME'),('DeinterlaceFilter','linearblend','OLDHOSTNAME'),('CustomFilters','','OLDHOSTNAME'),('PreferredMPEG2Decoder','ffmpeg','OLDHOSTNAME'),('UseOpenGLVSync','0','OLDHOSTNAME'),('RealtimePriority','1','OLDHOSTNAME'),('UseVideoTimebase','0','OLDHOSTNAME'),('DecodeExtraAudio','1','OLDHOSTNAME'),('AspectOverride','0','OLDHOSTNAME'),('PIPLocation','0','OLDHOSTNAME'),('PlaybackExitPrompt','0','OLDHOSTNAME'),('EndOfRecordingExitPrompt','0','OLDHOSTNAME'),('ClearSavedPosition','1','OLDHOSTNAME'),('AltClearSavedPosition','1','OLDHOSTNAME'),('UseOutputPictureControls','0','OLDHOSTNAME'),('AudioNag','1','OLDHOSTNAME'),('UDPNotifyPort','6948','OLDHOSTNAME'),('PlayBoxOrdering','1','OLDHOSTNAME'),('PlayBoxEpisodeSort','Date','OLDHOSTNAME'),('GeneratePreviewPixmaps','0','OLDHOSTNAME'),('PreviewPixmapOffset','64',NULL),('PreviewFromBookmark','1','OLDHOSTNAME'),('PlaybackPreview','1','OLDHOSTNAME'),('PlaybackPreviewLowCPU','0','OLDHOSTNAME'),('PlaybackBoxStartInTitle','1','OLDHOSTNAME'),('ShowGroupInfo','0','OLDHOSTNAME'),('AllRecGroupPassword','',NULL),('DisplayRecGroup','All Programs','OLDHOSTNAME'),('QueryInitialFilter','0','OLDHOSTNAME'),('RememberRecGroup','1','OLDHOSTNAME'),('DispRecGroupAsAllProg','0','OLDHOSTNAME'),('LiveTVInAllPrograms','0','OLDHOSTNAME'),('DisplayGroupDefaultView','0','OLDHOSTNAME'),('DisplayGroupTitleSort','0','OLDHOSTNAME'),('PVR350OutputEnable','0','OLDHOSTNAME'),('PVR350VideoDev','/dev/video16','OLDHOSTNAME'),('PVR350EPGAlphaValue','164','OLDHOSTNAME'),('PVR350InternalAudioOnly','0','OLDHOSTNAME'),('SmartForward','0','OLDHOSTNAME'),('StickyKeys','0','OLDHOSTNAME'),('FFRewReposTime','100','OLDHOSTNAME'),('FFRewReverse','1','OLDHOSTNAME'),('ExactSeeking','0','OLDHOSTNAME'),('AutoCommercialSkip','0','OLDHOSTNAME'),('CommRewindAmount','0','OLDHOSTNAME'),('CommNotifyAmount','0','OLDHOSTNAME'),('MaximumCommercialSkip','3600',NULL),('CommSkipAllBlanks','1',NULL),('VertScanPercentage','0','OLDHOSTNAME'),('HorizScanPercentage','0','OLDHOSTNAME'),('XScanDisplacement','0','OLDHOSTNAME'),('YScanDisplacement','0','OLDHOSTNAME'),('OSDTheme','BlackCurves-OSD','OLDHOSTNAME'),('OSDGeneralTimeout','2','OLDHOSTNAME'),('OSDProgramInfoTimeout','3','OLDHOSTNAME'),('OSDNotifyTimeout','5','OLDHOSTNAME'),('OSDFont','FreeMono.ttf','OLDHOSTNAME'),('OSDCCFont','FreeMono.ttf','OLDHOSTNAME'),('OSDThemeFontSizeType','default','OLDHOSTNAME'),('CCBackground','0','OLDHOSTNAME'),('DefaultCCMode','0','OLDHOSTNAME'),('PersistentBrowseMode','1','OLDHOSTNAME'),('EnableMHEG','0','OLDHOSTNAME'),('OSDCC708TextZoom','100','OLDHOSTNAME'),('OSDCC708DefaultFontType','MonoSerif','OLDHOSTNAME'),('OSDCC708MonoSerifFont','FreeMono.ttf','OLDHOSTNAME'),('OSDCC708PropSerifFont','FreeMono.ttf','OLDHOSTNAME'),('OSDCC708MonoSansSerifFont','FreeMono.ttf','OLDHOSTNAME'),('OSDCC708PropSansSerifFont','FreeMono.ttf','OLDHOSTNAME'),('OSDCC708CasualFont','FreeMono.ttf','OLDHOSTNAME'),('OSDCC708CursiveFont','FreeMono.ttf','OLDHOSTNAME'),('OSDCC708CapitalsFont','FreeMono.ttf','OLDHOSTNAME'),('OSDCC708MonoSerifItalicFont','FreeMono.ttf','OLDHOSTNAME'),('OSDCC708PropSerifItalicFont','FreeMono.ttf','OLDHOSTNAME'),('OSDCC708MonoSansSerifItalicFont','FreeMono.ttf','OLDHOSTNAME'),('OSDCC708PropSansSerifItalicFont','FreeMono.ttf','OLDHOSTNAME'),('OSDCC708CasualItalicFont','FreeMono.ttf','OLDHOSTNAME'),('OSDCC708CursiveItalicFont','FreeMono.ttf','OLDHOSTNAME'),('OSDCC708CapitalsItalicFont','FreeMono.ttf','OLDHOSTNAME'),('ChannelOrdering','channum','OLDHOSTNAME'),('ChannelFormat','<num> <sign>','OLDHOSTNAME'),('LongChannelFormat','<num> <name>','OLDHOSTNAME'),('SmartChannelChange','0','OLDHOSTNAME'),('LastFreeCard','0',NULL),('AutoExpireMethod','2',NULL),('AutoExpireDayPriority','3',NULL),('AutoExpireDefault','1',NULL),('AutoExpireLiveTVMaxAge','1',NULL),('AutoExpireExtraSpace','1',NULL),('AutoCommercialFlag','1',NULL),('CommercialSkipMethod','7',NULL),('AggressiveCommDetect','1',NULL),('AutoTranscode','0',NULL),('AutoRunUserJob1','0',NULL),('AutoRunUserJob2','0',NULL),('AutoRunUserJob3','0',NULL),('AutoRunUserJob4','0',NULL),('RecordPreRoll','0',NULL),('RecordOverTime','0',NULL),('OverTimeCategory','category name',NULL),('CategoryOverTime','30',NULL),('ATSCCheckSignalThreshold','65',NULL),('ATSCCheckSignalWait','5000',NULL),('HDRingbufferSize','9400',NULL),('EPGFillType','10','OLDHOSTNAME'),('EPGShowCategoryColors','1','OLDHOSTNAME'),('EPGShowCategoryText','1','OLDHOSTNAME'),('EPGScrollType','1','OLDHOSTNAME'),('EPGShowChannelIcon','1','OLDHOSTNAME'),('EPGShowFavorites','0','OLDHOSTNAME'),('WatchTVGuide','0','OLDHOSTNAME'),('chanPerPage','5','OLDHOSTNAME'),('timePerPage','4','OLDHOSTNAME'),('UnknownTitle','Unknown','OLDHOSTNAME'),('UnknownCategory','Unknown','OLDHOSTNAME'),('DefaultTVChannel','3','OLDHOSTNAME'),('SelectChangesChannel','0','OLDHOSTNAME'),('SelChangeRecThreshold','16','OLDHOSTNAME'),('EPGEnableJumpToChannel','0',NULL),('ThemePainter','qt','OLDHOSTNAME'),('Style','','OLDHOSTNAME'),('ThemeFontSizeType','default','OLDHOSTNAME'),('RandomTheme','0','OLDHOSTNAME'),('MenuTheme','default','OLDHOSTNAME'),('XineramaScreen','0','OLDHOSTNAME'),('XineramaMonitorAspectRatio','1.3333','OLDHOSTNAME'),('GuiWidth','0','OLDHOSTNAME'),('GuiHeight','0','OLDHOSTNAME'),('GuiOffsetX','0','OLDHOSTNAME'),('GuiOffsetY','0','OLDHOSTNAME'),('GuiSizeForTV','1','OLDHOSTNAME'),('HideMouseCursor','1','OLDHOSTNAME'),('RunFrontendInWindow','0','OLDHOSTNAME'),('UseVideoModes','0','OLDHOSTNAME'),('GuiVidModeResolution','640x480','OLDHOSTNAME'),('TVVidModeResolution','640x480','OLDHOSTNAME'),('TVVidModeForceAspect','0.0','OLDHOSTNAME'),('VidModeWidth0','0','OLDHOSTNAME'),('VidModeHeight0','0','OLDHOSTNAME'),('TVVidModeResolution0','640x480','OLDHOSTNAME'),('TVVidModeForceAspect0','0.0','OLDHOSTNAME'),('VidModeWidth1','0','OLDHOSTNAME'),('VidModeHeight1','0','OLDHOSTNAME'),('TVVidModeResolution1','640x480','OLDHOSTNAME'),('TVVidModeForceAspect1','0.0','OLDHOSTNAME'),('VidModeWidth2','0','OLDHOSTNAME'),('VidModeHeight2','0','OLDHOSTNAME'),('TVVidModeResolution2','640x480','OLDHOSTNAME'),('TVVidModeForceAspect2','0.0','OLDHOSTNAME'),('ISO639Language0','eng','OLDHOSTNAME'),('ISO639Language1','eng','OLDHOSTNAME'),('DateFormat','ddd MMM d','OLDHOSTNAME'),('ShortDateFormat','M/d','OLDHOSTNAME'),('TimeFormat','h:mm AP','OLDHOSTNAME'),('QtFontSmall','12','OLDHOSTNAME'),('QtFontMedium','16','OLDHOSTNAME'),('QtFontBig','25','OLDHOSTNAME'),('PlayBoxTransparency','1','OLDHOSTNAME'),('PlayBoxShading','0','OLDHOSTNAME'),('UseVirtualKeyboard','1','OLDHOSTNAME'),('LCDEnable','0','OLDHOSTNAME'),('LCDShowTime','1','OLDHOSTNAME'),('LCDShowMenu','1','OLDHOSTNAME'),('LCDShowMusic','1','OLDHOSTNAME'),('LCDShowMusicItems','ArtistTitle','OLDHOSTNAME'),('LCDShowChannel','1','OLDHOSTNAME'),('LCDShowRecStatus','0','OLDHOSTNAME'),('LCDShowVolume','1','OLDHOSTNAME'),('LCDShowGeneric','1','OLDHOSTNAME'),('LCDBacklightOn','1','OLDHOSTNAME'),('LCDHeartBeatOn','0','OLDHOSTNAME'),('LCDBigClock','0','OLDHOSTNAME'),('LCDKeyString','ABCDEF','OLDHOSTNAME'),('LCDPopupTime','5','OLDHOSTNAME'),('AudioOutputDevice','ALSA:default','OLDHOSTNAME'),('PassThruOutputDevice','Default','OLDHOSTNAME'),('AC3PassThru','0','OLDHOSTNAME'),('DTSPassThru','0','OLDHOSTNAME'),('AggressiveSoundcardBuffer','0','OLDHOSTNAME'),('MythControlsVolume','1','OLDHOSTNAME'),('MixerDevice','default','OLDHOSTNAME'),('MixerControl','PCM','OLDHOSTNAME'),('MasterMixerVolume','70','OLDHOSTNAME'),('PCMMixerVolume','70','OLDHOSTNAME'),('IndividualMuteControl','0','OLDHOSTNAME'),('AllowQuitShutdown','4','OLDHOSTNAME'),('NoPromptOnExit','1','OLDHOSTNAME'),('HaltCommand','','OLDHOSTNAME'),('LircKeyPressedApp','','OLDHOSTNAME'),('UseArrowAccels','1','OLDHOSTNAME'),('NetworkControlEnabled','0','OLDHOSTNAME'),('NetworkControlPort','6546','OLDHOSTNAME'),('SetupPinCodeRequired','0','OLDHOSTNAME'),('MonitorDrives','0','OLDHOSTNAME'),('EnableXbox','0','OLDHOSTNAME'),('LogEnabled','0',NULL),('LogPrintLevel','8','OLDHOSTNAME'),('LogCleanEnabled','0','OLDHOSTNAME'),('LogCleanPeriod','14','OLDHOSTNAME'),('LogCleanDays','14','OLDHOSTNAME'),('LogCleanMax','30','OLDHOSTNAME'),('LogMaxCount','100','OLDHOSTNAME'),('MythFillEnabled','0',NULL),('MythFillDatabasePath','/usr/bin/mythfilldatabase',NULL),('MythFillDatabaseArgs','',NULL),('MythFillDatabaseLog','',NULL),('MythFillPeriod','1',NULL),('MythFillMinHour','2',NULL),('MythFillMaxHour','5',NULL),('SchedMoveHigher','1',NULL),('DefaultStartOffset','0',NULL),('DefaultEndOffset','0',NULL),('ComplexPriority','0',NULL),('PrefInputPriority','2',NULL),('OnceRecPriority','0',NULL),('HDTVRecPriority','0',NULL),('CCRecPriority','0',NULL),('SingleRecordRecPriority','1',NULL),('OverrideRecordRecPriority','0',NULL),('FindOneRecordRecPriority','-1',NULL),('WeekslotRecordRecPriority','0',NULL),('TimeslotRecordRecPriority','0',NULL),('ChannelRecordRecPriority','0',NULL),('AllRecordRecPriority','0',NULL),('ArchiveDBSchemaVer','1005',NULL),('MythArchiveTempDir','/var/lib/mytharchive/temp','OLDHOSTNAME'),('MythArchiveShareDir','/usr/share/mythtv/mytharchive/','OLDHOSTNAME'),('MythArchiveVideoFormat','PAL','OLDHOSTNAME'),('MythArchiveFileFilter','*.mpg *.mov *.avi *.mpeg *.nuv','OLDHOSTNAME'),('MythArchiveDVDLocation','/dev/dvd','OLDHOSTNAME'),('MythArchiveEncodeToAc3','0','OLDHOSTNAME'),('MythArchiveCopyRemoteFiles','0','OLDHOSTNAME'),('MythArchiveAlwaysUseMythTranscode','1','OLDHOSTNAME'),('MythArchiveUseFIFO','1','OLDHOSTNAME'),('MythArchiveMainMenuAR','16:9','OLDHOSTNAME'),('MythArchiveChapterMenuAR','Video','OLDHOSTNAME'),('MythArchiveDateFormat','%a  %b  %d','OLDHOSTNAME'),('MythArchiveTimeFormat','%I:%M %p','OLDHOSTNAME'),('MythArchiveFfmpegCmd','ffmpeg','OLDHOSTNAME'),('MythArchiveMplexCmd','mplex','OLDHOSTNAME'),('MythArchiveDvdauthorCmd','dvdauthor','OLDHOSTNAME'),('MythArchiveSpumuxCmd','spumux','OLDHOSTNAME'),('MythArchiveMpeg2encCmd','mpeg2enc','OLDHOSTNAME'),('MythArchiveMkisofsCmd','mkisofs','OLDHOSTNAME'),('MythArchiveGrowisofsCmd','growisofs','OLDHOSTNAME'),('MythArchiveTcrequantCmd','tcrequant','OLDHOSTNAME'),('MythArchivePng2yuvCmd','png2yuv','OLDHOSTNAME'),('mythvideo.DBSchemaVer','1032',NULL),('DVDDeviceLocation','/dev/dvd','OLDHOSTNAME'),('VCDDeviceLocation','/dev/cdrom','OLDHOSTNAME'),('DVDOnInsertDVD','1','OLDHOSTNAME'),('mythdvd.DVDPlayerCommand','Internal','OLDHOSTNAME'),('VCDPlayerCommand','mplayer vcd:// -cdrom-device %d -fs -zoom -vo xv','OLDHOSTNAME'),('DVDRipLocation','/var/lib/mythdvd/temp','OLDHOSTNAME'),('TitlePlayCommand','Internal','OLDHOSTNAME'),('SubTitleCommand','-sid %s','OLDHOSTNAME'),('TranscodeCommand','transcode','OLDHOSTNAME'),('MTDPort','2442','OLDHOSTNAME'),('MTDNiceLevel','20','OLDHOSTNAME'),('MTDConcurrentTranscodes','1','OLDHOSTNAME'),('MTDRipSize','0','OLDHOSTNAME'),('MTDLogFlag','0','OLDHOSTNAME'),('MTDac3Flag','0','OLDHOSTNAME'),('MTDxvidFlag','1','OLDHOSTNAME'),('mythvideo.TrustTranscodeFRDetect','1','OLDHOSTNAME'),('GalleryDBSchemaVer','1003',NULL),('GalleryDir','/var/lib/mythtv/pictures','OLDHOSTNAME'),('GalleryThumbnailLocation','1','OLDHOSTNAME'),('GallerySortOrder','20','OLDHOSTNAME'),('GalleryImportDirs','/media/cdrom:/media/usbdisk','OLDHOSTNAME'),('GalleryMoviePlayerCmd','Internal','OLDHOSTNAME'),('SlideshowOpenGLTransition','none','OLDHOSTNAME'),('SlideshowOpenGLTransitionLength','2000','OLDHOSTNAME'),('GalleryOverlayCaption','0','OLDHOSTNAME'),('SlideshowTransition','none','OLDHOSTNAME'),('SlideshowBackground','','OLDHOSTNAME'),('SlideshowDelay','5','OLDHOSTNAME'),('GameDBSchemaVer','1016',NULL),('MusicDBSchemaVer','1017',NULL),('MusicLocation','/var/lib/mythtv/music/','OLDHOSTNAME'),('MusicAudioDevice','default','OLDHOSTNAME'),('CDDevice','/dev/cdrom','OLDHOSTNAME'),('TreeLevels','splitartist artist album title','OLDHOSTNAME'),('NonID3FileNameFormat','GENRE/ARTIST/ALBUM/TRACK_TITLE','OLDHOSTNAME'),('Ignore_ID3','0','OLDHOSTNAME'),('AutoLookupCD','1','OLDHOSTNAME'),('AutoPlayCD','0','OLDHOSTNAME'),('KeyboardAccelerators','1','OLDHOSTNAME'),('CDWriterEnabled','1','OLDHOSTNAME'),('CDDiskSize','1','OLDHOSTNAME'),('CDCreateDir','1','OLDHOSTNAME'),('CDWriteSpeed','0','OLDHOSTNAME'),('CDBlankType','fast','OLDHOSTNAME'),('PlayMode','Normal','OLDHOSTNAME'),('IntelliRatingWeight','35','OLDHOSTNAME'),('IntelliPlayCountWeight','25','OLDHOSTNAME'),('IntelliLastPlayWeight','25','OLDHOSTNAME'),('IntelliRandomWeight','15','OLDHOSTNAME'),('MusicShowRatings','0','OLDHOSTNAME'),('ShowWholeTree','0','OLDHOSTNAME'),('ListAsShuffled','0','OLDHOSTNAME'),('VisualMode','Random','OLDHOSTNAME'),('VisualCycleOnSongChange','0','OLDHOSTNAME'),('VisualModeDelay','0','OLDHOSTNAME'),('VisualScaleWidth','1','OLDHOSTNAME'),('VisualScaleHeight','1','OLDHOSTNAME'),('ParanoiaLevel','Full','OLDHOSTNAME'),('FilenameTemplate','ARTIST/ALBUM/TRACK-TITLE','OLDHOSTNAME'),('TagSeparator',' - ','OLDHOSTNAME'),('NoWhitespace','0','OLDHOSTNAME'),('PostCDRipScript','','OLDHOSTNAME'),('EjectCDAfterRipping','1','OLDHOSTNAME'),('OnlyImportNewMusic','0','OLDHOSTNAME'),('EncoderType','ogg','OLDHOSTNAME'),('DefaultRipQuality','0','OLDHOSTNAME'),('Mp3UseVBR','0','OLDHOSTNAME'),('PhoneDBSchemaVer','1001',NULL),('SipRegisterWithProxy','1','OLDHOSTNAME'),('SipProxyName','fwd.pulver.com','OLDHOSTNAME'),('SipProxyAuthName','','OLDHOSTNAME'),('SipProxyAuthPassword','','OLDHOSTNAME'),('MySipName','Me','OLDHOSTNAME'),('SipAutoanswer','0','OLDHOSTNAME'),('SipBindInterface','eth0','OLDHOSTNAME'),('SipLocalPort','5060','OLDHOSTNAME'),('NatTraversalMethod','None','OLDHOSTNAME'),('NatIpAddress','http://checkip.dyndns.org','OLDHOSTNAME'),('AudioLocalPort','21232','OLDHOSTNAME'),('VideoLocalPort','21234','OLDHOSTNAME'),('MicrophoneDevice','None','OLDHOSTNAME'),('CodecPriorityList','GSM;G.711u;G.711a','OLDHOSTNAME'),('PlayoutAudioCall','40','OLDHOSTNAME'),('PlayoutVideoCall','110','OLDHOSTNAME'),('TxResolution','176x144','OLDHOSTNAME'),('TransmitFPS','5','OLDHOSTNAME'),('TransmitBandwidth','256','OLDHOSTNAME'),('CaptureResolution','352x288','OLDHOSTNAME'),('TimeToAnswer','10','OLDHOSTNAME'),('DefaultVxmlUrl','http://127.0.0.1/vxml/index.vxml','OLDHOSTNAME'),('DefaultVoicemailPrompt','I am not at home, please leave a message after the tone','OLDHOSTNAME'),('VideoStartupDir','/var/lib/mythtv/videos','OLDHOSTNAME'),('VideoArtworkDir','/var/lib/mythtv/coverart','OLDHOSTNAME'),('VideoDefaultParentalLevel','4','OLDHOSTNAME'),('VideoAggressivePC','0','OLDHOSTNAME'),('Default MythVideo View','2','OLDHOSTNAME'),('VideoListUnknownFiletypes','1','OLDHOSTNAME'),('VideoBrowserNoDB','0','OLDHOSTNAME'),('VideoGalleryNoDB','0','OLDHOSTNAME'),('VideoTreeNoDB','0','OLDHOSTNAME'),('VideoTreeLoadMetaData','1','OLDHOSTNAME'),('VideoNewBrowsable','1','OLDHOSTNAME'),('mythvideo.sort_ignores_case','1','OLDHOSTNAME'),('mythvideo.db_folder_view','1','OLDHOSTNAME'),('mythvideo.ImageCacheSize','50','OLDHOSTNAME'),('AutomaticSetWatched','0','OLDHOSTNAME'),('AlwaysStreamFiles','0','OLDHOSTNAME'),('DefaultVideoPlaybackProfile','CPU+','OLDHOSTNAME'),('JumpToProgramOSD','1','OLDHOSTNAME'),('ContinueEmbeddedTVPlay','0','OLDHOSTNAME'),('VideoGalleryColsPerPage','4','OLDHOSTNAME'),('VideoGalleryRowsPerPage','3','OLDHOSTNAME'),('VideoGallerySubtitle','1','OLDHOSTNAME'),('VideoGalleryAspectRatio','1','OLDHOSTNAME'),('VideoDefaultPlayer','Internal','OLDHOSTNAME'),('MythFillFixProgramIDsHasRunOnce','1','OLDHOSTNAME'),('DisplayGroupDefaultViewMask','32777','OLDHOSTNAME'),('SecurityPin','0000','OLDHOSTNAME'),('MiscStatusScript','','OLDHOSTNAME'),('DisableFirewireReset','0','OLDHOSTNAME'),('Theme','Mythbuntu','localhost'),('Theme','Mythbuntu','OLDHOSTNAME'),('MythFillFixProgramIDsHasRunOnce','1','OLDHOSTNAME'),('BackupDBLastRunStart','2010-02-18 01:25:04',NULL),('BackupDBLastRunEnd','2010-02-18 01:25:06',NULL),('Language','EN_US','OLDHOSTNAME'),('BackendServerIP','127.0.0.1','OLDHOSTNAME'),('BackendServerPort','6543','OLDHOSTNAME'),('BackendStatusPort','6544','OLDHOSTNAME'),('SecurityPin','','OLDHOSTNAME'),('TruncateDeletesSlowly','0','OLDHOSTNAME'),('MiscStatusScript','','OLDHOSTNAME'),('DisableFirewireReset','0','OLDHOSTNAME'),('JobQueueMaxSimultaneousJobs','1','OLDHOSTNAME'),('JobQueueCheckFrequency','60','OLDHOSTNAME'),('JobQueueWindowStart','00:00','OLDHOSTNAME'),('JobQueueWindowEnd','23:59','OLDHOSTNAME'),('JobQueueCPU','0','OLDHOSTNAME'),('JobAllowCommFlag','1','OLDHOSTNAME'),('JobAllowTranscode','1','OLDHOSTNAME'),('JobAllowUserJob1','0','OLDHOSTNAME'),('JobAllowUserJob2','0','OLDHOSTNAME'),('JobAllowUserJob3','0','OLDHOSTNAME'),('JobAllowUserJob4','0','OLDHOSTNAME'),('StorageScheduler','Combination',NULL),('AdjustFill','6','OLDHOSTNAME'),('LetterboxColour','0','OLDHOSTNAME'),('GeneratePreviewRemotely','0','OLDHOSTNAME'),('HWAccelPlaybackPreview','0','OLDHOSTNAME'),('PlaybackWatchList','1','OLDHOSTNAME'),('PlaybackWLStart','0','OLDHOSTNAME'),('PlaybackWLAutoExpire','0','OLDHOSTNAME'),('PlaybackWLMaxAge','60','OLDHOSTNAME'),('PlaybackWLBlackOut','2','OLDHOSTNAME'),('BrowseAllTuners','0','OLDHOSTNAME'),('Prefer708Captions','1','OLDHOSTNAME'),('SubtitleCodec','UTF-8','OLDHOSTNAME'),('LiveTVPriority','0',NULL),('RerecordWatched','1',NULL),('AutoExpireWatchedPriority','0',NULL),('AutoExpireInsteadOfDelete','0',NULL),('DeletedFifoOrder','0',NULL),('ChannelGroupRememberLast','0','OLDHOSTNAME'),('ChannelGroupDefault','-1','OLDHOSTNAME'),('BrowseChannelGroup','0','OLDHOSTNAME'),('ThemeCacheSize','1','OLDHOSTNAME'),('UseFixedWindowSize','1','OLDHOSTNAME'),('TVVidModeRefreshRate','60.000','OLDHOSTNAME'),('TVVidModeRefreshRate0','60.000','OLDHOSTNAME'),('TVVidModeRefreshRate1','60.000','OLDHOSTNAME'),('TVVidModeRefreshRate2','60.000','OLDHOSTNAME'),('MaxChannels','2','OLDHOSTNAME'),('AudioUpmixType','0','OLDHOSTNAME'),('ScreenShotPath','/tmp/','OLDHOSTNAME'),('MediaChangeEvents','0','OLDHOSTNAME'),('OverrideExitMenu','0','OLDHOSTNAME'),('RebootCommand','','OLDHOSTNAME'),('LircSocket','/dev/lircd','OLDHOSTNAME'),('SchedOpenEnd','0',NULL),('MythArchiveDVDPlayerCmd','Internal','OLDHOSTNAME'),('MythArchiveUseProjectX','0','OLDHOSTNAME'),('MythArchiveAddSubtitles','0','OLDHOSTNAME'),('MythArchiveDefaultEncProfile','SP','OLDHOSTNAME'),('MythArchiveJpeg2yuvCmd','jpeg2yuv','OLDHOSTNAME'),('MythArchiveProjectXCmd','projectx','OLDHOSTNAME'),('SlideshowUseOpenGL','0','OLDHOSTNAME'),('MythMovies.LastGrabDate','','OLDHOSTNAME'),('MythMovies.DatabaseVersion','4','OLDHOSTNAME'),('ArtistTreeGroups','0','OLDHOSTNAME'),('MusicTagEncoding','utf16','OLDHOSTNAME'),('CDWriterDevice','default','OLDHOSTNAME'),('ResumeMode','off','OLDHOSTNAME'),('MusicExitAction','prompt','OLDHOSTNAME'),('MaxSearchResults','300','OLDHOSTNAME'),('VisualAlbumArtOnSongChange','0','OLDHOSTNAME'),('VisualRandomize','0','OLDHOSTNAME'),('mythvideo.screenshotDir','/var/lib/mythtv/screenshots','OLDHOSTNAME'),('mythvideo.bannerDir','/var/lib/mythtv/banners','OLDHOSTNAME'),('mythvideo.fanartDir','/var/lib/mythtv/fanart','OLDHOSTNAME'),('mythvideo.db_group_view','1','OLDHOSTNAME'),('mythvideo.VideoTreeRemember','0','OLDHOSTNAME'),('mythvideo.db_group_type','0','OLDHOSTNAME'),('DVDDriveSpeed','12','OLDHOSTNAME'),('EnableDVDBookmark','0','OLDHOSTNAME'),('DVDBookmarkPrompt','0','OLDHOSTNAME'),('DVDBookmarkDays','10','OLDHOSTNAME'),('MovieListCommandLine','/usr/share/mythtv/mythvideo/scripts/tmdb.pl -M','OLDHOSTNAME'),('MoviePosterCommandLine','/usr/share/mythtv/mythvideo/scripts/tmdb.pl -P','OLDHOSTNAME'),('MovieFanartCommandLine','/usr/share/mythtv/mythvideo/scripts/tmdb.pl -B','OLDHOSTNAME'),('MovieDataCommandLine','/usr/share/mythtv/mythvideo/scripts/tmdb.pl -D','OLDHOSTNAME'),('mythvideo.ParentalLevelFromRating','0','OLDHOSTNAME'),('mythvideo.AutoR2PL1','G','OLDHOSTNAME'),('mythvideo.AutoR2PL2','PG','OLDHOSTNAME'),('mythvideo.AutoR2PL3','PG-13','OLDHOSTNAME'),('mythvideo.AutoR2PL4','R:NC-17','OLDHOSTNAME'),('mythvideo.TrailersDir','/home/test/.mythtv/MythVideo/Trailers','OLDHOSTNAME'),('mythvideo.TrailersRandomEnabled','0','OLDHOSTNAME'),('mythvideo.TrailersRandomCount','3','OLDHOSTNAME'),('mythvideo.TVListCommandLine','/usr/share/mythtv/mythvideo/scripts/ttvdb.py -M','OLDHOSTNAME'),('mythvideo.TVPosterCommandLine','/usr/share/mythtv/mythvideo/scripts/ttvdb.py -mP','OLDHOSTNAME'),('mythvideo.TVFanartCommandLine','/usr/share/mythtv/mythvideo/scripts/ttvdb.py -tF','OLDHOSTNAME'),('mythvideo.TVBannerCommandLine','/usr/share/mythtv/mythvideo/scripts/ttvdb.py -tB','OLDHOSTNAME'),('mythvideo.TVDataCommandLine','/usr/share/mythtv/mythvideo/scripts/ttvdb.py -D','OLDHOSTNAME'),('mythvideo.TVTitleSubCommandLine','/usr/share/mythtv/mythvideo/scripts/ttvdb.py -N','OLDHOSTNAME'),('mythvideo.TVScreenshotCommandLine','/usr/share/mythtv/mythvideo/scripts/ttvdb.py -S','OLDHOSTNAME'),('mythvideo.EnableAlternatePlayer','0','OLDHOSTNAME'),('mythvideo.VideoAlternatePlayer','Internal','OLDHOSTNAME'),('WeatherDBSchemaVer','1004',NULL),('DisableAutomaticBackup','0',NULL),('BackendStopCommand','killall mythbackend',NULL),('BackendStartCommand','mythbackend',NULL),('UPnP/WMPSource','0',NULL),('UPnP/RebuildDelay','30','OLDHOSTNAME'),('AudioDefaultUpmix','1','OLDHOSTNAME'),('AdvancedAudioSettings','0','OLDHOSTNAME'),('SRCQualityOverride','0','OLDHOSTNAME'),('SRCQuality','1','OLDHOSTNAME'),('BrowserDBSchemaVer','1002',NULL),('WebBrowserCommand','Internal','OLDHOSTNAME'),('WebBrowserZoomLevel','1.4','OLDHOSTNAME'),('NetvisionDBSchemaVer','1004',NULL),('NewsDBSchemaVer','1001',NULL),('MusicDefaultUpmix','0','OLDHOSTNAME');
+/*!40000 ALTER TABLE `settings` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `storagegroup`
+--
+
+DROP TABLE IF EXISTS `storagegroup`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `storagegroup` (
+  `id` int(11) NOT NULL AUTO_INCREMENT,
+  `groupname` varchar(32) NOT NULL,
+  `hostname` varchar(64) NOT NULL DEFAULT '',
+  `dirname` varchar(235) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
+  PRIMARY KEY (`id`),
+  UNIQUE KEY `grouphostdir` (`groupname`,`hostname`,`dirname`),
+  KEY `hostname` (`hostname`)
+) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `storagegroup`
+--
+
+LOCK TABLES `storagegroup` WRITE;
+/*!40000 ALTER TABLE `storagegroup` DISABLE KEYS */;
+INSERT INTO `storagegroup` VALUES (1,'Default','OLDHOSTNAME','/var/lib/mythtv/recordings'),(2,'Videos','OLDHOSTNAME','/var/lib/mythtv/videos/'),(3,'Fanart','OLDHOSTNAME','/var/lib/mythtv/fanart/'),(4,'Trailers','OLDHOSTNAME','/var/lib/mythtv/trailers/'),(5,'Coverart','OLDHOSTNAME','/var/lib/mythtv/coverart/'),(7,'Screenshots','OLDHOSTNAME','/var/lib/mythtv/screenshots/'),(8,'Banners','OLDHOSTNAME','/var/lib/mythtv/banners/'),(9,'DB Backups','OLDHOSTNAME','/var/lib/mythtv/db_backups/'),(10,'LiveTV','OLDHOSTNAME','/var/lib/mythtv/livetv/');
+/*!40000 ALTER TABLE `storagegroup` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `tvchain`
+--
+
+DROP TABLE IF EXISTS `tvchain`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `tvchain` (
+  `chanid` int(10) unsigned NOT NULL DEFAULT '0',
+  `starttime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  `chainid` varchar(128) NOT NULL DEFAULT '',
+  `chainpos` int(10) NOT NULL DEFAULT '0',
+  `discontinuity` tinyint(1) NOT NULL DEFAULT '0',
+  `watching` int(10) NOT NULL DEFAULT '0',
+  `hostprefix` varchar(128) NOT NULL DEFAULT '',
+  `cardtype` varchar(32) NOT NULL DEFAULT 'V4L',
+  `input` varchar(32) NOT NULL DEFAULT '',
+  `channame` varchar(32) NOT NULL DEFAULT '',
+  `endtime` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
+  PRIMARY KEY (`chanid`,`starttime`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `tvchain`
+--
+
+LOCK TABLES `tvchain` WRITE;
+/*!40000 ALTER TABLE `tvchain` DISABLE KEYS */;
+/*!40000 ALTER TABLE `tvchain` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `tvosdmenu`
+--
+
+DROP TABLE IF EXISTS `tvosdmenu`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `tvosdmenu` (
+  `osdcategory` varchar(32) NOT NULL,
+  `livetv` tinyint(4) NOT NULL DEFAULT '0',
+  `recorded` tinyint(4) NOT NULL DEFAULT '0',
+  `video` tinyint(4) NOT NULL DEFAULT '0',
+  `dvd` tinyint(4) NOT NULL DEFAULT '0',
+  `description` varchar(32) NOT NULL,
+  PRIMARY KEY (`osdcategory`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `tvosdmenu`
+--
+
+LOCK TABLES `tvosdmenu` WRITE;
+/*!40000 ALTER TABLE `tvosdmenu` DISABLE KEYS */;
+/*!40000 ALTER TABLE `tvosdmenu` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `upnpmedia`
+--
+
+DROP TABLE IF EXISTS `upnpmedia`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `upnpmedia` (
+  `intid` int(10) unsigned NOT NULL DEFAULT '0',
+  `class` varchar(64) NOT NULL DEFAULT '',
+  `itemtype` varchar(128) NOT NULL DEFAULT '',
+  `parentid` int(10) unsigned NOT NULL DEFAULT '0',
+  `itemproperties` varchar(255) NOT NULL DEFAULT '',
+  `filepath` varchar(512) NOT NULL DEFAULT '',
+  `title` varchar(255) NOT NULL DEFAULT '',
+  `filename` varchar(512) NOT NULL DEFAULT '',
+  `coverart` varchar(512) NOT NULL DEFAULT '',
+  PRIMARY KEY (`intid`),
+  KEY `class` (`class`),
+  KEY `filepath` (`filepath`(333)),
+  KEY `parentid` (`parentid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `upnpmedia`
+--
+
+LOCK TABLES `upnpmedia` WRITE;
+/*!40000 ALTER TABLE `upnpmedia` DISABLE KEYS */;
+/*!40000 ALTER TABLE `upnpmedia` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `videocast`
+--
+
+DROP TABLE IF EXISTS `videocast`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `videocast` (
+  `intid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `cast` varchar(128) NOT NULL,
+  PRIMARY KEY (`intid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `videocast`
+--
+
+LOCK TABLES `videocast` WRITE;
+/*!40000 ALTER TABLE `videocast` DISABLE KEYS */;
+/*!40000 ALTER TABLE `videocast` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `videocategory`
+--
+
+DROP TABLE IF EXISTS `videocategory`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `videocategory` (
+  `intid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `category` varchar(128) NOT NULL,
+  PRIMARY KEY (`intid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `videocategory`
+--
+
+LOCK TABLES `videocategory` WRITE;
+/*!40000 ALTER TABLE `videocategory` DISABLE KEYS */;
+/*!40000 ALTER TABLE `videocategory` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `videocountry`
+--
+
+DROP TABLE IF EXISTS `videocountry`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `videocountry` (
+  `intid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `country` varchar(128) NOT NULL,
+  PRIMARY KEY (`intid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `videocountry`
+--
+
+LOCK TABLES `videocountry` WRITE;
+/*!40000 ALTER TABLE `videocountry` DISABLE KEYS */;
+/*!40000 ALTER TABLE `videocountry` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `videogenre`
+--
+
+DROP TABLE IF EXISTS `videogenre`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `videogenre` (
+  `intid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `genre` varchar(128) NOT NULL,
+  PRIMARY KEY (`intid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `videogenre`
+--
+
+LOCK TABLES `videogenre` WRITE;
+/*!40000 ALTER TABLE `videogenre` DISABLE KEYS */;
+/*!40000 ALTER TABLE `videogenre` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `videometadata`
+--
+
+DROP TABLE IF EXISTS `videometadata`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `videometadata` (
+  `intid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `title` varchar(128) NOT NULL,
+  `subtitle` text NOT NULL,
+  `director` varchar(128) NOT NULL,
+  `plot` text,
+  `rating` varchar(128) NOT NULL,
+  `inetref` varchar(255) NOT NULL,
+  `homepage` text NOT NULL,
+  `year` int(10) unsigned NOT NULL,
+  `releasedate` date NOT NULL,
+  `userrating` float NOT NULL,
+  `length` int(10) unsigned NOT NULL,
+  `season` smallint(5) unsigned NOT NULL DEFAULT '0',
+  `episode` smallint(5) unsigned NOT NULL DEFAULT '0',
+  `showlevel` int(10) unsigned NOT NULL,
+  `filename` text NOT NULL,
+  `hash` varchar(128) NOT NULL,
+  `coverfile` text NOT NULL,
+  `childid` int(11) NOT NULL DEFAULT '-1',
+  `browse` tinyint(1) NOT NULL DEFAULT '1',
+  `watched` tinyint(1) NOT NULL DEFAULT '0',
+  `playcommand` varchar(255) DEFAULT NULL,
+  `category` int(10) unsigned NOT NULL DEFAULT '0',
+  `trailer` text,
+  `host` text NOT NULL,
+  `screenshot` text,
+  `banner` text,
+  `fanart` text,
+  `insertdate` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
+  PRIMARY KEY (`intid`),
+  KEY `director` (`director`),
+  KEY `title` (`title`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `videometadata`
+--
+
+LOCK TABLES `videometadata` WRITE;
+/*!40000 ALTER TABLE `videometadata` DISABLE KEYS */;
+/*!40000 ALTER TABLE `videometadata` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `videometadatacast`
+--
+
+DROP TABLE IF EXISTS `videometadatacast`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `videometadatacast` (
+  `idvideo` int(10) unsigned NOT NULL,
+  `idcast` int(10) unsigned NOT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `videometadatacast`
+--
+
+LOCK TABLES `videometadatacast` WRITE;
+/*!40000 ALTER TABLE `videometadatacast` DISABLE KEYS */;
+/*!40000 ALTER TABLE `videometadatacast` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `videometadatacountry`
+--
+
+DROP TABLE IF EXISTS `videometadatacountry`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `videometadatacountry` (
+  `idvideo` int(10) unsigned NOT NULL,
+  `idcountry` int(10) unsigned NOT NULL,
+  KEY `idvideo` (`idvideo`),
+  KEY `idcountry` (`idcountry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `videometadatacountry`
+--
+
+LOCK TABLES `videometadatacountry` WRITE;
+/*!40000 ALTER TABLE `videometadatacountry` DISABLE KEYS */;
+/*!40000 ALTER TABLE `videometadatacountry` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `videometadatagenre`
+--
+
+DROP TABLE IF EXISTS `videometadatagenre`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `videometadatagenre` (
+  `idvideo` int(10) unsigned NOT NULL,
+  `idgenre` int(10) unsigned NOT NULL,
+  KEY `idvideo` (`idvideo`),
+  KEY `idgenre` (`idgenre`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `videometadatagenre`
+--
+
+LOCK TABLES `videometadatagenre` WRITE;
+/*!40000 ALTER TABLE `videometadatagenre` DISABLE KEYS */;
+/*!40000 ALTER TABLE `videometadatagenre` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `videosource`
+--
+
+DROP TABLE IF EXISTS `videosource`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `videosource` (
+  `sourceid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `name` varchar(128) NOT NULL DEFAULT '',
+  `xmltvgrabber` varchar(128) DEFAULT NULL,
+  `userid` varchar(128) NOT NULL DEFAULT '',
+  `freqtable` varchar(16) NOT NULL DEFAULT 'default',
+  `lineupid` varchar(64) DEFAULT NULL,
+  `password` varchar(64) DEFAULT NULL,
+  `useeit` smallint(6) NOT NULL DEFAULT '0',
+  `configpath` varchar(4096) DEFAULT NULL,
+  `dvb_nit_id` int(6) DEFAULT '-1',
+  PRIMARY KEY (`sourceid`),
+  UNIQUE KEY `name` (`name`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `videosource`
+--
+
+LOCK TABLES `videosource` WRITE;
+/*!40000 ALTER TABLE `videosource` DISABLE KEYS */;
+/*!40000 ALTER TABLE `videosource` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `videotypes`
+--
+
+DROP TABLE IF EXISTS `videotypes`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `videotypes` (
+  `intid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `extension` varchar(128) NOT NULL,
+  `playcommand` varchar(255) NOT NULL,
+  `f_ignore` tinyint(1) DEFAULT NULL,
+  `use_default` tinyint(1) DEFAULT NULL,
+  PRIMARY KEY (`intid`)
+) ENGINE=MyISAM AUTO_INCREMENT=23 DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `videotypes`
+--
+
+LOCK TABLES `videotypes` WRITE;
+/*!40000 ALTER TABLE `videotypes` DISABLE KEYS */;
+INSERT INTO `videotypes` VALUES (1,'txt','',1,0),(2,'log','',1,0),(3,'mpg','Internal',0,0),(4,'avi','',0,1),(5,'vob','Internal',0,0),(6,'mpeg','Internal',0,0),(7,'VIDEO_TS','Internal',0,0),(8,'iso','Internal',0,0),(9,'img','Internal',0,0),(10,'mkv','Internal',0,0),(11,'mp4','Internal',0,0),(12,'m2ts','Internal',0,0),(13,'evo','Internal',0,0),(14,'divx','Internal',0,0),(15,'mov','Internal',0,0),(16,'qt','Internal',0,0),(17,'wmv','Internal',0,0),(18,'3gp','Internal',0,0),(19,'asf','Internal',0,0),(20,'ogg','Internal',0,0),(21,'ogm','Internal',0,0),(22,'flv','Internal',0,0);
+/*!40000 ALTER TABLE `videotypes` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `weatherdatalayout`
+--
+
+DROP TABLE IF EXISTS `weatherdatalayout`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `weatherdatalayout` (
+  `location` varchar(64) NOT NULL,
+  `dataitem` varchar(64) NOT NULL,
+  `weatherscreens_screen_id` int(10) unsigned NOT NULL,
+  `weathersourcesettings_sourceid` int(10) unsigned NOT NULL,
+  PRIMARY KEY (`location`,`dataitem`,`weatherscreens_screen_id`,`weathersourcesettings_sourceid`),
+  KEY `weatherdatalayout_FKIndex1` (`weatherscreens_screen_id`),
+  KEY `weatherdatalayout_FKIndex2` (`weathersourcesettings_sourceid`),
+  CONSTRAINT `weatherdatalayout_ibfk_1` FOREIGN KEY (`weatherscreens_screen_id`) REFERENCES `weatherscreens` (`screen_id`) ON DELETE CASCADE ON UPDATE CASCADE,
+  CONSTRAINT `weatherdatalayout_ibfk_2` FOREIGN KEY (`weathersourcesettings_sourceid`) REFERENCES `weathersourcesettings` (`sourceid`) ON UPDATE CASCADE
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `weatherdatalayout`
+--
+
+LOCK TABLES `weatherdatalayout` WRITE;
+/*!40000 ALTER TABLE `weatherdatalayout` DISABLE KEYS */;
+/*!40000 ALTER TABLE `weatherdatalayout` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `weatherscreens`
+--
+
+DROP TABLE IF EXISTS `weatherscreens`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `weatherscreens` (
+  `screen_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `draworder` int(10) unsigned NOT NULL,
+  `container` varchar(64) NOT NULL,
+  `hostname` varchar(64) DEFAULT NULL,
+  `units` tinyint(3) unsigned NOT NULL,
+  PRIMARY KEY (`screen_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `weatherscreens`
+--
+
+LOCK TABLES `weatherscreens` WRITE;
+/*!40000 ALTER TABLE `weatherscreens` DISABLE KEYS */;
+/*!40000 ALTER TABLE `weatherscreens` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `weathersourcesettings`
+--
+
+DROP TABLE IF EXISTS `weathersourcesettings`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `weathersourcesettings` (
+  `sourceid` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `source_name` varchar(64) NOT NULL,
+  `update_timeout` int(10) unsigned NOT NULL DEFAULT '600',
+  `retrieve_timeout` int(10) unsigned NOT NULL DEFAULT '60',
+  `hostname` varchar(64) DEFAULT NULL,
+  `path` varchar(255) DEFAULT NULL,
+  `author` varchar(128) DEFAULT NULL,
+  `version` varchar(32) DEFAULT NULL,
+  `email` varchar(255) DEFAULT NULL,
+  `types` mediumtext,
+  `updated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
+  PRIMARY KEY (`sourceid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `weathersourcesettings`
+--
+
+LOCK TABLES `weathersourcesettings` WRITE;
+/*!40000 ALTER TABLE `weathersourcesettings` DISABLE KEYS */;
+/*!40000 ALTER TABLE `weathersourcesettings` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `websites`
+--
+
+DROP TABLE IF EXISTS `websites`;
+/*!40101 SET @saved_cs_client     = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `websites` (
+  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
+  `category` varchar(100) NOT NULL,
+  `name` varchar(100) NOT NULL,
+  `url` varchar(255) NOT NULL,
+  PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `websites`
+--
+
+LOCK TABLES `websites` WRITE;
+/*!40000 ALTER TABLE `websites` DISABLE KEYS */;
+/*!40000 ALTER TABLE `websites` ENABLE KEYS */;
+UNLOCK TABLES;
+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+
+-- Dump completed on 2010-02-18  1:32:39

=== added directory 'debian/patches'
=== added file 'debian/patches/08_default_directory'
--- debian/patches/08_default_directory	1970-01-01 00:00:00 +0000
+++ debian/patches/08_default_directory	2010-05-26 16:08:33 +0000
@@ -0,0 +1,13 @@
+Change location of default storage to somewhere in /var/lib.
+==========================================================================
+--- a/libs/libmyth/storagegroup.cpp
++++ b/libs/libmyth/storagegroup.cpp
+@@ -13,7 +13,7 @@
+ #define LOC_WARN QString("SG(%1) Warning: ").arg(m_groupname)
+ #define LOC_ERR QString("SG(%1) Error: ").arg(m_groupname)
+ 
+-const char *StorageGroup::kDefaultStorageDir = "/mnt/store";
++const char *StorageGroup::kDefaultStorageDir = "/var/lib/mythtv/recordings";
+ 
+ QMutex                 StorageGroup::s_groupToUseLock;
+ QHash<QString,QString> StorageGroup::s_groupToUseCache;

=== added file 'debian/patches/09_perl_bindings_prefix'
--- debian/patches/09_perl_bindings_prefix	1970-01-01 00:00:00 +0000
+++ debian/patches/09_perl_bindings_prefix	2010-05-26 16:08:33 +0000
@@ -0,0 +1,71 @@
+Use prefix for Perl bindings. Also allow more options to be passed when setting
+config options for Perl bindings.
+==========================================================================
+--- a/bindings/perl/perl.pro
++++ b/bindings/perl/perl.pro
+@@ -4,13 +4,7 @@
+ 
+ mythperlbindings.target = Makefile.perl
+ mythperlbindings.depends = Makefile.PL
+-contains(PREFIX, ^/usr(/local)?/?$) {
+-    mythperlbindings.commands = perl Makefile.PL MAKEFILE=Makefile.perl
+-}
+-else {
+-    mythperlbindings.commands = perl Makefile.PL MAKEFILE=Makefile.perl PREFIX=$${PREFIX}
+-}
+-
++mythperlbindings.commands = perl Makefile.PL MAKEFILE=Makefile.perl PREFIX=$${PREFIX} $${PERL_CONFIG_OPTS}
+ mythperbindingsbuild.target = perl_build
+ mythperbindingsbuild.depends = Makefile.perl
+ mythperbindingsbuild.commands = @-$(MAKE) -f Makefile.perl
+@@ -20,7 +14,7 @@
+ 
+ perl_install.target = install
+ perl_install.depends = all
+-perl_install.commands = $(MAKE) -f Makefile.perl pure_install PERL_INSTALL_ROOT=\"$(INSTALL_ROOT)\"
++perl_install.commands = $(MAKE) -f Makefile.perl pure_install PERL_INSTALL_ROOT=\"$(INSTALL_ROOT)\" PREFIX=$${PREFIX}
+ 
+ QMAKE_LINK=@-echo
+ PRE_TARGETDEPS += perl_build
+--- a/configure
++++ b/configure
+@@ -141,6 +141,8 @@
+                            Supported bindings: perl, python
+                            comma-separated list
+   --python=PATH            Force a specific python executable to use [$python_default]
++  --perl-config-opts=OPTS  Additional options to pass when generating
++                           Makefile.perl for building Perl bindings.
+ EOF
+ 
+ #following is ffmpeg's configure help text
+@@ -2007,6 +2009,9 @@
+             fi
+         done
+     ;;
++    --perl-config-opts=*)
++      PERL_CONFIG_OPTS=`echo ${optval}`
++    ;;
+     --disable-devices) disable $INDEV_LIST $OUTDEV_LIST
+     ;;
+     --enable-debug=*) debuglevel="$optval"
+@@ -4237,6 +4242,9 @@
+ 
+ echo "# Bindings"
+ echo "bindings_perl             ${bindings_perl-no}"
++if test x"$PERL_CONFIG_OPTS" != x""; then
++  echo "Perl config options       $PERL_CONFIG_OPTS"
++fi
+ echo "bindings_python           ${bindings_python-no}"
+ echo ""
+ 
+@@ -4551,6 +4559,10 @@
+   echo "CONFIG_OPENGL_LIBS=-lGL -lGLU" >> $MYTH_CONFIG_MAK
+ fi
+ 
++if test x"$PERL_CONFIG_OPTS" != x"" ; then
++  echo "PERL_CONFIG_OPTS=$PERL_CONFIG_OPTS" >> $MYTH_CONFIG_MAK
++fi
++
+ if test x"$CCONFIG" != x"" ; then
+   echo "CCONFIG=$CCONFIG" >> $MYTH_CONFIG_MAK
+   echo "#define MYTH_BUILD_CONFIG \"$CCONFIG\"" >>$TMPH

=== added file 'debian/patches/10_mythfilldatabase_log'
--- debian/patches/10_mythfilldatabase_log	1970-01-01 00:00:00 +0000
+++ debian/patches/10_mythfilldatabase_log	2010-05-26 16:08:33 +0000
@@ -0,0 +1,24 @@
+Use /var/log/mythtv instead of just /var/log for mythtv logs.
+==========================================================================
+--- a/programs/mythbackend/housekeeper.cpp
++++ b/programs/mythbackend/housekeeper.cpp
+@@ -326,7 +326,7 @@
+                                           "mythfilldatabase");
+     QString mfarg = gContext->GetSetting("MythFillDatabaseArgs", "");
+     QString mflog = gContext->GetSetting("MythFillDatabaseLog",
+-                                         "/var/log/mythfilldatabase.log");
++                                         "/var/log/mythtv/mythfilldatabase.log");
+ 
+     if (mfpath == "mythfilldatabase")
+         mfpath = GetInstallPrefix() + "/bin/mythfilldatabase";
+--- a/programs/mythwelcome/welcomedialog.cpp
++++ b/programs/mythwelcome/welcomedialog.cpp
+@@ -441,7 +441,7 @@
+                                           "mythfilldatabase");
+     QString mfarg = gContext->GetSetting("MythFillDatabaseArgs", "");
+     QString mflog = gContext->GetSetting("MythFillDatabaseLog",
+-                                         "/var/log/mythfilldatabase.log");
++                                         "/var/log/mythtv/mythfilldatabase.log");
+ 
+     if (mflog.isEmpty())
+         command = QString("%1 %2").arg(mfpath).arg(mfarg);

=== added file 'debian/patches/30_python26_ubuntu'
--- debian/patches/30_python26_ubuntu	1970-01-01 00:00:00 +0000
+++ debian/patches/30_python26_ubuntu	2010-05-26 16:08:33 +0000
@@ -0,0 +1,13 @@
+Patch to include layout option for python 2.6
+==========================================================================
+--- a/bindings/python/python.pro
++++ b/bindings/python/python.pro
+@@ -6,7 +6,7 @@
+ 
+ python_install.target = python_install
+ python_install.CONFIG = no_path
+-python_install.commands = $$PYTHON setup.py install --skip-build --root=\"$(if $(INSTALL_ROOT),$(INSTALL_ROOT),/)\"
++python_install.commands = $$PYTHON setup.py install --skip-build --root=\"$(if $(INSTALL_ROOT),$(INSTALL_ROOT),/)\" --install-layout=deb
+ 
+ # This is done so the default /usr/local prefix installs to the "normal"
+ # /usr/lib/python{VER}/site-packages directory.

=== added file 'debian/patches/40_libudev.patch'
--- debian/patches/40_libudev.patch	1970-01-01 00:00:00 +0000
+++ debian/patches/40_libudev.patch	2010-05-26 16:08:33 +0000
@@ -0,0 +1,109 @@
+## Description: Use libudev instead of calling udevinfo 
+## Origin/Author: Based on http://svn.mythtv.org/trac/attachment/ticket/6137/mythtv-libudev-1.patch
+## Bug: https://bugs.launchpad.net/bugs/479509
+## Notes: The Build Depends of libudev-dev can be removed, if this patch is dropped. 
+--- a/configure
++++ b/configure
+@@ -1291,6 +1291,7 @@
+     ivtv
+     joystick_menu
+     libfftw3
++    libudev
+     lirc
+     mheg
+     opengl_video
+@@ -1776,6 +1777,7 @@
+ enable ivtv
+ enable lamemp3
+ enable lirc
++enable libudev
+ enable mheg
+ enable opengl
+ enable opengl_vsync
+@@ -3422,6 +3424,11 @@
+ disabled  zlib || check_lib   zlib.h      zlibVersion -lz   || disable  zlib
+ disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib
+ 
++# Attempt to use libudev for mediamonitor
++if test $target_os = linux; then
++    check_lib2 libudev.h udev_new -ludev || disable libudev
++fi
++
+ enabled ffmpeg_pthreads && enable pthreads
+ 
+ # check for some common methods of building with pthread support
+@@ -4563,6 +4570,10 @@
+   echo "PERL_CONFIG_OPTS=$PERL_CONFIG_OPTS" >> $MYTH_CONFIG_MAK
+ fi
+ 
++if enabled libudev; then
++  echo "CONFIG_LIBUDEV_LIBS=-ludev" >> $MYTH_CONFIG_MAK
++fi
++
+ if test x"$CCONFIG" != x"" ; then
+   echo "CCONFIG=$CCONFIG" >> $MYTH_CONFIG_MAK
+   echo "#define MYTH_BUILD_CONFIG \"$CCONFIG\"" >>$TMPH
+--- a/libs/libmyth/libmyth.pro
++++ b/libs/libmyth/libmyth.pro
+@@ -79,6 +79,7 @@
+ LIBS += -L../libavcodec          -lmythavcodec-$${LIBVERSION}
+ LIBS += -L../libavutil           -lmythavutil-$${LIBVERSION}
+ unix:LIBS += -ldl
++using_libudev:LIBS += $${CONFIG_LIBUDEV_LIBS}
+ 
+ TARGETDEPS += ../libmythsamplerate/libmythsamplerate-$${MYTH_LIB_EXT}
+ TARGETDEPS += ../libmythsoundtouch/libmythsoundtouch-$${MYTH_LIB_EXT}
+--- a/libs/libmyth/mediamonitor-unix.cpp
++++ b/libs/libmyth/mediamonitor-unix.cpp
+@@ -38,6 +38,15 @@
+ #include "mythhdd.h"
+ #include "mythverbose.h"
+ 
++// Linux headers
++#ifdef linux
++#if CONFIG_LIBUDEV == 1
++extern "C" {
++#include <libudev.h>
++}
++#endif
++#endif
++
+ #ifndef MNTTYPE_ISO9660
+ #ifdef linux
+ #define MNTTYPE_ISO9660 "iso9660"
+@@ -218,6 +227,27 @@
+     ret.replace(QRegExp(".*/"), "/dev/");
+ 
+ #ifdef linux
++#if CONFIG_LIBUDEV == 1
++    // Use libudev to determine the name
++    ret = "";
++    struct udev	*udev = udev_new();
++    if (udev != NULL)
++    {
++	struct udev_device *device =
++	    udev_device_new_from_syspath(udev, sysfs.toAscii().constData());
++	if (device != NULL)
++	{
++	    const char *name = udev_device_get_devnode(device);
++
++	    if (name != NULL)
++		ret = tr(name);
++
++	    udev_device_unref(device);
++	}
++	udev_unref(udev);
++    }
++#else	// CONFIG_LIBUDEV
++    // Use udevinfo to determine the name
+     QProcess    *udevinfo = new QProcess();
+     QTextStream  stream(udevinfo);
+     QStringList  args;
+@@ -262,6 +292,7 @@
+         return ret;
+ 
+     udevinfo->deleteLater();
++#endif	// CONFIG_LIBUDEV
+ #endif // linux
+ 
+     VERBOSE(VB_MEDIA, msg + "->'" + ret + "'");

=== added file 'debian/patches/proper_shutdown_behavior_for_ubuntu.patch'
--- debian/patches/proper_shutdown_behavior_for_ubuntu.patch	1970-01-01 00:00:00 +0000
+++ debian/patches/proper_shutdown_behavior_for_ubuntu.patch	2010-05-26 16:08:33 +0000
@@ -0,0 +1,86 @@
+## Description: Fixes up the shutdown behavior so users can't break it
+## Origin/Author: Mario Limonciello
+Index: mythtv-fixes/programs/mythfrontend/exitprompt.cpp
+===================================================================
+--- mythtv-fixes.orig/programs/mythfrontend/exitprompt.cpp	2010-04-23 10:10:01.007730134 -0500
++++ mythtv-fixes/programs/mythfrontend/exitprompt.cpp	2010-04-23 10:09:55.006714154 -0500
+@@ -62,16 +62,7 @@
+ 
+ void ExitPrompter::halt()
+ {
+-
+-    QString halt_cmd = gContext->GetSetting("HaltCommand","");
+-    if (!halt_cmd.isEmpty()) /* Use user specified command if it exists */
+-    {
+-        myth_system(halt_cmd);
+-    } else if (!DBusHalt()) /* If supported, use DBus to shutdown */
+-    {
+-        myth_system("sudo /sbin/halt -p"); 
+-    }
+-
++    DBusHalt();
+ }
+ 
+ bool DBusReboot(void)
+@@ -118,16 +109,7 @@
+ 
+ void ExitPrompter::reboot()
+ {
+-
+-    QString reboot_cmd = gContext->GetSetting("RebootCommand","");
+-    if (!reboot_cmd.isEmpty()) /* Use user specified command if it exists */
+-    {
+-        myth_system(reboot_cmd);
+-    } else if (!DBusReboot()) /* If supported, use DBus to reboot */
+-    {
+-        myth_system("sudo /sbin/reboot");
+-    }
+-
++    DBusReboot();
+ }
+ 
+ void ExitPrompter::handleExit()
+Index: mythtv-fixes/programs/mythfrontend/globalsettings.cpp
+===================================================================
+--- mythtv-fixes.orig/programs/mythfrontend/globalsettings.cpp	2010-04-23 10:10:00.763759045 -0500
++++ mythtv-fixes/programs/mythfrontend/globalsettings.cpp	2010-04-23 10:07:19.190721556 -0500
+@@ -2249,30 +2249,6 @@
+     return gc;
+ }
+ 
+-static HostLineEdit *RebootCommand()
+-{
+-    HostLineEdit *ge = new HostLineEdit("RebootCommand");
+-    ge->setLabel(QObject::tr("Reboot command"));
+-    ge->setValue("reboot");
+-    ge->setHelpText(QObject::tr("Optional. Script to run if you select "
+-                    "the reboot option from the exit menu, if the option "
+-                    "is displayed. You must configure an exit key to "
+-                    "display the exit menu."));
+-    return ge;
+-}
+-
+-static HostLineEdit *HaltCommand()
+-{
+-    HostLineEdit *ge = new HostLineEdit("HaltCommand");
+-    ge->setLabel(QObject::tr("Halt command"));
+-    ge->setValue("halt");
+-    ge->setHelpText(QObject::tr("Optional. Script to run if you select "
+-                    "the shutdown option from the exit menu, if the option "
+-                    "is displayed. You must configure an exit key to "
+-                    "display the exit menu."));
+-    return ge;
+-}
+-
+ static HostLineEdit *LircDaemonDevice()
+ {
+     HostLineEdit *ge = new HostLineEdit("LircSocket");
+@@ -4233,8 +4209,6 @@
+         new VerticalConfigurationGroup(true, true, false, false);
+     shutdownSettings->setLabel(QObject::tr("Shutdown/Reboot Settings"));
+     shutdownSettings->addChild(OverrideExitMenu());
+-    shutdownSettings->addChild(HaltCommand());
+-    shutdownSettings->addChild(RebootCommand());
+     exit->addChild(ehor0);
+     exit->addChild(shutdownSettings);
+     addChild(exit);

=== added file 'debian/patches/series'
--- debian/patches/series	1970-01-01 00:00:00 +0000
+++ debian/patches/series	2010-05-26 16:08:33 +0000
@@ -0,0 +1,6 @@
+08_default_directory
+10_mythfilldatabase_log
+09_perl_bindings_prefix
+30_python26_ubuntu
+40_libudev.patch
+proper_shutdown_behavior_for_ubuntu.patch

=== added directory 'debian/po'
=== added file 'debian/po/POTFILES.in'
--- debian/po/POTFILES.in	1970-01-01 00:00:00 +0000
+++ debian/po/POTFILES.in	2010-05-26 16:08:33 +0000
@@ -0,0 +1,3 @@
+[type: gettext/rfc822deb] mythtv-common.templates
+[type: gettext/rfc822deb] mythtv-database.templates
+[type: gettext/rfc822deb] mythtv-frontend.templates

=== added file 'debian/po/ca.po'
--- debian/po/ca.po	1970-01-01 00:00:00 +0000
+++ debian/po/ca.po	2010-05-26 16:08:33 +0000
@@ -0,0 +1,141 @@
+# Catalan translation for mythtv
+# Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007
+# This file is distributed under the same license as the mythtv package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mythtv\n"
+"Report-Msgid-Bugs-To: mythtv@xxxxxxxxxxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-03-24 22:35-0500\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Catalan <ca@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2007-10-05 08:18+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "Database to be used to hold MythTV data:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "If a database with this name already exists, it will be used."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid "Username used by MythTV to access its database:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid ""
+"This user will automatically be granted appropriate permissions to the "
+"database."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "Password used by MythTV to access its database:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "If you give an empty password, a random one will be generated."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:4001
+msgid "Host MySQL server resides in:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid "MySQL administrator account:"
+msgstr ""
+
+#. Type: string
+#. Description
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:1001 ../mythtv-database.templates:2001
+msgid "This information will be used to create a database and user for MythTV."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid ""
+"Unless you have explicitly changed this on the MySQL server, and understand "
+"MySQL's privilege system, use the default of 'root'."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid "Password for the MySQL administrator account '${user}':"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid ""
+"Unless you have explicitly changed the password on the MySQL server, leave "
+"this blank."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid "Will other computers run MythTV?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"If any other computers (that includes other Front End machines) with MythTV "
+"will be used, this computer needs to be configured to allow remote "
+"connections."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"Note that this is a security risk, as both the MythTV and MySQL services "
+"will be exposed. Be sure to place this machine behind a firewall."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"If multiple interfaces are used, the first one listed in 'ifconfig' will be "
+"used."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:1001
+msgid "Hostname of the system where the MythTV backend is installed:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:2001
+msgid "Port number the MythTV server is listening on:"
+msgstr ""

=== added file 'debian/po/de.po'
--- debian/po/de.po	1970-01-01 00:00:00 +0000
+++ debian/po/de.po	2010-05-26 16:08:33 +0000
@@ -0,0 +1,251 @@
+# translation of de.po to Deutsch
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: de\n"
+"Report-Msgid-Bugs-To: mythtv@xxxxxxxxxxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-03-24 22:35-0500\n"
+"PO-Revision-Date: 2007-06-05 12:54+0200\n"
+"Last-Translator: laga\n"
+"Language-Team: Deutsch <de@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+#, fuzzy
+#| msgid "What database should be used to hold MythTV data:"
+msgid "Database to be used to hold MythTV data:"
+msgstr "Welche Datenbank soll die von MythTV benötigten Daten vorhalten:"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "If a database with this name already exists, it will be used."
+msgstr ""
+"Falls eine Datenbank dieses Namens bereits existiert, wird sie benutzt "
+"werden."
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+#, fuzzy
+#| msgid "What username should MythTV use to access its database:"
+msgid "Username used by MythTV to access its database:"
+msgstr ""
+"Mit welchem Benutzernamen soll sich MythTV an seiner Datenbank anmelden?"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid ""
+"This user will automatically be granted appropriate permissions to the "
+"database."
+msgstr ""
+"Diesem Benutzer werden automatisch angemessene Zugriffsrechte für die "
+"Datenbank gegeben."
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+#, fuzzy
+#| msgid "What password should MythTV use to access its database:"
+msgid "Password used by MythTV to access its database:"
+msgstr "Mit welchem Passwort soll sich MythTV an seiner Datenbank anmelden?"
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "If you give an empty password, a random one will be generated."
+msgstr ""
+"Falls Sie ein leeres Passwort angeben, wird automatisch ein Zufallspasswort "
+"erstellt."
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:4001
+#, fuzzy
+#| msgid "On what host does the MySQL server reside:"
+msgid "Host MySQL server resides in:"
+msgstr "Auf welchem Host befindet sich der MySQL-Server?"
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+#, fuzzy
+#| msgid "What is the name of the MySQL administrator account:"
+msgid "MySQL administrator account:"
+msgstr "Wie ist der Benutzername des Administrator-Accounts von MySQL?"
+
+#. Type: string
+#. Description
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:1001 ../mythtv-database.templates:2001
+#, fuzzy
+msgid "This information will be used to create a database and user for MythTV."
+msgstr ""
+"Diese Angaben werden benutzt, um eine Datenbank und einen Benutzer für "
+"MythTV zu erstellen."
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid ""
+"Unless you have explicitly changed this on the MySQL server, and understand "
+"MySQL's privilege system, use the default of 'root'."
+msgstr ""
+"Falls Sie dies nicht ausdrücklich im MySQL-Server verändert haben und die "
+"Benutzer- und Rechteverwaltung von MySQL verstehen, benutzen Sie den "
+"Standardwert 'root'."
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+#, fuzzy
+#| msgid "What is the password for the MySQL administrator account '${user}':"
+msgid "Password for the MySQL administrator account '${user}':"
+msgstr "Wie lautet das Passwort für den Administrator-Account von MySQL?"
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid ""
+"Unless you have explicitly changed the password on the MySQL server, leave "
+"this blank."
+msgstr ""
+"Falls Sie diesen Wert nicht ausdrück im MySQL-Server verändert haben, lassen "
+"Sie bitte dieses Feld leer."
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid "Will other computers run MythTV?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"If any other computers (that includes other Front End machines) with MythTV "
+"will be used, this computer needs to be configured to allow remote "
+"connections."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"Note that this is a security risk, as both the MythTV and MySQL services "
+"will be exposed. Be sure to place this machine behind a firewall."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"If multiple interfaces are used, the first one listed in 'ifconfig' will be "
+"used."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:1001
+#, fuzzy
+#| msgid ""
+#| "What is the hostname of the system where the MythTV backend is installed:"
+msgid "Hostname of the system where the MythTV backend is installed:"
+msgstr ""
+"Wie lautet der Hostname des Systems, auf dem das Backend von MythTV "
+"installiert ist?"
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:2001
+#, fuzzy
+#| msgid "On what port number is the MythTV server listening:"
+msgid "Port number the MythTV server is listening on:"
+msgstr "Auf welchem Port ist der MythTV-Server erreichbar?"
+
+#~ msgid "mythtv-setup must be run in order to complete MythTV installation"
+#~ msgstr ""
+#~ "mythtv-setup muss gestartet werden, um die Installation von MythTV "
+#~ "abzuschließen"
+
+#, fuzzy
+#~ msgid ""
+#~ "You must run mythtv-setup as a user in the 'mythtv' group in order to "
+#~ "complete  mythtv configuration.  Note that this program requires an X "
+#~ "display, so you must either login to an X session as a user in the "
+#~ "'mythtv' group, or otherwise  arrange for that user to have access to "
+#~ "your X display."
+#~ msgstr ""
+#~ "Sie müssen mythtv-setup unter dem Benutzer 'mythtv' starten, um mythtv "
+#~ "einzurichten.  Bedenken Sie bitte, dass dieses Programm ein X-Display "
+#~ "benötigt. Sie müssen sich entweder mit dem Benutzer 'mythtv' in einer X-"
+#~ "Sitzung anmelden oder ihm anderweitig Zugriff auf ihr X-Display gewähren."
+
+#~ msgid "You must complete all four steps presented in the program."
+#~ msgstr ""
+#~ "Sie müssen jeden der vier Schritte, die Ihnen dieses Programm vorgibt, "
+#~ "durchgehen."
+
+#, fuzzy
+#~ msgid ""
+#~ "Once you have done this, you may start the backend by executing the "
+#~ "following command:"
+#~ msgstr ""
+#~ "Wenn Sie dies getan haben, können Sie das Backend mit dem folgenden "
+#~ "Befehl (als root ausgeführt) starten:"
+
+#, fuzzy
+#~ msgid ""
+#~ "You must run mythtv-setup as a user in the 'mythtv' group in order to "
+#~ "complete mythtv configuration."
+#~ msgstr ""
+#~ "Sie müssen mythtv-setup als Benutzer 'mythtv' starten, um die "
+#~ "Konfiguration von mythtv abzuschließen.  Zum Beispiel: als  root:"
+
+#~ msgid "Which XMLTV grabber should be used to retrieve program listings:"
+#~ msgstr "Mit welchem XMLTV-Grabber möchten Sie EPG-Daten abrufen?"
+
+#~ msgid "Which television standard should be used by MythTV:"
+#~ msgstr "Welchen TV-Standard soll MythTV verwenden?"
+
+#~ msgid "Which channel frequency table should be used by MythTV:"
+#~ msgstr "Welche Kanaltabelle soll MythTV benutzen?"
+
+#~ msgid "WARNING: old MythTV binaries found"
+#~ msgstr "Warnung: alte MythTV-Binaries (-Programme) gefunden"
+
+#~ msgid ""
+#~ "It appears that you have installed mythtv from source previously, and "
+#~ "some files remain from the previous installation, including at least:"
+#~ msgstr ""
+#~ "Es scheint als hätten Sie MythTV bereits manuell mittels des Quelltextes "
+#~ "installiert. Einige Dateien aus der alten Installation sind noch "
+#~ "vorhanden. Dazu gehören unter anderem:"
+
+#~ msgid ""
+#~ "Installation of these packages should succeed, but you MUST remove these "
+#~ "files in order for the packaged version of MythTV to work properly."
+#~ msgstr ""
+#~ "Die Installation dieser Pakete sollte funktionieren, aber sie MÃœSSEN "
+#~ "diese Dateien entfernen, damit diese paketierte Version von MythTV "
+#~ "ordnungsgemäß funktioniert."
+
+#~ msgid "Is it OK to create the video4linux device nodes?"
+#~ msgstr "Wäre es in Ordnung, die Geräteknoten für video4linux anzulegen?"
+
+#~ msgid ""
+#~ "and follow any instructions that it gives.  Once you have done this, you "
+#~ "should be able to run mythtv as the 'mythtv' user."
+#~ msgstr ""
+#~ "und befolgen Sie die dortigen Anweisungen. Anschließend sollten Sie in "
+#~ "der Lage sein, mythtv unter dem Benutzer 'mythtv' zu starten."

=== added file 'debian/po/es.po'
--- debian/po/es.po	1970-01-01 00:00:00 +0000
+++ debian/po/es.po	2010-05-26 16:08:33 +0000
@@ -0,0 +1,310 @@
+# Spanish translation for mythtv
+# Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007
+# This file is distributed under the same license as the mythtv package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mythtv\n"
+"Report-Msgid-Bugs-To: mythtv@xxxxxxxxxxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-03-24 22:35-0500\n"
+"PO-Revision-Date: 2007-09-18 07:44+0000\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Spanish <es@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2007-10-05 08:18+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+#, fuzzy
+#| msgid "What database should be used to hold MythTV data:"
+msgid "Database to be used to hold MythTV data:"
+msgstr ""
+"Qué base de datos debe utilizarse para guardar la información de MythTV:"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "If a database with this name already exists, it will be used."
+msgstr "Si ya existe una base de datos con este nombre, se usará esa."
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+#, fuzzy
+#| msgid "What username should MythTV use to access its database:"
+msgid "Username used by MythTV to access its database:"
+msgstr ""
+"Qué nombre de usuario debe utilizar MythTV para acceder a su base de datos:"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid ""
+"This user will automatically be granted appropriate permissions to the "
+"database."
+msgstr ""
+"Este usuario recibirá automáticamente los permisos apropiados a la base de "
+"datos."
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+#, fuzzy
+#| msgid "What password should MythTV use to access its database:"
+msgid "Password used by MythTV to access its database:"
+msgstr "Qué contraseña debe utilizar MythTV para acceder a su base de datos:"
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "If you give an empty password, a random one will be generated."
+msgstr "Si introduce una contraseña vacía, se creará una aleatoria."
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:4001
+#, fuzzy
+#| msgid "On what host does the MySQL server reside:"
+msgid "Host MySQL server resides in:"
+msgstr "En qué anfitrión reside el servidor MySQL:"
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+#, fuzzy
+#| msgid "What is the name of the MySQL administrator account:"
+msgid "MySQL administrator account:"
+msgstr "Cuál es el nombre de la cuenta de administrador de MySQL:"
+
+#. Type: string
+#. Description
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:1001 ../mythtv-database.templates:2001
+msgid "This information will be used to create a database and user for MythTV."
+msgstr ""
+"Esta información se usará para crear una base de datos y un usuario para "
+"MythTV."
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid ""
+"Unless you have explicitly changed this on the MySQL server, and understand "
+"MySQL's privilege system, use the default of 'root'."
+msgstr ""
+"Salvo que haya  cambiado explícitamente esto en el servidor MySQL y "
+"entendido el sistema de privilegios de MySQL, use por defecto «root»."
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+#, fuzzy
+#| msgid "What is the password for the MySQL administrator account '${user}':"
+msgid "Password for the MySQL administrator account '${user}':"
+msgstr ""
+"Cuál es la contraseña para la cuenta de administrador de MySQL '${user}':"
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid ""
+"Unless you have explicitly changed the password on the MySQL server, leave "
+"this blank."
+msgstr ""
+"Salvo que haya cambiado explícitamente la contraseña en el servidor MySQL, "
+"deje esto en blanco."
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+#, fuzzy
+#| msgid "Will you be using other computers running MythTV?"
+msgid "Will other computers run MythTV?"
+msgstr "¿Va a utilizar otros equipos ejecutando MythTV?"
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+#, fuzzy
+#| msgid ""
+#| "If you will be using any other computers with MythTV, this computer needs "
+#| "to be configured to allow remote connections.  Do you want to enable "
+#| "remote  connectivity?"
+msgid ""
+"If any other computers (that includes other Front End machines) with MythTV "
+"will be used, this computer needs to be configured to allow remote "
+"connections."
+msgstr ""
+"Si va a usar algún otro equipo con MythTV, este equipo debe configurarse "
+"para permitir conexiones remotas. ¿Desea activar la conectividad remota?"
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"Note that this is a security risk, as both the MythTV and MySQL services "
+"will be exposed. Be sure to place this machine behind a firewall."
+msgstr ""
+"Sea consciente de que esto es un riesgo para la seguridad, puesto que tanto "
+"el servicio de MythTV como el de MySQL serán visibles. Asegúrese de colocar "
+"esta máquina detrás de un cortafuegos."
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+#, fuzzy
+#| msgid ""
+#| "If you have multiple interfaces, the first one listed in 'ifconfig' will "
+#| "be used."
+msgid ""
+"If multiple interfaces are used, the first one listed in 'ifconfig' will be "
+"used."
+msgstr ""
+"Si tiene varias interfaces, será utilizada la primera que aparezca en "
+"'ifconfig'."
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:1001
+#, fuzzy
+#| msgid ""
+#| "What is the hostname of the system where the MythTV backend is installed:"
+msgid "Hostname of the system where the MythTV backend is installed:"
+msgstr ""
+"Cuál es el nombre de host del sistema donde está instalado el backend de "
+"MythTV:"
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:2001
+#, fuzzy
+#| msgid "On what port number is the MythTV server listening:"
+msgid "Port number the MythTV server is listening on:"
+msgstr "En qué número de puerto está escuchando el servidor MythTV:"
+
+#~ msgid "mythtv-setup must be run in order to complete MythTV installation"
+#~ msgstr ""
+#~ "mythtv-setup debe ejecutarse para completar la instalación de MythTV"
+
+#~ msgid ""
+#~ "You must run mythtv-setup as a user in the 'mythtv' group in order to "
+#~ "complete  mythtv configuration.  Note that this program requires an X "
+#~ "display, so you must either login to an X session as a user in the "
+#~ "'mythtv' group, or otherwise  arrange for that user to have access to "
+#~ "your X display."
+#~ msgstr ""
+#~ "Debe ejecutar mythtv-setup como un usuario que pertenezca al grupo "
+#~ "'mythtv' para completar la configuración de mythtv. Note que este "
+#~ "programa requiere una visualización X, así que debe o entrar a una sesión "
+#~ "X como un usuario que pertenezca al grupo 'mythtv', o disponer el acceso "
+#~ "a una visualización X para ese usuario."
+
+#~ msgid "You must complete all four steps presented in the program."
+#~ msgstr "Debe completar los cuatro pasos que se presentan en el programa."
+
+#~ msgid ""
+#~ "Once you have done this, you may start the backend by executing the "
+#~ "following command:"
+#~ msgstr ""
+#~ "Una vez que ha hecho esto, puede iniciar el entorno ejecutando la orden "
+#~ "siguiente:"
+
+#~ msgid "sudo /etc/init.d/mythtv-backend start"
+#~ msgstr "sudo /etc/init.d/mythtv-backend start"
+
+#~ msgid ""
+#~ "You must run mythtv-setup as a user in the 'mythtv' group in order to "
+#~ "complete mythtv configuration."
+#~ msgstr ""
+#~ "Debe ejecutar mythtv-setup como un usuario del grupo 'mythtv' para "
+#~ "completar la configuración."
+
+#~ msgid ""
+#~ "If you are not in the mythtv group when launching setup, you will be "
+#~ "given  the opportunity to be automatically added."
+#~ msgstr ""
+#~ "Si no está en el grupo de mythtv cuando se inicie la instalación, se le "
+#~ "dará la oportunidad de añadirse automáticamente."
+
+#~ msgid "The Ubuntu MythTV packages generate a random MySQL password."
+#~ msgstr ""
+#~ "Los paquetes MythTV de Ubuntu generan una contraseña MySQL aleatoria."
+
+#~ msgid ""
+#~ "The generated password for this machine is '${password}'.  If you are "
+#~ "adding this machine to an existing mythtv-network, you will want to "
+#~ "update this password to the one in use by the network after completing "
+#~ "installation."
+#~ msgstr ""
+#~ "La contraseña generada para esta máquina es '${password}'. Si está "
+#~ "agregando esta máquina a una red mythtv existente, tal vez quiera "
+#~ "actualizar esta contraseña a una en uso por la red después de completar "
+#~ "la instalación."
+
+#~ msgid "This can be done by: 'sudo dpkg-reconfigure mythtv-common'."
+#~ msgstr ""
+#~ "Esto puede se puede hacer con: 'sudo dpkg-reconfigure mythtv-common'."
+
+#~ msgid ""
+#~ "In case you forget this password, it is also stored in '/etc/mythtv/mysql."
+#~ "txt'."
+#~ msgstr ""
+#~ "En caso de que olvide esta contraseña, esta se encuentra almacenada en '/"
+#~ "etc/mythtv/mysql.txt'."
+
+#~ msgid "tv_grab_de, tv_grab_na, tv_grab_sn, tv_grab_uk, tv_grab_uk_rt"
+#~ msgstr "tv_grab_de, tv_grab_na, tv_grab_sn, tv_grab_uk, tv_grab_uk_rt"
+
+#~ msgid "Which XMLTV grabber should be used to retrieve program listings:"
+#~ msgstr ""
+#~ "Qué capturador de XMLTV debe usarse para recuperar las listas de "
+#~ "programas:"
+
+#~ msgid ""
+#~ " - tv_grab_na retrieves listings for North America (US and Canada)\n"
+#~ " - tv_grab_de retrieves listings for Germany and Austria\n"
+#~ " - tv_grab_sn retrieves listings for Sweden or Norway\n"
+#~ " - tv_grab_uk retrieves listings for the United Kingdom\n"
+#~ " - tv_grab_uk_rt retrieves listings for the United Kingdom (alternate)"
+#~ msgstr ""
+#~ " - tv_grab_na recupera listas de América Del Norte (EE. UU. y Canadá)\n"
+#~ "- tv_grab_de recupera listas de Alemania y Austria\n"
+#~ "- tv_grab_sn recupera listas de Suecia y Noruega\n"
+#~ "- tv_grab_uk recupera listas del Reino Unido\n"
+#~ "- tv_grab_uk_rt recupera listas del Reino Unido (alternativo)"
+
+#~ msgid "Which television standard should be used by MythTV:"
+#~ msgstr "Qué estándar de televisión debe utilizar MythTV:"
+
+#~ msgid "Which channel frequency table should be used by MythTV:"
+#~ msgstr "Qué tabla de frecuencias de canales debe utilizar MythTV:"
+
+#~ msgid "WARNING: old MythTV binaries found"
+#~ msgstr "AVISO: se han encontrado antiguos binarios de MythTV"
+
+#~ msgid ""
+#~ "It appears that you have installed mythtv from source previously, and "
+#~ "some files remain from the previous installation, including at least:"
+#~ msgstr ""
+#~ "Aparentemente ha instalado mythtv desde el código fuente anteriormente, y "
+#~ "quedan algunos archivos de la instalación previa, que incluyen por lo "
+#~ "menos:"
+
+#~ msgid "${files}"
+#~ msgstr "${files}"
+
+#~ msgid ""
+#~ "Installation of these packages should succeed, but you MUST remove these "
+#~ "files in order for the packaged version of MythTV to work properly."
+#~ msgstr ""
+#~ "La instalación de estos paquetes será un éxito, pero DEBE eliminar estos "
+#~ "archivos para que la versión empaquetada de MythTV trabaje apropiadamente."
+
+#~ msgid "Is it OK to create the video4linux device nodes?"
+#~ msgstr "¿Está bien crear los nodos del dispositivo video4linux?"

=== added file 'debian/po/fi.po'
--- debian/po/fi.po	1970-01-01 00:00:00 +0000
+++ debian/po/fi.po	2010-05-26 16:08:33 +0000
@@ -0,0 +1,141 @@
+# Finnish translation for mythtv
+# Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007
+# This file is distributed under the same license as the mythtv package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mythtv\n"
+"Report-Msgid-Bugs-To: mythtv@xxxxxxxxxxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-03-24 22:35-0500\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Finnish <fi@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2007-10-05 08:18+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "Database to be used to hold MythTV data:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "If a database with this name already exists, it will be used."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid "Username used by MythTV to access its database:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid ""
+"This user will automatically be granted appropriate permissions to the "
+"database."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "Password used by MythTV to access its database:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "If you give an empty password, a random one will be generated."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:4001
+msgid "Host MySQL server resides in:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid "MySQL administrator account:"
+msgstr ""
+
+#. Type: string
+#. Description
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:1001 ../mythtv-database.templates:2001
+msgid "This information will be used to create a database and user for MythTV."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid ""
+"Unless you have explicitly changed this on the MySQL server, and understand "
+"MySQL's privilege system, use the default of 'root'."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid "Password for the MySQL administrator account '${user}':"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid ""
+"Unless you have explicitly changed the password on the MySQL server, leave "
+"this blank."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid "Will other computers run MythTV?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"If any other computers (that includes other Front End machines) with MythTV "
+"will be used, this computer needs to be configured to allow remote "
+"connections."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"Note that this is a security risk, as both the MythTV and MySQL services "
+"will be exposed. Be sure to place this machine behind a firewall."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"If multiple interfaces are used, the first one listed in 'ifconfig' will be "
+"used."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:1001
+msgid "Hostname of the system where the MythTV backend is installed:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:2001
+msgid "Port number the MythTV server is listening on:"
+msgstr ""

=== added file 'debian/po/fr.po'
--- debian/po/fr.po	1970-01-01 00:00:00 +0000
+++ debian/po/fr.po	2010-05-26 16:08:33 +0000
@@ -0,0 +1,292 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) 2005
+# This file is distributed under the same license as the mythtv package.
+# Chrstian Marillat <marillat@xxxxxxxxxx>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mythtv 0.18.1\n"
+"Report-Msgid-Bugs-To: mythtv@xxxxxxxxxxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-03-24 22:35-0500\n"
+"PO-Revision-Date: 2005-12-23 15:48+0100\n"
+"Last-Translator: Christian Marillat<marillat@xxxxxxxxxx>\n"
+"Language-Team: French <fr@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+#, fuzzy
+#| msgid "What database should be used to hold MythTV data:"
+msgid "Database to be used to hold MythTV data:"
+msgstr ""
+"Quelle base de donnée doit être utilisée pour stockée les donnée de MythTV :"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "If a database with this name already exists, it will be used."
+msgstr "Si une base de donnée avec ce nom existe déjà, elle sera utilisée."
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+#, fuzzy
+#| msgid "What username should MythTV use to access its database:"
+msgid "Username used by MythTV to access its database:"
+msgstr ""
+"Quel est le nom de l'utilisateur que doit utiliser MythTV pour accéder à la "
+"base de donnée :"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid ""
+"This user will automatically be granted appropriate permissions to the "
+"database."
+msgstr ""
+"Cet utilisateur aura automatiquement les bon droits pour gérer la base de "
+"donnée."
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+#, fuzzy
+#| msgid "What password should MythTV use to access its database:"
+msgid "Password used by MythTV to access its database:"
+msgstr ""
+"Quel est le mot de passe que MythTV doit utiliser pour accéder à la base de "
+"donnée :"
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "If you give an empty password, a random one will be generated."
+msgstr "Si vous ne donnez pas de mot de passe, un mot aléatoire sera généré."
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:4001
+#, fuzzy
+#| msgid "On what host does the MySQL server reside:"
+msgid "Host MySQL server resides in:"
+msgstr "Quel est le nom de la machine ou se trouve le serveur MySQL :"
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+#, fuzzy
+#| msgid "What is the name of the MySQL administrator account:"
+msgid "MySQL administrator account:"
+msgstr "Quel est le nom de l'administrateur MySQL :"
+
+#. Type: string
+#. Description
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:1001 ../mythtv-database.templates:2001
+msgid "This information will be used to create a database and user for MythTV."
+msgstr ""
+"Cet information sera utilisé pour créer la base de donnée et l'utilisateur "
+"MythTV."
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid ""
+"Unless you have explicitly changed this on the MySQL server, and understand "
+"MySQL's privilege system, use the default of 'root'."
+msgstr ""
+"A moins que vous ayez changé explicitement ceci sur le serveur MySQL, et "
+"comprenez les privilèges d'un système MySQL, utilisez le défaut de 'root'."
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+#, fuzzy
+#| msgid "What is the password for the MySQL administrator account '${user}':"
+msgid "Password for the MySQL administrator account '${user}':"
+msgstr "Quel est le mot de passe de l'administrateur MySQL '${user}' :"
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid ""
+"Unless you have explicitly changed the password on the MySQL server, leave "
+"this blank."
+msgstr ""
+"Sauf si vous avez changé le mot de passe du serveur MySQL, laissez celui-ci "
+"vide."
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid "Will other computers run MythTV?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"If any other computers (that includes other Front End machines) with MythTV "
+"will be used, this computer needs to be configured to allow remote "
+"connections."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"Note that this is a security risk, as both the MythTV and MySQL services "
+"will be exposed. Be sure to place this machine behind a firewall."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"If multiple interfaces are used, the first one listed in 'ifconfig' will be "
+"used."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:1001
+#, fuzzy
+#| msgid ""
+#| "What is the hostname of the system where the MythTV backend is installed:"
+msgid "Hostname of the system where the MythTV backend is installed:"
+msgstr "Quel est le nom de la machine ou MythTV backend est installé :"
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:2001
+#, fuzzy
+#| msgid "On what port number is the MythTV server listening:"
+msgid "Port number the MythTV server is listening on:"
+msgstr "Quel est le numéro du port du serveur MythTV :"
+
+#~ msgid "mythtv-setup must be run in order to complete MythTV installation"
+#~ msgstr ""
+#~ "mythtv-setup doit être exécuter pour finir l'installation de MythTV."
+
+#, fuzzy
+#~ msgid ""
+#~ "You must run mythtv-setup as a user in the 'mythtv' group in order to "
+#~ "complete  mythtv configuration.  Note that this program requires an X "
+#~ "display, so you must either login to an X session as a user in the "
+#~ "'mythtv' group, or otherwise  arrange for that user to have access to "
+#~ "your X display."
+#~ msgstr ""
+#~ "Vous devez exécuter mythtv-setup en tant qu'utilisateur 'mythtv' pour "
+#~ "finir la configuration. Notez que ce programme a besoin d'un interface "
+#~ "graphique, il faut donc vous connecter a une session X en tant "
+#~ "qu'utilisateur 'mythtv, ou vous arrangez pour donner accès à la session X "
+#~ "pour cet utilisateur."
+
+#~ msgid "You must complete all four steps presented in the program."
+#~ msgstr "Vous devez finir les 4 étapes présentées dans ce programme."
+
+#, fuzzy
+#~ msgid ""
+#~ "Once you have done this, you may start the backend by executing the "
+#~ "following command:"
+#~ msgstr ""
+#~ "Une fois que vous avez fini ceci, vous pouvez démarrer le 'backend' en "
+#~ "exécutant la commande suivante en tant que root :"
+
+#, fuzzy
+#~ msgid "sudo /etc/init.d/mythtv-backend start"
+#~ msgstr "/etc/init.d/mythtv-backend start"
+
+#, fuzzy
+#~ msgid ""
+#~ "You must run mythtv-setup as a user in the 'mythtv' group in order to "
+#~ "complete mythtv configuration."
+#~ msgstr ""
+#~ "Vous devez exécuter mythtv-setup en tant qu'utilisateur 'mythtv' pour "
+#~ "finir la configuration de mythtv.  Par exemple, en tant que root :"
+
+#~ msgid "tv_grab_de, tv_grab_na, tv_grab_sn, tv_grab_uk, tv_grab_uk_rt"
+#~ msgstr "tv_grab_de, tv_grab_na, tv_grab_sn, tv_grab_uk, tv_grab_uk_rt"
+
+#~ msgid "Which XMLTV grabber should be used to retrieve program listings:"
+#~ msgstr "Quel est le nom du programme XMLTV qui doit être utilisé :"
+
+#~ msgid ""
+#~ " - tv_grab_na retrieves listings for North America (US and Canada)\n"
+#~ " - tv_grab_de retrieves listings for Germany and Austria\n"
+#~ " - tv_grab_sn retrieves listings for Sweden or Norway\n"
+#~ " - tv_grab_uk retrieves listings for the United Kingdom\n"
+#~ " - tv_grab_uk_rt retrieves listings for the United Kingdom (alternate)"
+#~ msgstr "tv_grab_fr pour la France"
+
+#~ msgid "Which television standard should be used by MythTV:"
+#~ msgstr "Quel est le standard vidéo que doit utiliser MythTV :"
+
+#~ msgid "Which channel frequency table should be used by MythTV:"
+#~ msgstr "Quel table de fréquence doit être utilisé par MythTV :"
+
+#~ msgid "WARNING: old MythTV binaries found"
+#~ msgstr "ATTENTION : un ancien binaire MythTV a été trouvé"
+
+#~ msgid ""
+#~ "It appears that you have installed mythtv from source previously, and "
+#~ "some files remain from the previous installation, including at least:"
+#~ msgstr ""
+#~ "Vous avez déjà installé mythtv à partir des sources, et quelques fichiers "
+#~ "sont encore présent, au moins ceux là :"
+
+#~ msgid "${files}"
+#~ msgstr "${files}"
+
+#~ msgid ""
+#~ "Installation of these packages should succeed, but you MUST remove these "
+#~ "files in order for the packaged version of MythTV to work properly."
+#~ msgstr ""
+#~ "L'installation de ses fichiers doit marcher, mais il est recommandé "
+#~ "d'enlever ses fichiers pour que le paquet marche correctement."
+
+#, fuzzy
+#~ msgid "Is it OK to create the video4linux device nodes?"
+#~ msgstr ""
+#~ "Étes vous d'accord pour créer les noeuds des périphériques vidéo4linux :"
+
+#~ msgid "mythconverg"
+#~ msgstr "mythconverg"
+
+#~ msgid "mythtv"
+#~ msgstr "mythtv"
+
+#~ msgid "localhost"
+#~ msgstr "localhost"
+
+#~ msgid "su - mythtv -c mythtv-setup"
+#~ msgstr "su - mythtv -c mythtv-setup"
+
+#~ msgid ""
+#~ "and follow any instructions that it gives.  Once you have done this, you "
+#~ "should be able to run mythtv as the 'mythtv' user."
+#~ msgstr ""
+#~ "et suivre les instructions qu'il donne. Une fois fini ceci, vous devriez "
+#~ "être capable d'utiliser mythtv en tant qu'utilisateur 'mythtv'."
+
+#~ msgid "NTSC, PAL, SECAM, PAL-NC, PAL-M, PAL-N, NTSC-JP"
+#~ msgstr "NTSC, PAL, SECAM, PAL-NC, PAL-M, PAL-N, NTSC-JP"
+
+#~ msgid ""
+#~ "us-bcast, us-cable, us-cable-hrc, japan-bcast, japan-cable, europe-west, "
+#~ "europe-east, italy, newzealand, australia, ireland, france, china-bcast, "
+#~ "southafrica, argentina, canada-cable, australia-optus"
+#~ msgstr ""
+#~ "us-bcast, us-cable, us-cable-hrc, japan-bcast, japan-cable, europe-west, "
+#~ "europe-east, italy, newzealand, australia, ireland, france, china-bcast, "
+#~ "southafrica, argentina, canada-cable, australia-optus"
+
+#~ msgid "root"
+#~ msgstr "root"
+
+#~ msgid "6543"
+#~ msgstr "6543"

=== added file 'debian/po/he.po'
--- debian/po/he.po	1970-01-01 00:00:00 +0000
+++ debian/po/he.po	2010-05-26 16:08:33 +0000
@@ -0,0 +1,286 @@
+# Hebrew translation for mythtv
+# Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007
+# This file is distributed under the same license as the mythtv package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mythtv\n"
+"Report-Msgid-Bugs-To: mythtv@xxxxxxxxxxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-03-24 22:35-0500\n"
+"PO-Revision-Date: 2007-09-08 21:57+0000\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Hebrew <he@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2007-10-05 08:18+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+#, fuzzy
+#| msgid "What database should be used to hold MythTV data:"
+msgid "Database to be used to hold MythTV data:"
+msgstr "באיזה מסד נתונים יעשה שימוש על מנת לאחסן את נתוני MythTV:"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "If a database with this name already exists, it will be used."
+msgstr "אם מסד נתונים עם שם זה כבר קיים, יעשה בו שימוש."
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+#, fuzzy
+#| msgid "What username should MythTV use to access its database:"
+msgid "Username used by MythTV to access its database:"
+msgstr "באיזה שם MythTV ישתמש על מנת לגשת למסד הנתונים:"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid ""
+"This user will automatically be granted appropriate permissions to the "
+"database."
+msgstr "משתמש זה יקבל את הרשאות הגישה המתאימות באופן אוטומטי למסד הנתונים."
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+#, fuzzy
+#| msgid "What password should MythTV use to access its database:"
+msgid "Password used by MythTV to access its database:"
+msgstr "באיזו סיסמא על MythTV להשתמש על מנת לגשת למסד הנתונים שלו:"
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "If you give an empty password, a random one will be generated."
+msgstr "אם תזין סיסמא ריקה, תיווצר סיסמא אקראית."
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:4001
+#, fuzzy
+#| msgid "On what host does the MySQL server reside:"
+msgid "Host MySQL server resides in:"
+msgstr "מהי כתובת מארח ה-MySQL:"
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+#, fuzzy
+#| msgid "What is the name of the MySQL administrator account:"
+msgid "MySQL administrator account:"
+msgstr "מהו שם חשבון המנהל של ה-MySQL:"
+
+#. Type: string
+#. Description
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:1001 ../mythtv-database.templates:2001
+msgid "This information will be used to create a database and user for MythTV."
+msgstr "מידע זה ישמש ליצירת מסד נתונים ומשתמש עבור MythTV."
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid ""
+"Unless you have explicitly changed this on the MySQL server, and understand "
+"MySQL's privilege system, use the default of 'root'."
+msgstr ""
+"אלא אם אם שינית זאת מפורשות בשרת ה-MySQL, והבנת את מערכת ההרשאות של MySQLף "
+"השתמש בברירת המחדל 'root'."
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+#, fuzzy
+#| msgid "What is the password for the MySQL administrator account '${user}':"
+msgid "Password for the MySQL administrator account '${user}':"
+msgstr "מהי הסיסמא עבור חשבון מנהל ה-MySQL '${user}':"
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid ""
+"Unless you have explicitly changed the password on the MySQL server, leave "
+"this blank."
+msgstr "אלא אם כן שינית את הסיסמא עבור שרת ה-MySQl מפורשות, השאר זאת ריק."
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+#, fuzzy
+#| msgid "Will you be using other computers running MythTV?"
+msgid "Will other computers run MythTV?"
+msgstr "האם תשתמש במחשבים אחרים המריצים MythTV?"
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+#, fuzzy
+#| msgid ""
+#| "If you will be using any other computers with MythTV, this computer needs "
+#| "to be configured to allow remote connections.  Do you want to enable "
+#| "remote  connectivity?"
+msgid ""
+"If any other computers (that includes other Front End machines) with MythTV "
+"will be used, this computer needs to be configured to allow remote "
+"connections."
+msgstr ""
+"אם תעשה שימוש במחשבים נוספים עם MythTV, על מחשב זה להיות מוגדר על מנת לאפשר "
+"התחברות מרוחקת. האם ברצונך לאפשר התחברות מרחוק?"
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"Note that this is a security risk, as both the MythTV and MySQL services "
+"will be exposed. Be sure to place this machine behind a firewall."
+msgstr ""
+"שים לב שזוהי פירצת אבטחה, בעוד שגם שירותי ה-MythTV וה-MySQL יהיו חשופים. "
+"וודא שמחשב זה יהיה מאחורי חומת אש (Firewall)."
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+#, fuzzy
+#| msgid ""
+#| "If you have multiple interfaces, the first one listed in 'ifconfig' will "
+#| "be used."
+msgid ""
+"If multiple interfaces are used, the first one listed in 'ifconfig' will be "
+"used."
+msgstr ""
+"אם יש ברשותך מספר ממשקי רשת, יעשה שימוש בממשק המופיע ראשון ב-'ifconfig'."
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:1001
+#, fuzzy
+#| msgid ""
+#| "What is the hostname of the system where the MythTV backend is installed:"
+msgid "Hostname of the system where the MythTV backend is installed:"
+msgstr "מהו שם המארח של המערכת בה מותקן מנוע הרקע של MythTV:"
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:2001
+#, fuzzy
+#| msgid "On what port number is the MythTV server listening:"
+msgid "Port number the MythTV server is listening on:"
+msgstr "לאיזה מספר יציאה מאזין שרת ה-MythTV:"
+
+#~ msgid "mythtv-setup must be run in order to complete MythTV installation"
+#~ msgstr "עליך להריץ את mythtv-setup על מנת להשלים את התקנת MythTV"
+
+#~ msgid ""
+#~ "You must run mythtv-setup as a user in the 'mythtv' group in order to "
+#~ "complete  mythtv configuration.  Note that this program requires an X "
+#~ "display, so you must either login to an X session as a user in the "
+#~ "'mythtv' group, or otherwise  arrange for that user to have access to "
+#~ "your X display."
+#~ msgstr ""
+#~ "עליך להריץ את mythtv-setup בתור משתמש בקבוצת 'mythtv' על מנת להשלים את "
+#~ "הגדרת MythTV. סים לב שתוכנה זו דורשת תצוגת X, לכן עליך להתחבר בתור משתמש "
+#~ "בתצורת X בקבוצת 'mythtv', או שאחרת אפשר למשתמש זה לקבל גישה לתצוגת ה-X "
+#~ "שלך."
+
+#~ msgid "You must complete all four steps presented in the program."
+#~ msgstr "עליך להשלים את כל ארבעת הצעדים המוצגים בתוכנה."
+
+#~ msgid ""
+#~ "Once you have done this, you may start the backend by executing the "
+#~ "following command:"
+#~ msgstr "לאחר שעשית זאת, תוכל להתחיל את מנוע הרקע על ידי הרצת הפקודה הבאה:"
+
+#~ msgid "sudo /etc/init.d/mythtv-backend start"
+#~ msgstr "sudo /etc/init.d/mythtv-backend start"
+
+#~ msgid ""
+#~ "You must run mythtv-setup as a user in the 'mythtv' group in order to "
+#~ "complete mythtv configuration."
+#~ msgstr ""
+#~ "עליך להריץ את mythth-setup בתור משתמש בקבוצת 'mythtv' על מנת להשלים את "
+#~ "הגדרת mythtv."
+
+#~ msgid ""
+#~ "If you are not in the mythtv group when launching setup, you will be "
+#~ "given  the opportunity to be automatically added."
+#~ msgstr ""
+#~ "אם אינך בקבוצת mythtv בזמן הפעלת ההתקנה, תינתן לך האפשרות להצטרף לקבוצה "
+#~ "זו באופן אוטומטי."
+
+#~ msgid "The Ubuntu MythTV packages generate a random MySQL password."
+#~ msgstr "חבילת ה-MythTV באובונטו תייצר סיסמאת MySQL אקראית."
+
+#~ msgid ""
+#~ "The generated password for this machine is '${password}'.  If you are "
+#~ "adding this machine to an existing mythtv-network, you will want to "
+#~ "update this password to the one in use by the network after completing "
+#~ "installation."
+#~ msgstr ""
+#~ "הסיסמא שיוצרה עבור מחשב זה הינה '${password}'. אם אתה מוסיף את המחשב הזה "
+#~ "לקבוצת מחשבי mythtv ייתכן ותרצה לעדכן את הסיסמא לאחת שתשמש את הרשת לאחר "
+#~ "השלמת ההתקנה."
+
+#~ msgid "This can be done by: 'sudo dpkg-reconfigure mythtv-common'."
+#~ msgstr "ניתן לעשות זאת על ידי: 'sudo dpkg-reconfigure mythtv-common'."
+
+#~ msgid ""
+#~ "In case you forget this password, it is also stored in '/etc/mythtv/mysql."
+#~ "txt'."
+#~ msgstr "במידה ותשכח סיסמא זאת, היא גם תישמר במיקום '/etc/mythtv/mysql.txt'."
+
+#~ msgid "tv_grab_de, tv_grab_na, tv_grab_sn, tv_grab_uk, tv_grab_uk_rt"
+#~ msgstr "tv_grab_de, tv_grab_na, tv_grab_sn, tv_grab_uk, tv_grab_uk_rt"
+
+#~ msgid "Which XMLTV grabber should be used to retrieve program listings:"
+#~ msgstr "באיזה תופס XMLTV יש לעשות שימוש על מנת לאחזר לוחות שידורים:"
+
+#~ msgid ""
+#~ " - tv_grab_na retrieves listings for North America (US and Canada)\n"
+#~ " - tv_grab_de retrieves listings for Germany and Austria\n"
+#~ " - tv_grab_sn retrieves listings for Sweden or Norway\n"
+#~ " - tv_grab_uk retrieves listings for the United Kingdom\n"
+#~ " - tv_grab_uk_rt retrieves listings for the United Kingdom (alternate)"
+#~ msgstr ""
+#~ " - tv_grab_na מאחזר את הרשימה עבור צפון אמריקה (ארה\"ב וקנדה)\n"
+#~ " - tv_grab_de מאחזר את הרשימות עבור גרמניה ואוסטריה\n"
+#~ " - tv_grab_sn מאחזר את הרשימות עבור נורבגיה\n"
+#~ " - tv_grab_uk מאחזר את הרשימות עבור אנגליה\n"
+#~ " - tv_grab_uk_rt מאחזר את הרשימות עבור אנגליה (חלופי)"
+
+#~ msgid "Which television standard should be used by MythTV:"
+#~ msgstr "באיזה תקן טלויזיה יש להשתמש עבור MythTV:"
+
+#~ msgid "Which channel frequency table should be used by MythTV:"
+#~ msgstr "באיזו טבלת ערוצי תדרים יש לעשות שימוש עבור MythTV:"
+
+#~ msgid "WARNING: old MythTV binaries found"
+#~ msgstr "אזהרה: נמצאו קבצים בינאריים ישנים של MythTV"
+
+#~ msgid ""
+#~ "It appears that you have installed mythtv from source previously, and "
+#~ "some files remain from the previous installation, including at least:"
+#~ msgstr ""
+#~ "נראה שהתקנת את mythtv מקבצי המקור קודם לכן, וכמה קבצים נשארו מההתקנה "
+#~ "הקודמת, נכללים לפחות:"
+
+#~ msgid "${files}"
+#~ msgstr "${files}"
+
+#~ msgid ""
+#~ "Installation of these packages should succeed, but you MUST remove these "
+#~ "files in order for the packaged version of MythTV to work properly."
+#~ msgstr ""
+#~ "התקנת חבילות אלה אמורה להצליח, אך עליך להסיר קבצים אלה על מנת שהגירסא "
+#~ "הארוזה של MythTV תעבוד כהלכה."
+
+#, fuzzy
+#~ msgid "Is it OK to create the video4linux device nodes?"
+#~ msgstr "האם זה בסדר ליצור את הקשרים להתקן video4linux?"

=== added file 'debian/po/it.po'
--- debian/po/it.po	1970-01-01 00:00:00 +0000
+++ debian/po/it.po	2010-05-26 16:08:33 +0000
@@ -0,0 +1,308 @@
+# Italian translation for mythtv
+# Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007
+# This file is distributed under the same license as the mythtv package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mythtv\n"
+"Report-Msgid-Bugs-To: mythtv@xxxxxxxxxxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-03-24 22:35-0500\n"
+"PO-Revision-Date: 2007-09-27 09:35+0000\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Italian <it@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2007-10-05 08:18+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+#, fuzzy
+#| msgid "What database should be used to hold MythTV data:"
+msgid "Database to be used to hold MythTV data:"
+msgstr "Il database da usare per archiviare i dati MythTV:"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "If a database with this name already exists, it will be used."
+msgstr "Se esiste già un database con questo nome, verrà usato."
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+#, fuzzy
+#| msgid "What username should MythTV use to access its database:"
+msgid "Username used by MythTV to access its database:"
+msgstr "Il nome utente da usare per accedere al database:"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid ""
+"This user will automatically be granted appropriate permissions to the "
+"database."
+msgstr ""
+"A questo utente saranno concessi automaticamente i permessi necessari per il "
+"database."
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+#, fuzzy
+#| msgid "What password should MythTV use to access its database:"
+msgid "Password used by MythTV to access its database:"
+msgstr "La password da usare per accedere al database:"
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "If you give an empty password, a random one will be generated."
+msgstr "Non scrivendo alcuna password ne verrà generata una casuale."
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:4001
+#, fuzzy
+#| msgid "On what host does the MySQL server reside:"
+msgid "Host MySQL server resides in:"
+msgstr "L'host in cui si trova il database MySQL:"
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+#, fuzzy
+#| msgid "What is the name of the MySQL administrator account:"
+msgid "MySQL administrator account:"
+msgstr "Nome dell'account amministratore di MySQL:"
+
+#. Type: string
+#. Description
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:1001 ../mythtv-database.templates:2001
+msgid "This information will be used to create a database and user for MythTV."
+msgstr ""
+"Questa informazioni verrà utilizzata per creare un database e un utente per "
+"MythTV."
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid ""
+"Unless you have explicitly changed this on the MySQL server, and understand "
+"MySQL's privilege system, use the default of 'root'."
+msgstr ""
+"A meno che non sia stato cambiato nel server MySQL e si comprende il sistema "
+"dei privilegi di MySQL, usare il predefinito di \"root\"."
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+#, fuzzy
+#| msgid "What is the password for the MySQL administrator account '${user}':"
+msgid "Password for the MySQL administrator account '${user}':"
+msgstr "Password per l'account amministratore di MySQL \"${user}\":"
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid ""
+"Unless you have explicitly changed the password on the MySQL server, leave "
+"this blank."
+msgstr ""
+"A meno che non sia stata cambiata nel server MySQL, lasciare questo campo "
+"vuoto."
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+#, fuzzy
+#| msgid "Will you be using other computers running MythTV?"
+msgid "Will other computers run MythTV?"
+msgstr "Verranno usati altri computer con MythTV?"
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+#, fuzzy
+#| msgid ""
+#| "If you will be using any other computers with MythTV, this computer needs "
+#| "to be configured to allow remote connections.  Do you want to enable "
+#| "remote  connectivity?"
+msgid ""
+"If any other computers (that includes other Front End machines) with MythTV "
+"will be used, this computer needs to be configured to allow remote "
+"connections."
+msgstr ""
+"Se verranno usati altri computer con MythTV, questo computer deve essere "
+"configurato per consentire connessioni remote. Abilitare le connessioni "
+"remote?"
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"Note that this is a security risk, as both the MythTV and MySQL services "
+"will be exposed. Be sure to place this machine behind a firewall."
+msgstr ""
+"Notare che potrebbe essere un rischio per la sicurezza, dato che entrambi i "
+"servizi MythTV e MySQL saranno esposti. Assicurarsi di posizionare questo "
+"computer dietro un firewall."
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+#, fuzzy
+#| msgid ""
+#| "If you have multiple interfaces, the first one listed in 'ifconfig' will "
+#| "be used."
+msgid ""
+"If multiple interfaces are used, the first one listed in 'ifconfig' will be "
+"used."
+msgstr ""
+"Se si dispone di più di un'interfaccia, verrà usata la prima presente in "
+"\"ifconfig\"."
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:1001
+#, fuzzy
+#| msgid ""
+#| "What is the hostname of the system where the MythTV backend is installed:"
+msgid "Hostname of the system where the MythTV backend is installed:"
+msgstr "Nome dell'host del sistema in cui è installato il backend MythTV:"
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:2001
+#, fuzzy
+#| msgid "On what port number is the MythTV server listening:"
+msgid "Port number the MythTV server is listening on:"
+msgstr "Porta di ascolto del server MythTV:"
+
+#~ msgid "mythtv-setup must be run in order to complete MythTV installation"
+#~ msgstr ""
+#~ "mythtv-setup deve essere eseguito per completare l'installazione di MythTV"
+
+#~ msgid ""
+#~ "You must run mythtv-setup as a user in the 'mythtv' group in order to "
+#~ "complete  mythtv configuration.  Note that this program requires an X "
+#~ "display, so you must either login to an X session as a user in the "
+#~ "'mythtv' group, or otherwise  arrange for that user to have access to "
+#~ "your X display."
+#~ msgstr ""
+#~ "È necessario eseguire mythtv-setup come un utente nel gruppo \"mythtv\" "
+#~ "per poter configurare completamente mythtv. Questo programma richiede un "
+#~ "display X, potrebbe quindi essere necessario accedere a una sessione X "
+#~ "come l'utente appartenente al gruppo \"mythtv\" oppure fare in modo che "
+#~ "quell'utente abbia accesso al proprio display X."
+
+#~ msgid "You must complete all four steps presented in the program."
+#~ msgstr ""
+#~ "È necessario completare tutti e quattro i passi presentati in questo "
+#~ "programma."
+
+#~ msgid ""
+#~ "Once you have done this, you may start the backend by executing the "
+#~ "following command:"
+#~ msgstr ""
+#~ "Uno volta fatto questo, è possibile avviare il backend eseguendo il "
+#~ "comando seguente:"
+
+#~ msgid "sudo /etc/init.d/mythtv-backend start"
+#~ msgstr "sudo /etc/init.d/mythtv-backend start"
+
+#~ msgid ""
+#~ "You must run mythtv-setup as a user in the 'mythtv' group in order to "
+#~ "complete mythtv configuration."
+#~ msgstr ""
+#~ "È necessario avviare \"mythtv-setup\" come un utente nel gruppo \"mythtv"
+#~ "\" per completare la configurazione di mythtv."
+
+#~ msgid ""
+#~ "If you are not in the mythtv group when launching setup, you will be "
+#~ "given  the opportunity to be automatically added."
+#~ msgstr ""
+#~ "Se non si è nel gruppo mythtv quando viene lanciata la configurazione, è "
+#~ "possibile aggiungersi automaticamente."
+
+#~ msgid "The Ubuntu MythTV packages generate a random MySQL password."
+#~ msgstr "Il pacchetto MythTV di Ubuntu genera una password MySQL casuale."
+
+#~ msgid ""
+#~ "The generated password for this machine is '${password}'.  If you are "
+#~ "adding this machine to an existing mythtv-network, you will want to "
+#~ "update this password to the one in use by the network after completing "
+#~ "installation."
+#~ msgstr ""
+#~ "La password generata è \"${password}\". Nel caso si stia aggiungendo "
+#~ "questo computer all'interno di una mythtv-network, potrebbe essere "
+#~ "necessario, al termine dell'installazione, aggiornare la password con "
+#~ "quella in uso nella rete."
+
+#~ msgid "This can be done by: 'sudo dpkg-reconfigure mythtv-common'."
+#~ msgstr ""
+#~ "Questo può essere fatto con il comando: \"sudo dpkg-reconfigure mythtv-"
+#~ "common\"."
+
+#~ msgid ""
+#~ "In case you forget this password, it is also stored in '/etc/mythtv/mysql."
+#~ "txt'."
+#~ msgstr ""
+#~ "Nel caso in cui la password venga persa, è archiviata in \"/etc/mythtv/"
+#~ "mysql.txt\"."
+
+#~ msgid "tv_grab_de, tv_grab_na, tv_grab_sn, tv_grab_uk, tv_grab_uk_rt"
+#~ msgstr "tv_grab_de, tv_grab_na, tv_grab_sn, tv_grab_uk, tv_grab_uk_rt"
+
+#~ msgid "Which XMLTV grabber should be used to retrieve program listings:"
+#~ msgstr ""
+#~ "Quale strumento XMLTV usare per ottenere gli elenchi della programmazione:"
+
+#~ msgid ""
+#~ " - tv_grab_na retrieves listings for North America (US and Canada)\n"
+#~ " - tv_grab_de retrieves listings for Germany and Austria\n"
+#~ " - tv_grab_sn retrieves listings for Sweden or Norway\n"
+#~ " - tv_grab_uk retrieves listings for the United Kingdom\n"
+#~ " - tv_grab_uk_rt retrieves listings for the United Kingdom (alternate)"
+#~ msgstr ""
+#~ " - tv_grab_na recupera gli elenchi per il nord Americo (US e Canada)\n"
+#~ " - tv_grab_de recupera gli elenchi per Germani e Austria\n"
+#~ " - tv_grab_sn recupera gli elenchi per Svezia e Norvegia\n"
+#~ " - tv_grab_uk recupera gli elenchi per la Gran Bretegna\n"
+#~ " - tv_grab_uk_rt retrieves recupera gli elenchi per la Gran Bretagna "
+#~ "(alternativo)"
+
+#~ msgid "Which television standard should be used by MythTV:"
+#~ msgstr "Lo standard televisivo da usaer con MythTV:"
+
+#~ msgid "Which channel frequency table should be used by MythTV:"
+#~ msgstr "La frequanza del canale da usare con MythTV:"
+
+#~ msgid "WARNING: old MythTV binaries found"
+#~ msgstr "Attenzione: trovati binari di una vecchia versione di MythTV"
+
+#~ msgid ""
+#~ "It appears that you have installed mythtv from source previously, and "
+#~ "some files remain from the previous installation, including at least:"
+#~ msgstr ""
+#~ "Sembra che mythtv sia stato installato da sorgenti e sono rimasti alcuni "
+#~ "file dell'installazione precedente, compresi:"
+
+#~ msgid "${files}"
+#~ msgstr "${files}"
+
+#~ msgid ""
+#~ "Installation of these packages should succeed, but you MUST remove these "
+#~ "files in order for the packaged version of MythTV to work properly."
+#~ msgstr ""
+#~ "L'installazione di questi pacchetti dovrebbe avere successo, ma è "
+#~ "necessario rimuovere questi file per fare in modo che la versione di "
+#~ "MythTV pacchettizzata funzioni correttamente."
+
+#~ msgid "Is it OK to create the video4linux device nodes?"
+#~ msgstr "Creare i nodi per il device video4linux?"

=== added file 'debian/po/nl.po'
--- debian/po/nl.po	1970-01-01 00:00:00 +0000
+++ debian/po/nl.po	2010-05-26 16:08:33 +0000
@@ -0,0 +1,141 @@
+# Dutch translation for mythtv
+# Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007
+# This file is distributed under the same license as the mythtv package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mythtv\n"
+"Report-Msgid-Bugs-To: mythtv@xxxxxxxxxxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-03-24 22:35-0500\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Dutch <nl@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2007-10-05 08:18+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "Database to be used to hold MythTV data:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "If a database with this name already exists, it will be used."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid "Username used by MythTV to access its database:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid ""
+"This user will automatically be granted appropriate permissions to the "
+"database."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "Password used by MythTV to access its database:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "If you give an empty password, a random one will be generated."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:4001
+msgid "Host MySQL server resides in:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid "MySQL administrator account:"
+msgstr ""
+
+#. Type: string
+#. Description
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:1001 ../mythtv-database.templates:2001
+msgid "This information will be used to create a database and user for MythTV."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid ""
+"Unless you have explicitly changed this on the MySQL server, and understand "
+"MySQL's privilege system, use the default of 'root'."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid "Password for the MySQL administrator account '${user}':"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid ""
+"Unless you have explicitly changed the password on the MySQL server, leave "
+"this blank."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid "Will other computers run MythTV?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"If any other computers (that includes other Front End machines) with MythTV "
+"will be used, this computer needs to be configured to allow remote "
+"connections."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"Note that this is a security risk, as both the MythTV and MySQL services "
+"will be exposed. Be sure to place this machine behind a firewall."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"If multiple interfaces are used, the first one listed in 'ifconfig' will be "
+"used."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:1001
+msgid "Hostname of the system where the MythTV backend is installed:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:2001
+msgid "Port number the MythTV server is listening on:"
+msgstr ""

=== added file 'debian/po/oc.po'
--- debian/po/oc.po	1970-01-01 00:00:00 +0000
+++ debian/po/oc.po	2010-05-26 16:08:33 +0000
@@ -0,0 +1,150 @@
+# Occitan (post 1500) translation for mythtv
+# Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007
+# This file is distributed under the same license as the mythtv package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mythtv\n"
+"Report-Msgid-Bugs-To: mythtv@xxxxxxxxxxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-03-24 22:35-0500\n"
+"PO-Revision-Date: 2007-09-30 21:18+0000\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Occitan (post 1500) <oc@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2007-10-05 08:18+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "Database to be used to hold MythTV data:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "If a database with this name already exists, it will be used."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid "Username used by MythTV to access its database:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid ""
+"This user will automatically be granted appropriate permissions to the "
+"database."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "Password used by MythTV to access its database:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "If you give an empty password, a random one will be generated."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:4001
+msgid "Host MySQL server resides in:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid "MySQL administrator account:"
+msgstr ""
+
+#. Type: string
+#. Description
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:1001 ../mythtv-database.templates:2001
+msgid "This information will be used to create a database and user for MythTV."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid ""
+"Unless you have explicitly changed this on the MySQL server, and understand "
+"MySQL's privilege system, use the default of 'root'."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid "Password for the MySQL administrator account '${user}':"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid ""
+"Unless you have explicitly changed the password on the MySQL server, leave "
+"this blank."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid "Will other computers run MythTV?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"If any other computers (that includes other Front End machines) with MythTV "
+"will be used, this computer needs to be configured to allow remote "
+"connections."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"Note that this is a security risk, as both the MythTV and MySQL services "
+"will be exposed. Be sure to place this machine behind a firewall."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"If multiple interfaces are used, the first one listed in 'ifconfig' will be "
+"used."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:1001
+msgid "Hostname of the system where the MythTV backend is installed:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:2001
+msgid "Port number the MythTV server is listening on:"
+msgstr ""
+
+#~ msgid "sudo /etc/init.d/mythtv-backend start"
+#~ msgstr "sudo /etc/init.d/mythtv-backend start"
+
+#~ msgid "tv_grab_de, tv_grab_na, tv_grab_sn, tv_grab_uk, tv_grab_uk_rt"
+#~ msgstr "tv_grab_de, tv_grab_na, tv_grab_sn, tv_grab_uk, tv_grab_uk_rt"
+
+#~ msgid "${files}"
+#~ msgstr "${files}"

=== added file 'debian/po/pl.po'
--- debian/po/pl.po	1970-01-01 00:00:00 +0000
+++ debian/po/pl.po	2010-05-26 16:08:33 +0000
@@ -0,0 +1,141 @@
+# Polish translation for mythtv
+# Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007
+# This file is distributed under the same license as the mythtv package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mythtv\n"
+"Report-Msgid-Bugs-To: mythtv@xxxxxxxxxxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-03-24 22:35-0500\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Polish <pl@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2007-10-05 08:18+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "Database to be used to hold MythTV data:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "If a database with this name already exists, it will be used."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid "Username used by MythTV to access its database:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid ""
+"This user will automatically be granted appropriate permissions to the "
+"database."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "Password used by MythTV to access its database:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "If you give an empty password, a random one will be generated."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:4001
+msgid "Host MySQL server resides in:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid "MySQL administrator account:"
+msgstr ""
+
+#. Type: string
+#. Description
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:1001 ../mythtv-database.templates:2001
+msgid "This information will be used to create a database and user for MythTV."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid ""
+"Unless you have explicitly changed this on the MySQL server, and understand "
+"MySQL's privilege system, use the default of 'root'."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid "Password for the MySQL administrator account '${user}':"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid ""
+"Unless you have explicitly changed the password on the MySQL server, leave "
+"this blank."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid "Will other computers run MythTV?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"If any other computers (that includes other Front End machines) with MythTV "
+"will be used, this computer needs to be configured to allow remote "
+"connections."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"Note that this is a security risk, as both the MythTV and MySQL services "
+"will be exposed. Be sure to place this machine behind a firewall."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"If multiple interfaces are used, the first one listed in 'ifconfig' will be "
+"used."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:1001
+msgid "Hostname of the system where the MythTV backend is installed:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:2001
+msgid "Port number the MythTV server is listening on:"
+msgstr ""

=== added file 'debian/po/pt_BR.po'
--- debian/po/pt_BR.po	1970-01-01 00:00:00 +0000
+++ debian/po/pt_BR.po	2010-05-26 16:08:33 +0000
@@ -0,0 +1,159 @@
+# Brazilian Portuguese translation for mythtv
+# Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007
+# This file is distributed under the same license as the mythtv package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mythtv\n"
+"Report-Msgid-Bugs-To: mythtv@xxxxxxxxxxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-03-24 22:35-0500\n"
+"PO-Revision-Date: 2007-08-31 15:38+0000\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Brazilian Portuguese <pt_BR@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2007-10-05 08:18+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "Database to be used to hold MythTV data:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "If a database with this name already exists, it will be used."
+msgstr "Se um banco de dados com este nome já existir, ele será utilizado."
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid "Username used by MythTV to access its database:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid ""
+"This user will automatically be granted appropriate permissions to the "
+"database."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "Password used by MythTV to access its database:"
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "If you give an empty password, a random one will be generated."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:4001
+msgid "Host MySQL server resides in:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+#, fuzzy
+#| msgid "What is the name of the MySQL administrator account:"
+msgid "MySQL administrator account:"
+msgstr "Qual o nome da conta administrativa do MySQL:"
+
+#. Type: string
+#. Description
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:1001 ../mythtv-database.templates:2001
+msgid "This information will be used to create a database and user for MythTV."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid ""
+"Unless you have explicitly changed this on the MySQL server, and understand "
+"MySQL's privilege system, use the default of 'root'."
+msgstr ""
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+#, fuzzy
+#| msgid "What is the name of the MySQL administrator account:"
+msgid "Password for the MySQL administrator account '${user}':"
+msgstr "Qual o nome da conta administrativa do MySQL:"
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid ""
+"Unless you have explicitly changed the password on the MySQL server, leave "
+"this blank."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid "Will other computers run MythTV?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"If any other computers (that includes other Front End machines) with MythTV "
+"will be used, this computer needs to be configured to allow remote "
+"connections."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"Note that this is a security risk, as both the MythTV and MySQL services "
+"will be exposed. Be sure to place this machine behind a firewall."
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"If multiple interfaces are used, the first one listed in 'ifconfig' will be "
+"used."
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:1001
+msgid "Hostname of the system where the MythTV backend is installed:"
+msgstr ""
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:2001
+msgid "Port number the MythTV server is listening on:"
+msgstr ""
+
+#~ msgid "sudo /etc/init.d/mythtv-backend start"
+#~ msgstr "sudo /etc/init.d/mythtv-backend start"
+
+#~ msgid "This can be done by: 'sudo dpkg-reconfigure mythtv-common'."
+#~ msgstr ""
+#~ "Isto pode ser finalizado através de: 'sudo dpkg-reconfigure mythtv-"
+#~ "common'."
+
+#~ msgid "tv_grab_de, tv_grab_na, tv_grab_sn, tv_grab_uk, tv_grab_uk_rt"
+#~ msgstr "tv_grab_de, tv_grab_na, tv_grab_sn, tv_grab_uk, tv_grab_uk_rt"
+
+#~ msgid "${files}"
+#~ msgstr "${files}"

=== added file 'debian/po/sv.po'
--- debian/po/sv.po	1970-01-01 00:00:00 +0000
+++ debian/po/sv.po	2010-05-26 16:08:33 +0000
@@ -0,0 +1,304 @@
+# Swedish translation for mythtv
+# Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007
+# This file is distributed under the same license as the mythtv package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, 2007.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: mythtv\n"
+"Report-Msgid-Bugs-To: mythtv@xxxxxxxxxxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-03-24 22:35-0500\n"
+"PO-Revision-Date: 2007-09-01 22:24+0000\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: Swedish <sv@xxxxxx>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Launchpad-Export-Date: 2007-10-05 08:18+0000\n"
+"X-Generator: Launchpad (build Unknown)\n"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+#, fuzzy
+#| msgid "What database should be used to hold MythTV data:"
+msgid "Database to be used to hold MythTV data:"
+msgstr "Vilken databas ska användas för MythTV-data:"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:1001
+msgid "If a database with this name already exists, it will be used."
+msgstr "Om en databas med det här namnet redan finns kommer den att användas."
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+#, fuzzy
+#| msgid "What username should MythTV use to access its database:"
+msgid "Username used by MythTV to access its database:"
+msgstr "Vilket användarnamn ska MythTV använda för att komma åt dess databas:"
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:2001
+msgid ""
+"This user will automatically be granted appropriate permissions to the "
+"database."
+msgstr ""
+"Den här användaren kommer automatiskt att ges lämpliga rättigheter i "
+"databasen."
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+#, fuzzy
+#| msgid "What password should MythTV use to access its database:"
+msgid "Password used by MythTV to access its database:"
+msgstr "Vilket lösenord ska MythTV använda för att komma åt dess databas:"
+
+#. Type: password
+#. Description
+#: ../mythtv-common.templates:3001
+msgid "If you give an empty password, a random one will be generated."
+msgstr "Om du anger ett blankt lösenord kommer ett lösenord att slumpas fram."
+
+#. Type: string
+#. Description
+#: ../mythtv-common.templates:4001
+#, fuzzy
+#| msgid "On what host does the MySQL server reside:"
+msgid "Host MySQL server resides in:"
+msgstr "På vilken värd finns MySQL-servern:"
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+#, fuzzy
+#| msgid "What is the name of the MySQL administrator account:"
+msgid "MySQL administrator account:"
+msgstr "Vad är namnet på MySQL-administratörskontot:"
+
+#. Type: string
+#. Description
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:1001 ../mythtv-database.templates:2001
+msgid "This information will be used to create a database and user for MythTV."
+msgstr ""
+"Den här informationen kommer att användas för att skapa en databas och "
+"användare för MythTV."
+
+#. Type: string
+#. Description
+#: ../mythtv-database.templates:1001
+msgid ""
+"Unless you have explicitly changed this on the MySQL server, and understand "
+"MySQL's privilege system, use the default of 'root'."
+msgstr ""
+"Såvida du inte har uttryckligen ändrat det här på MySQL-servern och förstår "
+"behörighetssystemet i MySQL kan du använda standardvärden för \"root\"."
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+#, fuzzy
+#| msgid "What is the password for the MySQL administrator account '${user}':"
+msgid "Password for the MySQL administrator account '${user}':"
+msgstr "Vad är lösenordet för MySQL-administratörskontot \"${user}\":"
+
+#. Type: password
+#. Description
+#: ../mythtv-database.templates:2001
+msgid ""
+"Unless you have explicitly changed the password on the MySQL server, leave "
+"this blank."
+msgstr ""
+"Såvida du inte har uttryckligen ändrat lösenordet på MySQL-servern, lämna "
+"det här blankt."
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+#, fuzzy
+#| msgid "Will you be using other computers running MythTV?"
+msgid "Will other computers run MythTV?"
+msgstr "Kommer du att använda andra datorer som kör MythTV?"
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+#, fuzzy
+#| msgid ""
+#| "If you will be using any other computers with MythTV, this computer needs "
+#| "to be configured to allow remote connections.  Do you want to enable "
+#| "remote  connectivity?"
+msgid ""
+"If any other computers (that includes other Front End machines) with MythTV "
+"will be used, this computer needs to be configured to allow remote "
+"connections."
+msgstr ""
+"Om du använder andra datorer med MythTV behöver den här datorn konfigureras "
+"till att tillåta fjärranslutningar. Vill du aktivera fjärranslutningar?"
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+msgid ""
+"Note that this is a security risk, as both the MythTV and MySQL services "
+"will be exposed. Be sure to place this machine behind a firewall."
+msgstr ""
+"Observera att det här är en säkerhetsrisk eftersom både MythTV och MySQL-"
+"tjänster kommer att exponeras. Försäkra dig om att den här maskinen står "
+"bakom en brandvägg."
+
+#. Type: boolean
+#. Description
+#: ../mythtv-database.templates:3001
+#, fuzzy
+#| msgid ""
+#| "If you have multiple interfaces, the first one listed in 'ifconfig' will "
+#| "be used."
+msgid ""
+"If multiple interfaces are used, the first one listed in 'ifconfig' will be "
+"used."
+msgstr ""
+"Om du har flera gränssnitt kommer det första som listas i \"ifconfig\" att "
+"användas."
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:1001
+#, fuzzy
+#| msgid ""
+#| "What is the hostname of the system where the MythTV backend is installed:"
+msgid "Hostname of the system where the MythTV backend is installed:"
+msgstr "Vad är värdnamnet på systemet där MythTV-bakänden finns installerad:"
+
+#. Type: string
+#. Description
+#: ../mythtv-frontend.templates:2001
+#, fuzzy
+#| msgid "On what port number is the MythTV server listening:"
+msgid "Port number the MythTV server is listening on:"
+msgstr "PÃ¥ vilket portnummer lyssnar MythTV-servern:"
+
+#~ msgid "mythtv-setup must be run in order to complete MythTV installation"
+#~ msgstr ""
+#~ "mythtv-setup måste köras för att färdigställa installationen av MythTV"
+
+#~ msgid ""
+#~ "You must run mythtv-setup as a user in the 'mythtv' group in order to "
+#~ "complete  mythtv configuration.  Note that this program requires an X "
+#~ "display, so you must either login to an X session as a user in the "
+#~ "'mythtv' group, or otherwise  arrange for that user to have access to "
+#~ "your X display."
+#~ msgstr ""
+#~ "Du måste köra mythtv-setup som en användare i gruppen \"mythtv\" för att "
+#~ "färdigställa konfigurationen av mythtv. Observera att det här programmet "
+#~ "kräver en X-display så du måste antingen logga in i en X-session som en "
+#~ "användare i gruppen \"mythtv\" eller på andra sätt göra så att den "
+#~ "användaren får tillgång till din X-display."
+
+#~ msgid "You must complete all four steps presented in the program."
+#~ msgstr "Du måste gå igenom alla fyra steg i programmet."
+
+#~ msgid ""
+#~ "Once you have done this, you may start the backend by executing the "
+#~ "following command:"
+#~ msgstr ""
+#~ "När du är klar med det här kan du starta bakänden genom att köra följande "
+#~ "kommando:"
+
+#~ msgid "sudo /etc/init.d/mythtv-backend start"
+#~ msgstr "sudo /etc/init.d/mythtv-backend start"
+
+#~ msgid ""
+#~ "You must run mythtv-setup as a user in the 'mythtv' group in order to "
+#~ "complete mythtv configuration."
+#~ msgstr ""
+#~ "Du måste köra mythtv-setup som en användare i gruppen \"mythtv\" för att "
+#~ "färdigställa konfigurationen av MythTV."
+
+#~ msgid ""
+#~ "If you are not in the mythtv group when launching setup, you will be "
+#~ "given  the opportunity to be automatically added."
+#~ msgstr ""
+#~ "Om du inte är medlem av gruppen mythtv när konfigurationen startas kommer "
+#~ "du att få möjligheten att läggas till automatiskt."
+
+#~ msgid "The Ubuntu MythTV packages generate a random MySQL password."
+#~ msgstr "Ubuntus MythTV-paket genererar ett slumpmässigt MySQL-lösenord."
+
+#~ msgid ""
+#~ "The generated password for this machine is '${password}'.  If you are "
+#~ "adding this machine to an existing mythtv-network, you will want to "
+#~ "update this password to the one in use by the network after completing "
+#~ "installation."
+#~ msgstr ""
+#~ "Det genererade lösenordet för den här maskinen är \"${password}\".  Om du "
+#~ "lägger till den här maskinen till ett befintligt mythtv-network vill du "
+#~ "kanske uppdatera det här lösenordet till det som används av nätverket "
+#~ "efter att konfigurationen är färdig."
+
+#~ msgid "This can be done by: 'sudo dpkg-reconfigure mythtv-common'."
+#~ msgstr ""
+#~ "Det här kan göras genom att köra \"sudo dpkg-reconfigure mythtv-common\"."
+
+#~ msgid ""
+#~ "In case you forget this password, it is also stored in '/etc/mythtv/mysql."
+#~ "txt'."
+#~ msgstr ""
+#~ "Om du råkar glömma lösenordet så finns det även lagrat i \"/etc/mythtv/"
+#~ "mysql.txt\"."
+
+#~ msgid "tv_grab_de, tv_grab_na, tv_grab_sn, tv_grab_uk, tv_grab_uk_rt"
+#~ msgstr ""
+#~ "tv_grab_de, tv_grab_na, tv_grab_se_swedb, tv_grab_sn, tv_grab_uk, "
+#~ "tv_grab_uk_rt"
+
+#~ msgid "Which XMLTV grabber should be used to retrieve program listings:"
+#~ msgstr "Vilken XMLTV-fångare ska användas för att hämta programtablåer:"
+
+#~ msgid ""
+#~ " - tv_grab_na retrieves listings for North America (US and Canada)\n"
+#~ " - tv_grab_de retrieves listings for Germany and Austria\n"
+#~ " - tv_grab_sn retrieves listings for Sweden or Norway\n"
+#~ " - tv_grab_uk retrieves listings for the United Kingdom\n"
+#~ " - tv_grab_uk_rt retrieves listings for the United Kingdom (alternate)"
+#~ msgstr ""
+#~ " - tv_grab_na hämtar tablåer för Nordamerika (USA och Kanada)\n"
+#~ " - tv_grab_de hämtar tablåer för Tyskland och Österrika\n"
+#~ " - tv_grab_sn hämtar tablåer för Sverige och Norge\n"
+#~ " - tv_grab_uk hämtar tablåer för Storbritannien\n"
+#~ " - tv_grab_uk_rt hämtar tablåer för Storbritannien (alternativ)"
+
+#~ msgid "Which television standard should be used by MythTV:"
+#~ msgstr "Vilken tv-standard ska användas av MythTV:"
+
+#~ msgid "Which channel frequency table should be used by MythTV:"
+#~ msgstr "Vilken kanalfrekvenstabell ska användas av MythTV:"
+
+#~ msgid "WARNING: old MythTV binaries found"
+#~ msgstr "VARNING: gamla MythTV-binärer hittades"
+
+#~ msgid ""
+#~ "It appears that you have installed mythtv from source previously, and "
+#~ "some files remain from the previous installation, including at least:"
+#~ msgstr ""
+#~ "Det verkar som om du tidigare har installerat mythtv från källkod och "
+#~ "några filer finns kvar från den tidigare installationen, bland annat "
+#~ "dessa:"
+
+#~ msgid "${files}"
+#~ msgstr "${files}"
+
+#~ msgid ""
+#~ "Installation of these packages should succeed, but you MUST remove these "
+#~ "files in order for the packaged version of MythTV to work properly."
+#~ msgstr ""
+#~ "Installationen av dessa paket bör fungera men du MÅSTE ta bort dessa "
+#~ "filer för att den paketerade versionen av MythTV ska fungera korrekt."
+
+#~ msgid "Is it OK to create the video4linux device nodes?"
+#~ msgstr "Är det OK att skapa video4linux-enhetsnoder?"

=== added file 'debian/po/templates.pot'
--- debian/po/templates.pot	1970-01-01 00:00:00 +0000
+++ debian/po/templates.pot	2010-05-26 16:08:33 +0000
@@ -0,0 +1,140 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: mythtv@xxxxxxxxxxxxxxxxxxx\n"
+"POT-Creation-Date: 2010-03-24 22:35-05