From ec21b77ef007d33e3634a92f6453343d5a2502ec Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 9 May 2016 21:50:09 +0000
Subject: mythdb-initial: associate demo tuner and demo_video_source for .28

---
 abs/core/mythdb-initial/PKGBUILD   | 4 ++--
 abs/core/mythdb-initial/custom.sql | 7 ++-----
 2 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/abs/core/mythdb-initial/PKGBUILD b/abs/core/mythdb-initial/PKGBUILD
index 295817e..1e6dbc9 100755
--- a/abs/core/mythdb-initial/PKGBUILD
+++ b/abs/core/mythdb-initial/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythdb-initial
 pkgver=8.4
-pkgrel=2
+pkgrel=3
 pkgdesc="setup the initial mythtv database for linhes"
 url=""
 license=()
@@ -22,4 +22,4 @@ package() {
 
 md5sums=('5f3492d396142d394c095749363fd03d'
          'ad0e57ac5e7c3677808a670e16634bba'
-         '053b50dd703f01f76dd069c3efa69517')
+         'f57a97ca3ad0d22aafc8a2b6b34ae1c2')
diff --git a/abs/core/mythdb-initial/custom.sql b/abs/core/mythdb-initial/custom.sql
index e529110..a77f678 100644
--- a/abs/core/mythdb-initial/custom.sql
+++ b/abs/core/mythdb-initial/custom.sql
@@ -177,11 +177,8 @@ INSERT INTO `settings` (`value`, `data`, `hostname`) VALUES
 ('HOSTdatafstype',  'xfs'  ,   'apheleia');
 
 -- Add a dummy tuner so BE will at least start
-INSERT INTO `capturecard` (`videodevice`,`cardtype`,`defaultinput`,`hostname`) VALUES
-('file://tmp/demo.mpg' , 'DEMO', 'Television', 'apheleia');
+INSERT INTO `capturecard` (`videodevice`,`cardtype`,`defaultinput`,`hostname`,`sourceid`) VALUES
+('file://tmp/demo.mpg' , 'DEMO', 'Television', 'apheleia', '1');
 
 INSERT INTO `videosource` (`name`, `xmltvgrabber`) VALUES
 ('DEMO_VIDEO_SOURCE' , '/bin/true');
-
-INSERT INTO  `cardinput` (`cardid`,`sourceid`,`inputname`) VALUES
-('1','1','MPEG2TS');
-- 
cgit v0.12