Commit f6c44786 authored by Markus Seidl's avatar Markus Seidl

More debug output.

parent 05698b7c
......@@ -32,7 +32,7 @@ func DisplayLoop(db *simpledb.Database) {
execute(curvid)
}
curvid = db.Next(curvid)
curvid = db.Rnd() //db.Next(curvid)
}
}()
......@@ -42,6 +42,7 @@ func DisplayLoop(db *simpledb.Database) {
}
func execute(file string) {
log.Printf("Playing <%s>\n", file)
mplayer.PlayAndWait(file)
}
......
......@@ -53,6 +53,7 @@ func readOutput(reader io.Reader) {
if hasStopSignalListeners && msg == "ANS_path=(null)" {
stoppedCh <- true
}
log.Printf("MPlayer said <%s>\n", msg)
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment