summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-12-17 03:04:36 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-12-17 03:04:36 (GMT)
commitbacdc106a584dc5034830e96fe67d132a72a127b (patch)
treeaf5ca99c5eaefaaa49add280295eaa226525d874
parent124b92e7fe83c7f436807711bef22cdf3af6816e (diff)
finalizing
-rw-r--r--src/rhlibrary/main.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rhlibrary/main.go b/src/rhlibrary/main.go
index 1f6900d..1285dd3 100644
--- a/src/rhlibrary/main.go
+++ b/src/rhlibrary/main.go
@@ -44,9 +44,9 @@ var (
)
func init() {
- // if _, exists := os.LookupEnv("RHLIBRARY_DEBUG"); exists {
- rhdl.SetOutput(os.Stderr)
- // }
+ if _, exists := os.LookupEnv("RHLIBRARY_DEBUG"); exists {
+ rhdl.SetOutput(os.Stderr)
+ }
var err error
if rhuser, err = user.Current(); err != nil {
@@ -93,7 +93,7 @@ func main() {
}
defer db.Cleanup()
- p, err := player.NewPlayer("/home/equinox/helsinki/rivenhell/contrib/rhlibrary/snd", rhl, rhdl)
+ p, err := player.NewPlayer("/var/snd", rhl, rhdl)
if err != nil {
rhl.Println("Error initializing Player:", err)
return