Added CDDB sample.
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 27 Feb 2001 09:50:18 +0000 (09:50 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 27 Feb 2001 09:50:18 +0000 (09:50 +0000)
test/cddb/b00b520d [new file with mode: 0644]
test/cddb/cddb.abs [new file with mode: 0644]
test/cddb/cddb.flt [new file with mode: 0644]
test/cddb/cddb.tag [new file with mode: 0644]
test/cddb/zebra.cfg [new file with mode: 0644]

diff --git a/test/cddb/b00b520d b/test/cddb/b00b520d
new file mode 100644 (file)
index 0000000..4833184
--- /dev/null
@@ -0,0 +1,53 @@
+# xmcd CD database file generated by Grip 2.91
+# 
+# Track frame offsets:
+#       150
+#       20930
+#       35302
+#       56250
+#       75127
+#       89017
+#       108410
+#       122402
+#       136712
+#       149425
+#       171437
+#       193037
+#       205450
+# 
+# Disc length: 2900 seconds
+# 
+# Revision: 3
+# Processed by: cddbd v1.4b39PL1 Copyright (c) 1996-1997 Steve Scherf
+# Submitted via: Grip 2.91
+# 
+DISCID=b00b520d
+DTITLE=Disappear Fear / Live At The Bottom Line
+TTITLE0=Sink The Censorship
+TTITLE1=16 Roses
+TTITLE2=Love Isn't Dead
+TTITLE3=Postcard From Texas
+TTITLE4=Love Insurance
+TTITLE5=Box Of Tissues
+TTITLE6=Sexual Telepathy
+TTITLE7=One More Chance
+TTITLE8=Red Heaven
+TTITLE9=Sink The Censorship (2)
+TTITLE10=Box Of Tissues (2)
+TTITLE11=Damn Crazy
+TTITLE12=Long Long Way To Go
+EXTD=
+EXTT0=
+EXTT1=
+EXTT2=
+EXTT3=
+EXTT4=
+EXTT5=
+EXTT6=
+EXTT7=
+EXTT8=
+EXTT9=
+EXTT10=
+EXTT11=
+EXTT12=
+PLAYORDER=
diff --git a/test/cddb/cddb.abs b/test/cddb/cddb.abs
new file mode 100644 (file)
index 0000000..530ce9b
--- /dev/null
@@ -0,0 +1,34 @@
+# $Id: cddb.abs,v 1.1 2001-02-27 09:50:18 adam Exp $
+
+name meta
+attset bib1.att
+tagset cddb.tag
+varset var1.var
+
+esetname F @
+esetname B meta-b.est
+
+maptab meta-usmarc.map
+
+elm (2,1)              title                   Title:w,Title:p
+elm (2,2)              creator                 Author:w,Author:p
+elm (2,21)             subject                 Subject-heading
+elm (2,17)             description             -
+elm (2,31)             publisher               Publisher
+elm (2,32)             contributor             -
+elm (2,4)              date                    Date
+elm (2,22)             type                    Content-type
+elm (2,27)             format                  Material-type
+elm (2,28)             identifier              -
+elm (2,33)             source                  -
+elm (2,20)             language                Code-language
+elm (2,30)             relation                -
+elm (2,34)             coverage                -
+elm (2,29)             rights                  -
+
+# These tags are required by Zebra for GRS-1 generation
+elm (1,10)             rank                    -
+elm (1,14)             localControlNumber      Local-number
+
+elm (4,100)            track                   -
+elm (4,100)/(2,1)      tracktitle              -
diff --git a/test/cddb/cddb.flt b/test/cddb/cddb.flt
new file mode 100644 (file)
index 0000000..c617cc9
--- /dev/null
@@ -0,0 +1,10 @@
+BEGIN                  { begin record cddb }
+/^DISCID=/ BODY /$/    { data -element identifier $1 }
+/^DTITLE=/ BODY /$/    { data -element title $1 }
+/^TTITLE[0-9]+=/ BODY /$/ {
+                               begin element track
+                               data -element title $1
+                               end element
+                       }
+       
+
diff --git a/test/cddb/cddb.tag b/test/cddb/cddb.tag
new file mode 100644 (file)
index 0000000..00bb402
--- /dev/null
@@ -0,0 +1,5 @@
+name cddb
+type 4
+include meta.tag
+
+tag    100     track           string
diff --git a/test/cddb/zebra.cfg b/test/cddb/zebra.cfg
new file mode 100644 (file)
index 0000000..0cb190a
--- /dev/null
@@ -0,0 +1,16 @@
+# Simple Zebra configuration file
+# $Id: zebra.cfg,v 1.1 2001-02-27 09:50:18 adam Exp $
+#
+# Where the schema files, attribute files, etc are located.
+profilePath: .:../../tab:../../../yaz/tab
+
+# Files that describe the attribute sets supported.
+attset: bib1.att
+attset: gils.att
+attset: explain.att
+
+recordtype: grs.regx.cddb
+
+storekeys: 1
+storedata: 1
+#recordId: (bib1,identifier-standard)