From b6a8f02169ecea91936e81c297e8ce0f1b2f107b Mon Sep 17 00:00:00 2001 From: ulrich Date: Tue, 23 Mar 2021 16:35:55 +0000 Subject: [PATCH] ... --- 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