summaryrefslogtreecommitdiff
path: root/src/rhlibrary
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2016-01-28 23:23:37 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2016-01-28 23:23:37 (GMT)
commit1560cd11ccfaa31885ea0845aaf6e55985ec3915 (patch)
tree5294cef394638103aca481ff6328d9268d8a702c /src/rhlibrary
parent4cd1dceb9888dfe03bf397d0d90ac48c7c47ed1f (diff)
disable rddb init for now
Diffstat (limited to 'src/rhlibrary')
-rw-r--r--src/rhlibrary/main.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/rhlibrary/main.go b/src/rhlibrary/main.go
index 8bfbeab..1f5fefd 100644
--- a/src/rhlibrary/main.go
+++ b/src/rhlibrary/main.go
@@ -32,7 +32,7 @@ import (
"os"
"code.helsinki.at/rhrd-go/player"
- "code.helsinki.at/rhrd-go/rddb"
+ // "code.helsinki.at/rhrd-go/rddb"
"github.com/gotk3/gotk3/gtk"
)
@@ -79,12 +79,12 @@ func main() {
gtk.Init(nil)
- db, err := rddb.NewDB(rdconf.Get().(string))
- if err != nil {
- rhl.Println("Error initializing Rivdenll DB:", err)
- return
- }
- defer db.Cleanup()
+ // db, err := rddb.NewDB(rdconf.Get().(string))
+ // if err != nil {
+ // rhl.Println("Error initializing Rivdenll DB:", err)
+ // return
+ // }
+ // defer db.Cleanup()
p, err := player.NewPlayer("/home/equinox/helsinki/rivenhell/contrib/rhlibrary/snd", rhl, rhdl)
if err != nil {