summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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