From 013bc1926a5b55cae4ba45b987bf1dcf2f77ccce Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 7 Jan 2013 14:44:55 -0600
Subject: mythdb-initial: removed all /myth based storage groups.  brfransen
 reported that sometimes watch recordings would not open when /myth  was
 listed a SG. The theory is that since  /myth and /data/storage  both point to
 the same place the SG code got confused. I could not replicate the problem,
 but removing /myth from SG shouldn't cause any issues.  It will only cause
 extra work for those that had /myth mounted as an external drive on a R7
 instance and want to keep it located at /myth in R8.

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

diff --git a/abs/core/mythdb-initial/PKGBUILD b/abs/core/mythdb-initial/PKGBUILD
index 284c88b..320ae30 100755
--- a/abs/core/mythdb-initial/PKGBUILD
+++ b/abs/core/mythdb-initial/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=mythdb-initial
 pkgver=2
-pkgrel=46
+pkgrel=47
 pkgdesc="setup the initial mythtv database for linhes"
 url=""
 license=""
@@ -21,4 +21,4 @@ build() {
 }
 md5sums=('9dcf8c574e69fde6b1b2fa1eed95ded4'
          'ad0e57ac5e7c3677808a670e16634bba'
-         '933e5a0e0c118baf804f31b652c7c6a6')
+         '993fe1bff5df6005d06bd6fbdf3e6ce1')
diff --git a/abs/core/mythdb-initial/custom.sql b/abs/core/mythdb-initial/custom.sql
index 0f66b99..6cc9663 100644
--- a/abs/core/mythdb-initial/custom.sql
+++ b/abs/core/mythdb-initial/custom.sql
@@ -85,17 +85,17 @@ INSERT INTO `settings` (`value`, `data`, `hostname`) VALUES
 */
 
 
-
+-- /myth based storage groups are obsolete, add_storage.py will create the ones it needs.
 INSERT INTO `storagegroup` (`groupname`, `hostname`, `dirname`) VALUES
- ('Default'     ,'apheleia'    ,'/myth/tv/'),
- ('LiveTV'      ,'apheleia'    ,'/myth/tv/live/'),
- ('Screenshots' ,'apheleia'    ,'/myth/video_stuff/screenshots/'),
- ('Videos'      ,'apheleia'    ,'/myth/video/'),
- ('Coverart'    ,'apheleia'    ,'/myth/video_stuff/coverart/'),
- ('Banners'     ,'apheleia'    ,'/myth/video_stuff/banners/'),
- ('Fanart'      ,'apheleia'    ,'/myth/video_stuff/fanart/'),
- ('Trailers'    ,'apheleia'    ,'/myth/video_stuff/trailers/'),
- ('Streaming'   ,'apheleia'    ,'/myth/streaming'),
+--  ('Default'     ,'apheleia'    ,'/myth/tv/'),
+--  ('LiveTV'      ,'apheleia'    ,'/myth/tv/live/'),
+--  ('Screenshots' ,'apheleia'    ,'/myth/video_stuff/screenshots/'),
+--  ('Videos'      ,'apheleia'    ,'/myth/video/'),
+--  ('Coverart'    ,'apheleia'    ,'/myth/video_stuff/coverart/'),
+--  ('Banners'     ,'apheleia'    ,'/myth/video_stuff/banners/'),
+--  ('Fanart'      ,'apheleia'    ,'/myth/video_stuff/fanart/'),
+--  ('Trailers'    ,'apheleia'    ,'/myth/video_stuff/trailers/'),
+--  ('Streaming'   ,'apheleia'    ,'/myth/streaming'),
  ('DB Backups'  ,'apheleia'    ,'/data/storage/disk0/backup/mythtv_backups');
 
 
-- 
cgit v0.12