From cd13d928c8c2108c4fc6025ac617562bb8d3f9f6 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 24 Mar 2021 14:13:48 +0000
Subject: [PATCH] Doku ergaenzt

---
 src/de/uhilger/avdirektor/handler/PlayHandler.java |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/de/uhilger/avdirektor/handler/PlayHandler.java b/src/de/uhilger/avdirektor/handler/PlayHandler.java
index 3a8db5d..0ff501d 100644
--- a/src/de/uhilger/avdirektor/handler/PlayHandler.java
+++ b/src/de/uhilger/avdirektor/handler/PlayHandler.java
@@ -1,10 +1,6 @@
 package de.uhilger.avdirektor.handler;
 
 import com.sun.net.httpserver.HttpExchange;
-import com.sun.net.httpserver.HttpHandler;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.util.Map;
 import java.util.logging.Level;
 import java.util.logging.Logger;
 
@@ -38,7 +34,7 @@
 
   @Override
   protected String process(HttpExchange t, String params) {
-    String antwort = abspielenMitParameternUndRueckmeldung( 
+    String antwort = abspielen( 
             getParam(map, "titel"), params, getParam(map, "r"), "1");    
     logger.log(Level.FINE, antwort);
     return antwort;
@@ -46,7 +42,7 @@
 
   protected StringBuilder buildParams(HttpExchange t) {
     StringBuilder params = super.buildParams(t);
-    params.append("-o ");
+    params.append("-b -o ");
     params.append(getParam(map, "o"));
     params.append(" --threshold ");
     params.append(getParam(map, "th"));

--
Gitblit v1.9.3